Blender Git Commit Log
Git Commits -> Revision f0a9b66
Revision f0a9b66 by Brecht Van Lommel (master) October 10, 2012, 13:02 (GMT) |
Cycles: Anisotropic BSDF enabled, with tangents now computed from the active UV map. It's using the Ward BSDF currently, which has some energy loss so might be a bit dark. More/better BSDF options can be implemented later. Patch by Mike Farnsworth, some modifications by me. Currently it's not possible yet to set a custom tangent, that will follow as part of per-bsdf normals patch. |
Commit Details:
Full Hash: f0a9b664694dacb0388a8e078d46753dc6a36352
SVN Revision: 51258
Parent Commit: b4671d6
Lines Changed: +198, -18
21 Modified Paths:
/intern/cycles/blender/blender_mesh.cpp (+83, -0) (Diff)
/intern/cycles/blender/blender_shader.cpp (+4, -0) (Diff)
/intern/cycles/kernel/kernel_montecarlo.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_shader.h (+5, -0) (Diff)
/intern/cycles/kernel/kernel_types.h (+3, -0) (Diff)
/intern/cycles/kernel/svm/bsdf_ward.h (+3, -2) (Diff)
/intern/cycles/kernel/svm/svm.h (+11, -3) (Diff)
/intern/cycles/kernel/svm/svm_closure.h (+20, -1) (Diff)
/intern/cycles/kernel/svm/svm_geometry.h (+17, -8) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+3, -1) (Diff)
/intern/cycles/render/attribute.cpp (+2, -0) (Diff)
/intern/cycles/render/graph.cpp (+6, -0) (Diff)
/intern/cycles/render/graph.h (+1, -0) (Diff)
/intern/cycles/render/nodes.cpp (+31, -0) (Diff)
/intern/cycles/render/nodes.h (+2, -0) (Diff)
/intern/cycles/util/util_types.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/node.c (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree_types.h (+1, -0) (Diff)
/source/blender/nodes/CMakeLists.txt (+1, -1) (Diff)
/source/blender/nodes/NOD_shader.h (+1, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_anisotropic.c (+1, -1) (Diff)
/intern/cycles/blender/blender_shader.cpp (+4, -0) (Diff)
/intern/cycles/kernel/kernel_montecarlo.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_shader.h (+5, -0) (Diff)
/intern/cycles/kernel/kernel_types.h (+3, -0) (Diff)
/intern/cycles/kernel/svm/bsdf_ward.h (+3, -2) (Diff)
/intern/cycles/kernel/svm/svm.h (+11, -3) (Diff)
/intern/cycles/kernel/svm/svm_closure.h (+20, -1) (Diff)
/intern/cycles/kernel/svm/svm_geometry.h (+17, -8) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+3, -1) (Diff)
/intern/cycles/render/attribute.cpp (+2, -0) (Diff)
/intern/cycles/render/graph.cpp (+6, -0) (Diff)
/intern/cycles/render/graph.h (+1, -0) (Diff)
/intern/cycles/render/nodes.cpp (+31, -0) (Diff)
/intern/cycles/render/nodes.h (+2, -0) (Diff)
/intern/cycles/util/util_types.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/node.c (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree_types.h (+1, -0) (Diff)
/source/blender/nodes/CMakeLists.txt (+1, -1) (Diff)
/source/blender/nodes/NOD_shader.h (+1, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_anisotropic.c (+1, -1) (Diff)