Blender Git Commit Log

Git Commits -> Revision c4de45e

Revision c4de45e by Lukas Toenne (master)
September 14, 2012, 19:09 (GMT)
Implemented the Particle Info for OSL. Uses the following attributes:

* std::particle_index
* std::particle_age
* std::particle_lifetime
* std::particle_location
* std::particle_size
* std::particle_velocity
* std::particle_angular_velocity

Just as with SVM the rotation state attribute is currently disabled due to lack of a proper quaternion or matrix type in Cycles nodes.

Commit Details:

Full Hash: c4de45e56b64c336ec4c00e564c97b4776f89cdc
SVN Revision: 50604
Parent Commit: df79ab5
Lines Changed: +126, -16

1 Added Path:

/intern/cycles/kernel/osl/nodes/node_particle_info.osl (+39, -0) (View)

2 Modified Paths:

/intern/cycles/kernel/osl/nodes/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/osl/osl_services.cpp (+86, -16) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021