Blackbody radiation tool for Maya
This tool makes ramp that based on blackbody radiation.
You have to input just few parameters, like "Min Temperature", "Max Temperature".
You can select "Expression" or "Node" for make it.
When you select "Node" mode, this tool makes a "blackbody" node written in Python.
This mode is recommend if you want to share the result in some nodes.
(But you have to make connections manually. Now I haven't made some functions for help it yet, sorry.)
Or when if you select "Expression" mode, it's the default mode of the tool,
this tool makes an expression.
Because both mode is almost same usage, you can choose either which you want.
- copy all scripts to your $MAYA_SCRIPT_PATH directory.
- copy blackbody.py to your $MAYA_PLUG_IN_PATH directory.
- copy blackbody directory to directory that has through a path sys.path.
if you haven't done setting anymore, you can copy to under your $MAYA_SCRIPT_PATH directory.
Open script editor and types below in MEL tab.
Select ramp or fluid object to attach blackbody node or expression.
Press Set to Selected button on the window.
Min, Max Temperature
Theses parameters are most important ones on this tool.
They decide a color of the ramp.
The unit of these parameters are "K (kelvin)".
Number of control point on the ramp.
Default is 20, but if you want more finely, you can increase it.
After the making it, you can control the colors by some attributes.
This value is based on Magnus Wrenninge's Siggraph paper.
(from p.37, 4.5 Blackbody radiation.)
Default is 4 and it's phisically correct value.
Decide final brightness.
Deafult is 5.0.
If you felt too dark in lower side, increase this value.
Default is 0.
Min, Max Temperatures
Same as the parameters on the window.
You can change it in runtime.
If you have some ideas, or found bugs, please tell me it.
mail: taikomatsu__AT__gmail.com (Please replace AT to @)