Use MEL to write a illumination Model


#1

Has anyone done that?

We’re doing some simulation for spectrum/irridescent. This material is not available in maya software rendering.

We’re wondering, if we write our own illumination model in C\C++ or OpenGL, is that acceptable by MEL or Maya itself.

That means we 'll write a new rendering tool for maya. Is that possible? has anyone done that?


#2

You’d probably have to write a material node to drop into hypershade. Having never written one I don’t know how hard this would be.

Or you could write a Mental Ray shader and load it into Hypergraph. This would limit you to rendering with Mental Ray though.

Simon


#3

You can write a shader with MEL. There is an example on the Highend3d (expression driven phong shader). It can be slow though.


#4

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.