Blender Git Loki

Git Commits -> Revision 3306afa

Revision 3306afa by Stuart Broadfoot (master)
September 15, 2013, 23:58 (GMT)
Cycles Hair: Two basic bair shaders added

A new hair bsdf node, with two closure options, is added. These closures allow the generation of the reflective and transmission components of hair. The node allows control of the highlight colour, roughness and angular shift.

Llimitations include:
-No glint or fresnel adjustments.
-The 'offset' is un-used when triangle primitives are used.

Commit Details:

Full Hash: 3306afac876b545d85b121ea1bc7539d5c759d94
SVN Revision: 60151
Parent Commit: 0e46f1b
Lines Changed: +620, -4

3 Added Paths:

/intern/cycles/kernel/closure/bsdf_hair.h (+279, -0) (View)
/intern/cycles/kernel/shaders/node_hair_bsdf.osl (+56, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_bsdf_hair.c (+65, -0) (View)

23 Modified Paths:

/intern/cycles/blender/blender_shader.cpp (+13, -0) (Diff)
/intern/cycles/kernel/closure/bsdf.h (+25, -0) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/kernel_shader.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_types.h (+5, -1) (Diff)
/intern/cycles/kernel/osl/osl_closures.cpp (+32, -0) (Diff)
/intern/cycles/kernel/osl/osl_shader.cpp (+4, -0) (Diff)
/intern/cycles/kernel/shaders/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/shaders/stdosl.h (+3, -0) (Diff)
/intern/cycles/kernel/svm/svm_closure.h (+40, -0) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+6, -2) (Diff)
/intern/cycles/render/nodes.cpp (+40, -0) (Diff)
/intern/cycles/render/nodes.h (+9, -0) (Diff)
/release/scripts/startup/nodeitems_builtins.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_node.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/node.c (+1, -0) (Diff)
/source/blender/editors/space_node/drawnode.c (+8, -0) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+5, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+17, -0) (Diff)
/source/blender/nodes/CMakeLists.txt (+1, -0) (Diff)
/source/blender/nodes/NOD_shader.h (+1, -0) (Diff)
/source/blender/nodes/NOD_static_types.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021