blender/intern/cycles
Lukas Toenne 9e3fa15d4b Added a bunch of additional particle state attributes to the Cycles particle info node:
* Location: Basically the same as the location from Object Info node for object instances on particles, but in principle there could be additional offsets for dupli objects, so included for completeness.
* Size: Single float scale of the particle. Also directly translates to object scale for current dupli objects, but handy to have as a single float to start with instead of a scale vector (currently not even exposed in Object Info).
* Rotation: This is a quaternion, which are not yet supported by Cycles nodes. The float4 is copied to internal Cycles data and stored in the particles texture data, but the node doesn't have a socket for it yet and the data is not yet written to the stack. Code is just commented out so could be enabled quickly if/when rotation support is added to cycles.
* Velocity: Linear velocity vector of particles.
* Angular Velocity: Angular velocity around principle axes.

The texture data is currently packed tightly into the particles texture, which saves a few bytes, but requires an additional texture lookup for some vector attributes which spread over two float4s. Could also add another float4 to particle size to avoid this.
2012-08-31 19:38:59 +00:00
..
app clamp for Mix node 2012-08-30 06:31:02 +00:00
blender Added a bunch of additional particle state attributes to the Cycles particle info node: 2012-08-31 19:38:59 +00:00
bvh fix for rare crash in cycles BVH tree packing. 2012-08-22 11:18:37 +00:00
cmake Cycles / OSL: 2012-08-31 00:21:56 +00:00
device Cycles: 2012-08-01 14:56:15 +00:00
doc edits to cycles cmake files so cmake_consistency_check.py can parse them. 2011-11-08 20:27:37 +00:00
kernel Added a bunch of additional particle state attributes to the Cycles particle info node: 2012-08-31 19:38:59 +00:00
render Added a bunch of additional particle state attributes to the Cycles particle info node: 2012-08-31 19:38:59 +00:00
subd style cleanup 2012-07-21 22:58:08 +00:00
util Additional fix #32074, by Sven-Hendrik Haase (svenstaro). Boost version header must be included in cycles in order to expand the version check macro. 2012-07-29 13:52:38 +00:00
CMakeLists.txt Cycles / Cmake: 2012-08-20 19:40:49 +00:00
SConscript Fix for cycles building with assertions on scons/windows. 2012-06-25 11:42:58 +00:00