Blender Git Commit Log
Git Commits -> Revision 3c8ab55
Revision 3c8ab55 by Dalai Felinto (master) December 16, 2011, 18:15 (GMT) |
Normal Node - Cycles reviewed by Brecht, with help from Lukas. Note: dot is reversed compared to Blender. In Blender Normals point outside, while in Cycles they point inside. If you use your own custom vector with the Normal Node you will see a difference. If you feed it with object normals it should work just as good. |
Commit Details:
Full Hash: 3c8ab559a5bd31fd38e9c5cf9da8505ca28f4887
SVN Revision: 42669
Parent Commit: ce8f64d
Lines Changed: +137, -3
2 Added Paths:
/intern/cycles/kernel/osl/nodes/node_normal.osl (+31, -0) (View)
/intern/cycles/kernel/svm/svm_normal.h (+41, -0) (View)
/intern/cycles/kernel/svm/svm_normal.h (+41, -0) (View)
9 Modified Paths:
/intern/cycles/app/cycles_xml.cpp (+3, -0) (Diff)
/intern/cycles/blender/blender_shader.cpp (+11, -1) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/osl/nodes/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/svm/svm.h (+4, -0) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+2, -1) (Diff)
/intern/cycles/render/nodes.cpp (+35, -0) (Diff)
/intern/cycles/render/nodes.h (+7, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_normal.c (+1, -1) (Diff)
/intern/cycles/blender/blender_shader.cpp (+11, -1) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/osl/nodes/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/svm/svm.h (+4, -0) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+2, -1) (Diff)
/intern/cycles/render/nodes.cpp (+35, -0) (Diff)
/intern/cycles/render/nodes.h (+7, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_normal.c (+1, -1) (Diff)