Cycles: Implement index output for hair node
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 13 Feb 2018 13:20:47 +0000 (14:20 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 13 Feb 2018 13:20:47 +0000 (14:20 +0100)
commit37f65e9dc4bcfa5225a114feabac753e342bb201
tree0d5f08e60de8c40c940dcb806e20a97bafdff667
parentd640ce40aa9e472613cac22ecbc7655db9c27201
Cycles: Implement index output for hair node

This is like the only way to add variety to hair which is created
using simple children. Used here for the hair.

Maybe not ideal, but the time will show.
intern/cycles/blender/blender_curves.cpp
intern/cycles/kernel/kernel_types.h
intern/cycles/kernel/shaders/node_hair_info.osl
intern/cycles/kernel/svm/svm_geometry.h
intern/cycles/kernel/svm/svm_types.h
intern/cycles/render/attribute.cpp
intern/cycles/render/nodes.cpp
source/blender/nodes/shader/nodes/node_shader_hair_info.c