blender/intern/cycles/render
Brecht Van Lommel 691c4c17ad Cycles: add "density", "flame" and "color" attributes for smoke domains.
These can currently be accessed by adding an Attribute node and specifying one
of those three names. A Smoke/Fire node should be added at some point to make
this more convenient.

These values might change still before the release, in particular for flame the
meaning seems unclear, it's just values in the 0..1 range. This is useful for
color ramps, but it might be good if this was also available as temperature in
kelvin so it can be plugged into the blackbody node. But I couldn't figure out
from the smoke code if or how this corresponds to a physical unit.

Here's a (quite poor) example file for a fire + smoke setup:
http://www.pasteall.org/blend/27990
2014-03-29 13:03:48 +01:00
..
attribute.cpp Cycles: add "density", "flame" and "color" attributes for smoke domains. 2014-03-29 13:03:48 +01:00
attribute.h Cycles code internals: add support for mesh voxel grid attributes. 2014-03-29 13:03:48 +01:00
background.cpp Cycles code refactor: replace magic ~0 values in the code with defines. 2014-03-29 13:03:47 +01:00
background.h Cycles: relicense GNU GPL source code to Apache version 2.0. 2013-08-18 14:16:15 +00:00
blackbody.cpp * Make MSVC happy. 2013-08-06 23:47:47 +00:00
blackbody.h Cycles: relicense GNU GPL source code to Apache version 2.0. 2013-08-18 14:16:15 +00:00
buffers.cpp Fix T39420: Cycles viewport/preview flickers, when moving mouse across editors 2014-03-26 15:58:53 +06:00
buffers.h Fix for build error in Cycles standalone caused by new DeviceDrawParams 2014-03-26 18:11:16 +01:00
camera.cpp Cycles Standalone: The camera now gets properly updated, when changing window size or using --width --height overwrites. 2014-02-14 18:40:31 +01:00
camera.h Cycles Standalone: The camera now gets properly updated, when changing window size or using --width --height overwrites. 2014-02-14 18:40:31 +01:00
CMakeLists.txt Code cleanup: remove some unused cycles SSS code. 2013-10-12 00:08:31 +00:00
curves.cpp Code cleanup / Cycles: Remove encasing_ratio variable, it was already hard coded, so define it in the kernel only. 2014-02-02 19:53:04 +01:00
curves.h Code cleanup / Cycles: Remove encasing_ratio variable, it was already hard coded, so define it in the kernel only. 2014-02-02 19:53:04 +01:00
film.cpp Fix Cycles Light Passes being always enabled, own regression in Clamp commit yesterday. 2014-02-11 14:14:43 +01:00
film.h Fix Cycles Light Passes being always enabled, own regression in Clamp commit yesterday. 2014-02-11 14:14:43 +01:00
graph.cpp Code Cleanup: spelling 2014-01-17 17:35:03 +11:00
graph.h Cycles Volume Render: optimization to avoid exporting surface attributes when 2013-12-31 17:30:34 +01:00
image.cpp Cycles code internals: add CPU kernel support for 3D image textures. 2014-03-29 13:03:48 +01:00
image.h Cycles code internals: add CPU kernel support for 3D image textures. 2014-03-29 13:03:48 +01:00
integrator.cpp Code cleanup: Move AA Samples variable, this is not exclusive to Branched Path. 2014-03-23 12:15:33 +01:00
integrator.h Cycles: Direct multi light sampling in the Branched Path Integrator is optional now. 2014-03-15 17:37:43 +01:00
light.cpp Cycles: add support for mesh deformation motion blur. 2014-03-29 13:03:47 +01:00
light.h Cycles: relicense GNU GPL source code to Apache version 2.0. 2013-08-18 14:16:15 +00:00
mesh_displace.cpp Cycles code refactor: replace magic ~0 values in the code with defines. 2014-03-29 13:03:47 +01:00
mesh.cpp Cycles code internals: add support for mesh voxel grid attributes. 2014-03-29 13:03:48 +01:00
mesh.h Cycles: add support for mesh deformation motion blur. 2014-03-29 13:03:47 +01:00
nodes.cpp Cycles code internals: add support for mesh voxel grid attributes. 2014-03-29 13:03:48 +01:00
nodes.h Add support for multiple interpolation modes on cycles image textures 2014-03-07 23:16:33 +01:00
object.cpp Cycles: add support for curve deformation motion blur. 2014-03-29 13:03:47 +01:00
object.h Cycles code refactor: improve vertex motion attribute storage and export. 2014-03-29 13:03:46 +01:00
osl.cpp Fix: cycles volume emission incorrectly enabling surface importance sampling. 2014-03-29 13:03:48 +01:00
osl.h Fix build error when building without OSL support. 2013-12-09 05:28:19 +01:00
particles.cpp Cycles: relicense GNU GPL source code to Apache version 2.0. 2013-08-18 14:16:15 +00:00
particles.h Cycles: relicense GNU GPL source code to Apache version 2.0. 2013-08-18 14:16:15 +00:00
scene.cpp Cycles code refactor: add motion sampled normals attribute. 2014-03-29 13:03:46 +01:00
scene.h Cycles code refactor: changes to make adding new primitive types easier. 2014-03-29 13:03:46 +01:00
session.cpp Fix T39420: Cycles viewport/preview flickers, when moving mouse across editors 2014-03-26 15:58:53 +06:00
session.h Fix T39420: Cycles viewport/preview flickers, when moving mouse across editors 2014-03-26 15:58:53 +06:00
shader.cpp Cycles Volume Render: optimization to avoid exporting surface attributes when 2013-12-31 17:30:34 +01:00
shader.h Cycles Volume Render: heterogeneous (textured) volumes support. 2013-12-30 00:04:02 +01:00
sky_model_data.h Code Cleanup: use static for sky_model_data.h 2013-12-13 04:40:30 +11:00
sky_model.cpp Code Cleanup: use static for sky_model_data.h 2013-12-13 04:40:30 +11:00
sky_model.h code cleanup: spelling 2013-10-31 23:52:44 +00:00
sobol.cpp Fix #29528: crash adding subsurf modifier in a particular scene with viewport render. 2011-12-08 21:55:35 +00:00
sobol.h Cycles: relicense GNU GPL source code to Apache version 2.0. 2013-08-18 14:16:15 +00:00
svm.cpp Fix: cycles volume emission incorrectly enabling surface importance sampling. 2014-03-29 13:03:48 +01:00
svm.h Fix T37706: avoid cycles crash when using a stack that exceeds SVM stack limits. 2014-01-16 22:36:30 +01:00
tables.cpp Fix T39146: recent cycles CUDA regression in fix for T39114. 2014-03-13 14:18:34 +01:00
tables.h Cycles: relicense GNU GPL source code to Apache version 2.0. 2013-08-18 14:16:15 +00:00
tile.cpp Fix a few issues reported by coverity scan. 2013-09-03 22:39:21 +00:00
tile.h Fix a few issues reported by coverity scan. 2013-09-03 22:39:21 +00:00