Blender Git Loki
Git Commits -> Revision 1c2f7b0
Revision 1c2f7b0 by Omar Emara (master) November 27, 2019, 10:07 (GMT) |
Cycles: Add Random Per Island attribute. The Random Per Island attribute is a random float associated with each connected component (island) of the mesh. It is particularly useful when artists want to add variations to meshes composed of separate units. Like tree leaves created using particle systems, wood planks created using array modifiers, or abstract splines created using AN. Reviewed By: Sergey Sharybin, Jacques Lucke Differential Revision: https://developer.blender.org/D6154 |
Commit Details:
Full Hash: 1c2f7b022a56b034e3e24d8bd5bf03d3beb5ca94
Parent Commit: fc1a073
Lines Changed: +160, -2
1 Added Path:
/intern/cycles/util/util_disjoint_set.h (+75, -0) (View)
8 Modified Paths:
/intern/cycles/blender/blender_mesh.cpp (+52, -0) (Diff)
/intern/cycles/kernel/kernel_types.h (+1, -0) (Diff)
/intern/cycles/kernel/shaders/node_geometry.osl (+4, -1) (Diff)
/intern/cycles/render/attribute.cpp (+8, -0) (Diff)
/intern/cycles/render/nodes.cpp (+15, -0) (Diff)
/intern/cycles/util/CMakeLists.txt (+1, -0) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_geometry.glsl (+3, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_geometry.c (+1, -0) (Diff)
/intern/cycles/kernel/kernel_types.h (+1, -0) (Diff)
/intern/cycles/kernel/shaders/node_geometry.osl (+4, -1) (Diff)
/intern/cycles/render/attribute.cpp (+8, -0) (Diff)
/intern/cycles/render/nodes.cpp (+15, -0) (Diff)
/intern/cycles/util/CMakeLists.txt (+1, -0) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_geometry.glsl (+3, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_geometry.c (+1, -0) (Diff)