Blender Git Commit Log

Git Commits -> Revision 691c4c1

Revision 691c4c1 by Brecht Van Lommel (master)
March 29, 2014, 12:03 (GMT)
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

Commit Details:

Full Hash: 691c4c17ad2f4b4e043f0961211ac90ca1656a8f
Parent Commit: 27043b8
Lines Changed: +206, -42

5 Modified Paths:

/intern/cycles/blender/blender_mesh.cpp (+36, -0) (Diff)
/intern/cycles/blender/blender_session.cpp (+123, -42) (Diff)
/intern/cycles/blender/blender_util.h (+21, -0) (Diff)
/intern/cycles/kernel/kernel_types.h (+5, -0) (Diff)
/intern/cycles/render/attribute.cpp (+21, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021