Blender Git Commit Log
Git Commits -> Revision df79ab5
Revision df79ab5 by Lukas Toenne (master) September 14, 2012, 18:10 (GMT) |
Added Object Info node implementation for OSL. This uses an additional attribute check in the osl_services callback for special attribute names related to objects: * std::object_location * std::object_index * std::material_index * std::object_random Other object-based attributes can be added for particle info in the same way. |
Commit Details:
Full Hash: df79ab5a778e877ff371ac571afcc55f2558b6f6
SVN Revision: 50603
Parent Commit: b48398c
Lines Changed: +128, -55
1 Added Path:
/intern/cycles/kernel/osl/nodes/node_object_info.osl (+33, -0) (View)