Blender Git Commit Log
Git Commits -> Revision 6d62837
Revision 6d62837 by Thomas Dinges (soc-2014-cycles) May 12, 2014, 10:29 (GMT) |
Cycles: Calculate face normal on the fly. Instead of precalculation and storage, we now calculate the face normal during render. This gives a small slowdown (~1%) but decreases memory usage, which is especially important for GPUs, where you have limited VRAM. Maybe this can be made a bit faster still, I am investigating this. |
Commit Details:
Full Hash: 6d62837e5bb2cb156f95bf0de16b92777f8a13c0
Parent Commit: 146a1c7
Lines Changed: +37, -37
8 Modified Paths:
/intern/cycles/kernel/geom/geom_bvh_shadow.h (+1, -2) (Diff)
/intern/cycles/kernel/geom/geom_motion_triangle.h (+1, -2) (Diff)
/intern/cycles/kernel/geom/geom_triangle.h (+19, -3) (Diff)
/intern/cycles/kernel/kernel_shader.h (+5, -8) (Diff)
/intern/cycles/kernel/kernel_textures.h (+1, -1) (Diff)
/intern/cycles/render/mesh.cpp (+8, -19) (Diff)
/intern/cycles/render/mesh.h (+1, -1) (Diff)
/intern/cycles/render/scene.h (+1, -1) (Diff)
/intern/cycles/kernel/geom/geom_motion_triangle.h (+1, -2) (Diff)
/intern/cycles/kernel/geom/geom_triangle.h (+19, -3) (Diff)
/intern/cycles/kernel/kernel_shader.h (+5, -8) (Diff)
/intern/cycles/kernel/kernel_textures.h (+1, -1) (Diff)
/intern/cycles/render/mesh.cpp (+8, -19) (Diff)
/intern/cycles/render/mesh.h (+1, -1) (Diff)
/intern/cycles/render/scene.h (+1, -1) (Diff)