blender/intern/cycles/kernel/svm
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
..
bsdf_ashikhmin_velvet.h style cleanup: block comments 2012-06-09 17:22:52 +00:00
bsdf_diffuse.h style cleanup: block comments 2012-06-09 17:22:52 +00:00
bsdf_microfacet.h style cleanup: block comments 2012-06-09 17:22:52 +00:00
bsdf_oren_nayar.h Cycles: 2012-02-23 09:11:17 +00:00
bsdf_reflection.h style cleanup: block comments 2012-06-09 17:22:52 +00:00
bsdf_refraction.h style cleanup: block comments 2012-06-09 17:22:52 +00:00
bsdf_transparent.h style cleanup: block comments 2012-06-09 17:22:52 +00:00
bsdf_ward.h style cleanup: block comments 2012-06-09 17:22:52 +00:00
bsdf_westin.h style cleanup: block comments 2012-06-09 17:22:52 +00:00
bsdf.h style cleanup: assignment & indentation. 2012-06-09 18:56:12 +00:00
emissive.h style cleanup: block comments 2012-06-09 17:22:52 +00:00
svm_attribute.h Cycles: OpenCL image texture support, fix an attribute node issue and refactor 2012-05-13 12:32:44 +00:00
svm_brightness.h Fix #30004: cycles brightness/contrast node issues. The formula used did not work 2012-02-08 17:09:30 +00:00
svm_bsdf.h Cycles: Oren-Nayar BSDF support. This is not a separate shader node, rather it 2011-11-14 17:31:47 +00:00
svm_camera.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
svm_checker.h Cycles: small tweak to checker texture, scale rather than add with epsilon, 2012-01-09 16:57:26 +00:00
svm_closure.h style cleanup: block comments 2012-06-09 17:22:52 +00:00
svm_convert.h Cycles: 2011-08-28 13:55:59 +00:00
svm_displace.h Cycles: some steps to getting OpenCL backend to compile. 2011-05-20 12:26:01 +00:00
svm_fresnel.h Cycles: procedural texture nodes reorganization. This will break existing files 2011-11-06 21:05:58 +00:00
svm_gamma.h Cycles: remove a few usages of double, to fix opencl warnings. 2012-04-30 10:03:13 +00:00
svm_geometry.h Added a bunch of additional particle state attributes to the Cycles particle info node: 2012-08-31 19:38:59 +00:00
svm_gradient.h style cleanup: assignment & indentation. 2012-06-09 18:56:12 +00:00
svm_hsv.h bugfix: [#29711] Cycles - HSV Node - Hue Change Bug 2011-12-29 05:40:48 +00:00
svm_image.h style cleanup: block comments 2012-06-09 17:22:52 +00:00
svm_invert.h Invert Color Cycles Node 2011-12-03 23:05:35 +00:00
svm_light_path.h Cycles: add light falloff node, with quadratic/linear/constant falloff and a 2012-05-07 20:24:38 +00:00
svm_magic.h style cleanup: assignment & indentation. 2012-06-09 18:56:12 +00:00
svm_mapping.h Cycles: add light falloff node, with quadratic/linear/constant falloff and a 2012-05-07 20:24:38 +00:00
svm_math.h Cycles bugfix: [32431] Cycles Math Node : Clamp does not work 2012-08-29 17:30:14 +00:00
svm_mix.h clamp for Mix node 2012-08-30 06:31:02 +00:00
svm_musgrave.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
svm_noise.h style cleanup: assignment & indentation. 2012-06-09 18:56:12 +00:00
svm_noisetex.h Cycles / OSL: 2012-06-02 21:34:25 +00:00
svm_normal.h Fix #29715: cycles and glsl normal node not working correct. 2011-12-28 19:42:22 +00:00
svm_ramp.h Cycles: fix for ColorRamp node alpha output. 2012-03-26 13:21:43 +00:00
svm_sepcomb_rgb.h cycles separateRGB: fix for cuda kernel building. 2011-12-02 07:13:48 +00:00
svm_sky.h Cycles: some steps to getting OpenCL backend to compile. 2011-05-20 12:26:01 +00:00
svm_tex_coord.h style cleanup 2012-05-27 00:36:50 +00:00
svm_texture.h style cleanup: assignment & indentation. 2012-06-09 18:56:12 +00:00
svm_types.h Added a bunch of additional particle state attributes to the Cycles particle info node: 2012-08-31 19:38:59 +00:00
svm_value.h Cycles render engine, initial commit. This is the engine itself, blender modifications and build instructions will follow later. 2011-04-27 11:58:34 +00:00
svm_voronoi.h style cleanup: assignment & indentation. 2012-06-09 18:56:12 +00:00
svm_wave.h style cleanup: assignment & indentation. 2012-06-09 18:56:12 +00:00
svm.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
volume.h style cleanup: block comments 2012-06-09 17:22:52 +00:00