diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-10-06 14:31:31 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-10-06 14:36:46 +0400 |
commit | 939fa6759c5d6e72fa4ef8c9d10075488f4d7666 (patch) | |
tree | 2ca9599a0b3a42d6de6097c885ab17e47c57ea59 /source/blender/editors/render/render_preview.c | |
parent | 233de800e2db25ea4927e3734b66427ea43ee5c3 (diff) |
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.
Diffstat (limited to 'source/blender/editors/render/render_preview.c')
0 files changed, 0 insertions, 0 deletions