forked from bartvdbraak/blender
9e3fa15d4b
* 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. |
||
---|---|---|
.. | ||
osl | ||
svm | ||
CMakeLists.txt | ||
kernel_accumulate.h | ||
kernel_bvh.h | ||
kernel_camera.h | ||
kernel_compat_cpu.h | ||
kernel_compat_cuda.h | ||
kernel_compat_opencl.h | ||
kernel_differential.h | ||
kernel_displace.h | ||
kernel_emission.h | ||
kernel_film.h | ||
kernel_globals.h | ||
kernel_light.h | ||
kernel_math.h | ||
kernel_mbvh.h | ||
kernel_montecarlo.h | ||
kernel_object.h | ||
kernel_optimized.cpp | ||
kernel_passes.h | ||
kernel_path.h | ||
kernel_projection.h | ||
kernel_qbvh.h | ||
kernel_random.h | ||
kernel_shader.h | ||
kernel_textures.h | ||
kernel_triangle.h | ||
kernel_types.h | ||
kernel.cl | ||
kernel.cpp | ||
kernel.cu | ||
kernel.h | ||
SConscript |