Blender Git Commit Log

Git Commits -> Revision 25f33e0

Revision 25f33e0 by Sergey Sharybin (master)
February 5, 2015, 11:10 (GMT)
Fix T43562: Cycles gets stuck with camera in volume in certain setup

The issue was caused by the way how we shoot the ray to see which rays we're
inside which might start bouncing back-n-forth between two close to parallel
intersecting faces.

Real solution would be to record all the intersections when shooting the ray,
but it's kinda tricky on GPU because of needed sorting and uncertainty of
how huge intersection array should be.

For now we'll just limit number of steps in the check so in worst case we'll
have some samples not being correct which will be compensated with further
sampling. Shouldn't be an issue since probability of such a lock is quite
small actually.

Commit Details:

Full Hash: 25f33e058a7b57d4f5964609b29b3f0834b3e6b6
Parent Commit: 0527fc5
Lines Changed: +8, -3

2 Modified Paths:

/intern/cycles/kernel/kernel_path.h (+4, -2) (Diff)
/intern/cycles/kernel/kernel_volume.h (+4, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021