Blender Git Commit Log

Git Commits -> Revision 49df707

Revision 49df707 by Thomas Dinges (master)
June 13, 2014, 19:59 (GMT)
Cycles: Calculate face normal on the fly.

Instead of pre-calculation 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.

Part of my GSoC 2014.

Commit Details:

Full Hash: 49df707496e505c8a8b21c1ea36b479e950cc66c
Parent Commit: cd5e1ff
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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021