maya mtor   d i s p l a c e m e n t s


These images show the results of using the RenderMan Shading Language (RSL)and Mata to Renderman (MTOR) to create a variety of special effects displacementshaders.



 

 

 



 

 

Displacement RSL shader applied to a polygonal plane and head with planar UV mapping

and animated in Maya/MTOR using the LERP function on multiple attributes.

 

RSL code:

float d = sqrt((s - scenter) * (s - scenter) + (t - tcenter) * (t - tcenter));
hump = 1 - smoothstep(rad - blend, rad + blend, d);