Blender Git Commit Log

Git Commits -> Revision 64e3661

February 16, 2015, 13:30 (GMT)
Store particle index and randomized value from particle instance
modifiers, for use in shaders.

The particle instance modifier can now store 2 custom data layers:
- Index: the integer index of the particle
- Value: a randomized floating point number for shader variation

These layers have user-defined names, so multiple particle instance
modifiers can be used without overwriting customdata layers. In Cycles
the data can be accessed using an Attribute node with the same names.

Commit Details:

Full Hash: 64e3661434f11b4201c08cac1e99f08853551c86
Parent Commit: 5a14dd7
Lines Changed: +93, -9

5 Modified Paths:

/intern/cycles/blender/blender_mesh.cpp (+47, -0) (Diff)
/release/scripts/startup/bl_ui/properties_data_modifier.py (+4, -0) (Diff)
/source/blender/makesdna/DNA_modifier_types.h (+10, -8) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+10, -0) (Diff)
/source/blender/modifiers/intern/MOD_particleinstance.c (+22, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021