# URGENT: Artifacts on thin objects that are close to each other

**URL:** <https://forums.chaos.com/t/urgent-artifacts-on-thin-objects-that-are-close-to-each-other/82989>\
**Category:** Issues\
**Created:** [May 24, 2017, 2:12pm UTC](https://forums.chaos.com/t/urgent-artifacts-on-thin-objects-that-are-close-to-each-other/82989 "2017-05-24T14:12:19Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex\_M](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@Alex\_M](https://forums.chaos.com/u/Alex_M)\
**Post date:** [May 24, 2017, 2:12pm UTC](https://forums.chaos.com/t/urgent-artifacts-on-thin-objects-that-are-close-to-each-other/82989/1 "2017-05-24T14:12:19Z")

</div>

RT CUDA produces artifacts on the surfaces of objects that are too close to each other. If I space them out a bit the artifacts go away. I checked and the objects are not overlapping. There’s a space between them even though small.

It happens both with the official 3.50.04 version and the nightly from my signature. I think it comes from the camera and more specifically the focal length parameter. If I set the focal length to around or over 80 I can see the artifacts and if I set it to around 30-40 they go away. However I can’t really lower the focal length since there’s a specific requirement for the shots to have less perspective. I tried adding thickness to the objects but that didn’t work.

Please let me know if there’s a fix or a workaround for this. Any help is appreciated. It’s a bit urgent since there are hundreds of 10k shots to be rendered very shortly. I bought 1080 ti mainly for the purpose of utilizing the fast GPU rendering on this particular job but if there isn’t a workaround or a fix I’ll have to use our CPUs which are 2-3 times slower than the GPUs we have at our disposal. ☹

I can send the scene for a test if necessary, let me know. And here’s a screenshot that illustrates the problem. In the bottom one you can see that there are no artifacts when the object is spaced out more:

 ![RT_CUDA_Artifacts.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/5/d/5d74d30de40006790a54b94097c8284ca708af29.jpeg)

---

<div class="post-metadata">

**Author:** ![matanov](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/matanov/32/21656_2.png) [@matanov](https://forums.chaos.com/u/matanov)\
**Post date:** [May 29, 2017, 2:19pm UTC](https://forums.chaos.com/t/urgent-artifacts-on-thin-objects-that-are-close-to-each-other/82989/2 "2017-05-29T14:19:21Z")

</div>

Try playing with the **Secondary rays bias** in Global switches.

---

<div class="post-metadata">

**Author:** ![Alex\_M](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@Alex\_M](https://forums.chaos.com/u/Alex_M)\
**Post date:** [May 29, 2017, 3:21pm UTC](https://forums.chaos.com/t/urgent-artifacts-on-thin-objects-that-are-close-to-each-other/82989/3 "2017-05-29T15:21:27Z")

</div>

Hm.. Doesn’t seem to do anything. It was originally 0.0. I tried 0.001, 0.01 and 0.05 but it looked the same. Is there any specific value that would work?

---

<div class="post-metadata">

**Author:** ![goyko](https://avatars.discourse-cdn.com/v4/letter/g/d6d6ee/32.png) [@goyko](https://forums.chaos.com/u/goyko)\
**Post date:** [May 29, 2017, 7:26pm UTC](https://forums.chaos.com/t/urgent-artifacts-on-thin-objects-that-are-close-to-each-other/82989/4 "2017-05-29T19:26:43Z")

</div>

Hi, you can send a simplified scene that reproduces the problem to [deyan.ivanov@chaosgroup.com](mailto:deyan.ivanov@chaosgroup.com)  
Before that, if this is in MAX, try making your scene smaller, if it is possible. For example: if the B3 plate is 100 generic units wide, scale it to 1.

---

<div class="post-metadata">

**Author:** ![Alex\_M](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@Alex\_M](https://forums.chaos.com/u/Alex_M)\
**Post date:** [May 29, 2017, 8:11pm UTC](https://forums.chaos.com/t/urgent-artifacts-on-thin-objects-that-are-close-to-each-other/82989/5 "2017-05-29T20:11:27Z")

</div>

Hi Deyan,

The scene is in real world units (cm) and most of the power distribution units are 150 x 5 x 5 cm on average. I think this shouldn’t be an issue? I just emailed you a scene for tests and troubleshooting.

---

<div class="post-metadata">

**Author:** ![goyko](https://avatars.discourse-cdn.com/v4/letter/g/d6d6ee/32.png) [@goyko](https://forums.chaos.com/u/goyko)\
**Post date:** [May 30, 2017, 5:19pm UTC](https://forums.chaos.com/t/urgent-artifacts-on-thin-objects-that-are-close-to-each-other/82989/6 "2017-05-30T17:19:05Z")

</div>

After some investigation, I consider the geometries to overlap in a weird way. I think it would be fastest if you remodel the engraved plates to be more planar, if possible. VRay Adv handles intersections with double precision floats, which obviously solves this, but is not possible in RTGPU at the moment.

---

<div class="post-metadata">

**Author:** ![Alex\_M](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@Alex\_M](https://forums.chaos.com/u/Alex_M)\
**Post date:** [May 30, 2017, 6:54pm UTC](https://forums.chaos.com/t/urgent-artifacts-on-thin-objects-that-are-close-to-each-other/82989/7 "2017-05-30T18:54:58Z")

</div>

Thanks for your email, Deyan. I really appreciate looking into this. So it seems that the CAD model has some very tiny irregularities of some sort which causes Z-fighting and because of GPU not being capable of double precision floats these artifacts appear. Unfortunately it will be nearly impossible to remodel the problematic objects due to time constraints so I just ran the renderings on Adv and so far so good! I will have this in mind for the future, especially with imported CAD data. Thanks again for your help! 🙂

---

<div class="post-metadata">

**Author:** ![Morbid\_Angel](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/morbid_angel/32/21272_2.png) [@Morbid\_Angel](https://forums.chaos.com/u/Morbid_Angel)\
**Post date:** [May 30, 2017, 7:07pm UTC](https://forums.chaos.com/t/urgent-artifacts-on-thin-objects-that-are-close-to-each-other/82989/8 "2017-05-30T19:07:16Z")

</div>

> [@Alex\_M](#):
>
> Thanks for your email, Deyan. I really appreciate looking into this. So it seems that the CAD model has some very tiny irregularities of some sort which causes Z-fighting and because of GPU not being capable of double precision floats these artifacts appear. Unfortunately it will be nearly impossible to remodel the problematic objects due to time constraints so I just ran the renderings on Adv and so far so good! I will have this in mind for the future, especially with imported CAD data. Thanks again for your help! 🙂

Just curious why its difficult to remodel that piece, or do you have multiple pieces like that? it seems quite a simple shape.

---

<div class="post-metadata">

**Author:** ![Alex\_M](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@Alex\_M](https://forums.chaos.com/u/Alex_M)\
**Post date:** [May 30, 2017, 8:42pm UTC](https://forums.chaos.com/t/urgent-artifacts-on-thin-objects-that-are-close-to-each-other/82989/9 "2017-05-30T20:42:11Z")

</div>

> [@Morbid\_Angel](#):
>
> Just curious why its difficult to remodel that piece, or do you have multiple pieces like that? it seems quite a simple shape.

From what I observed in my own tests it’s not the labels that are the problem but the housings which have intricate industrial design. The labels were remodeled in Max as splines with no thickness and then used across all models. Once I put a box under the labels instead of the original CAD housing I don’t see the artifacts. So since there are hundreds of models it’s not feasible to remodel the housings because of the time constraints.

---

<div class="post-metadata">

**Author:** ![Morbid\_Angel](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/morbid_angel/32/21272_2.png) [@Morbid\_Angel](https://forums.chaos.com/u/Morbid_Angel)\
**Post date:** [May 30, 2017, 8:46pm UTC](https://forums.chaos.com/t/urgent-artifacts-on-thin-objects-that-are-close-to-each-other/82989/10 "2017-05-30T20:46:23Z")

</div>

> [@Alex\_M](#):
>
> From what I observed in my own tests it’s not the labels that are the problem but the housings which have intricate industrial design. The labels were remodeled in Max as splines with no thickness and then used across all models. Once I put a box under the labels instead of the original CAD housing I don’t see the artifacts. So since there are hundreds of models it’s not feasible to remodel the housings because of the time constraints.

what if you put a pro optimizer on it at 100% would that make a difference?

---

<div class="post-metadata">

**Author:** ![goyko](https://avatars.discourse-cdn.com/v4/letter/g/d6d6ee/32.png) [@goyko](https://forums.chaos.com/u/goyko)\
**Post date:** [May 31, 2017, 12:25pm UTC](https://forums.chaos.com/t/urgent-artifacts-on-thin-objects-that-are-close-to-each-other/82989/11 "2017-05-31T12:25:00Z")

</div>

Quick note: after heavy investigation we have a fix for this precision issue in RT GPU. It will be available in the internal beta nightly from 01 June 2017. It will most likely be available in the upcoming V-Ray 3.6 release.  
Please try the fix if possible, hope it helps.

---

<div class="post-metadata">

**Author:** ![Alex\_M](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@Alex\_M](https://forums.chaos.com/u/Alex_M)\
**Post date:** [May 31, 2017, 4:27pm UTC](https://forums.chaos.com/t/urgent-artifacts-on-thin-objects-that-are-close-to-each-other/82989/12 "2017-05-31T16:27:13Z")

</div>

Nice, I will try it out and let you know about the results.

---

<div class="post-metadata">

**Author:** ![matanov](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/matanov/32/21656_2.png) [@matanov](https://forums.chaos.com/u/matanov)\
**Post date:** [June 2, 2017, 1:22pm UTC](https://forums.chaos.com/t/urgent-artifacts-on-thin-objects-that-are-close-to-each-other/82989/13 "2017-06-02T13:22:58Z")

</div>

Have you tried it? It’s in the latest nightly.

---

<div class="post-metadata">

**Author:** ![Alex\_M](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@Alex\_M](https://forums.chaos.com/u/Alex_M)\
**Post date:** [June 2, 2017, 3:42pm UTC](https://forums.chaos.com/t/urgent-artifacts-on-thin-objects-that-are-close-to-each-other/82989/14 "2017-06-02T15:42:31Z")

</div>

OMG, yes!!! No surface artifacts anymore! Thank you for fixing this. :o

 ![RT_CUDA_no_surface_artifacts.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/e/7/e7259dbbbebf02b945ecacac57cef581b4261858.jpeg)
