blender/intern/cycles/kernel
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
..
osl clamp for Mix node 2012-08-30 06:31:02 +00:00
svm Added a bunch of additional particle state attributes to the Cycles particle info node: 2012-08-31 19:38:59 +00:00
CMakeLists.txt Cycles: fixes to make CUDA 4.2 work, compiling gave errors in shadows and 2012-05-28 19:21:13 +00:00
kernel_accumulate.h style cleanup: block comments 2012-06-09 17:22:52 +00:00
kernel_bvh.h style cleanup: block comments 2012-06-09 17:22:52 +00:00
kernel_camera.h Fix most of #31307: cycles panorama camera not working correct with speed 2012-05-07 10:53:09 +00:00
kernel_compat_cpu.h style cleanup: block comments 2012-06-09 17:22:52 +00:00
kernel_compat_cuda.h Cycles / CUDA: 2012-05-28 23:51:06 +00:00
kernel_compat_opencl.h Cycles: remove a few usages of double, to fix opencl warnings. 2012-04-30 10:03:13 +00:00
kernel_differential.h code cleanup: spelling 2012-07-16 23:23:33 +00:00
kernel_displace.h Cycles: support for camera rendering an environment map with equirectangular 2012-02-28 16:44:54 +00:00
kernel_emission.h Cycles: first step for implementation of non-progressive sampler that handles 2012-06-13 11:44:48 +00:00
kernel_film.h Cycles: fixes for OpenCL build after pass changes, patch by Daniel Genrich. 2012-01-26 15:37:33 +00:00
kernel_globals.h style cleanup: block comments 2012-06-09 17:22:52 +00:00
kernel_light.h Cycles: first step for implementation of non-progressive sampler that handles 2012-06-13 11:44:48 +00:00
kernel_math.h
kernel_mbvh.h Fix #30966: cycles nan mesh vertices got set to (0, 0, 0), now remove them instead. 2012-04-16 08:35:21 +00:00
kernel_montecarlo.h style cleanup: whitespace, also add '?' to save over popup since it wasnt totally clear it was a question (user pointed this out, they thought it was just notification and lost their work). 2012-07-31 23:06:12 +00:00
kernel_object.h Added a bunch of additional particle state attributes to the Cycles particle info node: 2012-08-31 19:38:59 +00:00
kernel_optimized.cpp style cleanup: block comments 2012-06-09 17:22:52 +00:00
kernel_passes.h Cycles: support for motion vector and UV passes. 2012-04-30 12:49:26 +00:00
kernel_path.h Fix #32205: Holdout shader + transparent background stays black with Alpha = 1 2012-08-01 12:59:47 +00:00
kernel_projection.h style cleanup: block comments 2012-06-09 17:22:52 +00:00
kernel_qbvh.h Fix #30966: cycles nan mesh vertices got set to (0, 0, 0), now remove them instead. 2012-04-16 08:35:21 +00:00
kernel_random.h code cleanup: quiet all warnings about double promotion (either by changing the type or explicitly casting). 2012-06-09 17:45:22 +00:00
kernel_shader.h Cycles: first step for implementation of non-progressive sampler that handles 2012-06-13 11:44:48 +00:00
kernel_textures.h Particle Info node for Cycles. This can be used to access particle information in material shaders for dupli objects. For now only the particle Age and individual Lifetime (in frames) are supported, more attributes can be added when needed. 2012-06-08 16:17:57 +00:00
kernel_triangle.h the mutex struct seems to be different across systems, use memset rather then an initializer value. 2012-06-25 11:19:38 +00:00
kernel_types.h Added a bunch of additional particle state attributes to the Cycles particle info node: 2012-08-31 19:38:59 +00:00
kernel.cl Cycles: Render Passes 2012-01-25 17:23:52 +00:00
kernel.cpp Cycles: float texture support. Due to GPU limitations there are now 95 byte, 2012-03-07 12:27:18 +00:00
kernel.cu Cycles: Render Passes 2012-01-25 17:23:52 +00:00
kernel.h Cycles: Render Passes 2012-01-25 17:23:52 +00:00
SConscript Cycles / CUDA: 2012-05-28 19:49:26 +00:00