Blackbody radiation tool for Maya
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


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 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.


  1. Start Maya

  2. Open script editor and types below in MEL tab.


  1. Select ramp or fluid object to attach blackbody node or expression.

  2. Press Set to Selected button on the window.


[On 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.

Enrgy Exp

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.

Energy Mult

Decide final brightness.
Deafult is 5.0.

Energy Offset

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: (Please replace AT to @)