Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Daniele_G_
Beginner
71 Views

sunlight and glass material

Hello everybody,
I'm trying the last embree examples with sphere_glass.xml test scene. I just replaced the HDRILight with DISTANTLIGHT as follow:
<DistantLight>
<AffineSpace>
    0   0   -0.000000   0
    0   0   -0.777146   0
    0   0   -0.629320   0
</AffineSpace>
<L>350.000000 350.000000 350.000000</L>
<halfAngle>2.000000</halfAngle>
</DistantLight>

I this case, and every times I render a scene with glass objects and sunlight, lots of white dots appears and the scene will never be clean, as you can see in the attached. Does somebody know why and how to solve?

0 Kudos
2 Replies
SvenW_Intel
Moderator
71 Views

The Embree path tracer is quite limited and has these issues with some light transport paths. You can workaround the problem by increasing the opening angle of the distant light (larger halfAngle parameter). 

Daniele_G_
Beginner
71 Views

Dear Mr. Woop,

Thank you for your answer. I would like to tell you that I noticed that this problem was not there in the version 1.x, in which you could use the distant light with every type of angle. Just from the version 2.x and next I noticed this trouble. 

Reply