blender/intern/cycles
Sergey Sharybin 9b40616249 Cycles: Point density texture support
This commit implements point density texture for Cycles shading nodes.

It's done via creating voxel texture at shader compilation time, Not
totally memory efficient, but avoids adding sampling code to kernel
(which keeps render time as low as possible), In the future this will
be compensated by using OpenVDB for more efficient storage of sparse
volume data.

Sampling of the voxel texture is happening at blender side and the
same code is used as for Blender Internal's renderer.

This texture is controlled by only object, particle system and radius.
Linear falloff is used and there's no turbulence. This is because
falloff is expected to happen using Curve Mapping node. Turbulence
will be done as a distortion on the input coordinate. It's already
possible to fake it using nose textures and in the future we can add
more proper turbulence distortion node, which then could also be used
for 2D texture mapping.

Particle color support is done by Lukas, thanks!
2015-07-18 22:49:10 +02:00
..
app Cycles standalone: add support for reading UV coordinates to the XML scene reader 2015-06-27 12:05:05 +02:00
blender Cycles: Point density texture support 2015-07-18 22:49:10 +02:00
bvh Cycles: Avoid having duplication of BVH arrays during build 2015-06-28 18:15:25 +02:00
cmake Cycles: Post-reintegration tweaks to ensure things do compile 2015-01-01 01:31:08 +05:00
device Cycles: Log requested device features 2015-07-18 16:02:09 +02:00
doc Cycles: relicense GNU GPL source code to Apache version 2.0. 2013-08-18 14:16:15 +00:00
kernel Cycles: Add voxel texture sampler shader node 2015-07-18 22:09:20 +02:00
render Cycles: Add voxel texture sampler shader node 2015-07-18 22:09:20 +02:00
subd Cycles: Code cleanup, spaces around keywords 2015-03-28 00:15:15 +05:00
util Cycles: Add assert to an array at() function to be sure we don't have bad memory access 2015-06-28 18:15:25 +02:00
CMakeLists.txt CMake: Add option to enable -Werror cflag in some areas 2015-07-18 10:49:51 +02:00
SConscript Cycles: Restructure kernel files organization 2015-05-22 16:31:34 +05:00