Blender Git Loki
Git Commits -> Revision 5078b9d
Revision 5078b9d by L. E. Segovia (master) July 18, 2018, 11:59 (GMT) |
Cycles: add Principled Hair BSDF. This is a physically-based, easy-to-use shader for rendering hair and fur, with controls for melanin, roughness and randomization. Based on the paper "A Practical and Controllable Hair and Fur Model for Production Path Tracing". Implemented by Leonardo E. Segovia and Lukas Stockner, part of Google Summer of Code 2018. |
Commit Details:
Full Hash: 5078b9d2d08a34ae3786100c2301ea960165e7f2
Parent Commit: 566b319
Committed By: Brecht Van Lommel
Lines Changed: +1228, -32
3 Added Paths:
/intern/cycles/kernel/closure/bsdf_hair_principled.h (+502, -0) (View)
/intern/cycles/kernel/shaders/node_principled_hair_bsdf.osl (+105, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_bsdf_hair_principled.c (+133, -0) (View)
/intern/cycles/kernel/shaders/node_principled_hair_bsdf.osl (+105, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_bsdf_hair_principled.c (+133, -0) (View)
27 Modified Paths:
/intern/cycles/blender/blender_shader.cpp (+6, -0) (Diff)
/intern/cycles/kernel/closure/bsdf.h (+14, -0) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/geom/geom_curve.h (+27, -0) (Diff)
/intern/cycles/kernel/geom/geom_curve_intersect.h (+0, -25) (Diff)
/intern/cycles/kernel/kernel_compat_opencl.h (+1, -0) (Diff)
/intern/cycles/kernel/kernel_volume.h (+3, -3) (Diff)
/intern/cycles/kernel/osl/osl_closures.cpp (+60, -1) (Diff)
/intern/cycles/kernel/osl/osl_closures.h (+1, -0) (Diff)
/intern/cycles/kernel/shaders/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/shaders/stdosl.h (+1, -0) (Diff)
/intern/cycles/kernel/svm/svm_closure.h (+118, -2) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+9, -1) (Diff)
/intern/cycles/render/graph.cpp (+3, -0) (Diff)
/intern/cycles/render/nodes.cpp (+133, -0) (Diff)
/intern/cycles/render/nodes.h (+39, -0) (Diff)
/intern/cycles/util/util_math.h (+19, -0) (Diff)
/intern/cycles/util/util_math_float3.h (+10, -0) (Diff)
/release/scripts/startup/nodeitems_builtins.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_node.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/node.c (+1, -0) (Diff)
/source/blender/editors/space_node/drawnode.c (+8, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+5, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+22, -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)
/intern/cycles/kernel/closure/bsdf.h (+14, -0) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/geom/geom_curve.h (+27, -0) (Diff)
/intern/cycles/kernel/geom/geom_curve_intersect.h (+0, -25) (Diff)
/intern/cycles/kernel/kernel_compat_opencl.h (+1, -0) (Diff)
/intern/cycles/kernel/kernel_volume.h (+3, -3) (Diff)
/intern/cycles/kernel/osl/osl_closures.cpp (+60, -1) (Diff)
/intern/cycles/kernel/osl/osl_closures.h (+1, -0) (Diff)
/intern/cycles/kernel/shaders/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/shaders/stdosl.h (+1, -0) (Diff)
/intern/cycles/kernel/svm/svm_closure.h (+118, -2) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+9, -1) (Diff)
/intern/cycles/render/graph.cpp (+3, -0) (Diff)
/intern/cycles/render/nodes.cpp (+133, -0) (Diff)
/intern/cycles/render/nodes.h (+39, -0) (Diff)
/intern/cycles/util/util_math.h (+19, -0) (Diff)
/intern/cycles/util/util_math_float3.h (+10, -0) (Diff)
/release/scripts/startup/nodeitems_builtins.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_node.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/node.c (+1, -0) (Diff)
/source/blender/editors/space_node/drawnode.c (+8, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+5, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+22, -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)