Blender Git Commit Log

Git Commits -> Revision 939fa67

Revision 939fa67 by Sergey Sharybin (master)
October 6, 2014, 10:36 (GMT)
Cycles: Fix for camera-in-volume detection

Ray actually should have infinite length, so we can detect camera in a volume
which is bigger that the far clipping of the camera.

This might also give some speedup (wouldn't expect much tho) because we don't
need to re-calculate ray direction and length after every bounce now.

Commit Details:

Full Hash: 939fa6759c5d6e72fa4ef8c9d10075488f4d7666
Parent Commit: 233de80
Lines Changed: +2, -9

1 Modified Path:

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