Coder Social home page Coder Social logo

blackbodymaya's Introduction

BlackbodyMaya

Blackbody radiation tool for Maya

Introduction

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.

Install

scripts

  • copy all scripts to your $MAYA_SCRIPT_PATH directory.

plug-ins

  • copy blackbody.py to your $MAYA_PLUG_IN_PATH directory.

python

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

Usage

  1. Start Maya

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

blackbodyUI();

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

  2. Press Set to Selected button on the window.

Parameters

[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)".

Samples

Number of control point on the ramp.
Default is 20, but if you want more finely, you can increase it.

[Attribute]

After the making it, you can control the colors by some attributes.

Enrgy Exp

This value is based on Magnus Wrenninge's Siggraph paper.
http://magnuswrenninge.com/content/pubs/ProductionVolumeRenderingSystems2011.pdf
(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.

Contact

If you have some ideas, or found bugs, please tell me it.

mail: taikomatsu__AT__gmail.com (Please replace AT to @)

blackbodymaya's People

Contributors

taikomatsu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.