Page 1 of 1

Artifacts running GPU

Posted: Sat Nov 03, 2018 4:03 pm
by stefdln
Hey everyone
I was just fiddling around showing stuff to someone and I noticed I'm getting really bad artifacts on that cylinder when running GPU mode. As you can see this does not show up when rendering with CPU only.
This is kind of annoying, is this a known terminator related issue ?
Thanks in advance
Cheers

Re: Artifacts running GPU

Posted: Sat Nov 03, 2018 4:07 pm
by B.Y.O.B.
Your scene might be very large or very small, or the object has some huge scale that was not applied.
The fastest way to solve this problem is to raise the min.epsilon value in the scene settings (press the "Advanced LuxCore Settings" button in the unit settings to see this option).

Re: Artifacts running GPU

Posted: Sat Nov 03, 2018 4:19 pm
by stefdln
0.0001 did not do the trick but 0.001 worked like a charm, thanks
Aso, I did not find anything about this setting on the wiki page, what's it for exactly ? How does it affect my render ?

Re: Artifacts running GPU

Posted: Sat Nov 03, 2018 7:33 pm
by B.Y.O.B.
The problem is caused by the low precision of floating point numbers.
The min. epsilon is a small value that is added in some places to avoid this issue. For example, it is added to rays to offset them a bit from the hit surface, to avoid wrong self-shadowing.
See also viewtopic.php?f=2&t=560&hilit=epsilon&start=10#p5517

Re: Artifacts running GPU

Posted: Sun Nov 04, 2018 8:23 am
by lacilaci
Well it still remains a question why it is acting differently on cpu than on gpu and if something can be done about it. I've seen changing min. epsilon value impacting volume rendering a lot and it took me quite a bit of time to figure out what's going on.

Re: Artifacts running GPU

Posted: Sun Nov 04, 2018 1:26 pm
by stefdln
B.Y.O.B. wrote: Sat Nov 03, 2018 7:33 pm The problem is caused by the low precision of floating point numbers.
The min. epsilon is a small value that is added in some places to avoid this issue. For example, it is added to rays to offset them a bit from the hit surface, to avoid wrong self-shadowing.
See also viewtopic.php?f=2&t=560&hilit=epsilon&start=10#p5517
thanks for your explanation