Introduction
For this assignment you will add functionality to a custom
pattern node called Height2Color that was written in class.
What is Expected?
The current implementation of the Height2Color node allows an artist to
smoothly ramp two color over a surface depending on the Y height of the shading hit
point.
Your extended version of the Height2Color node should enable an artist to:
- use a checkbox to swap the two colors,
- enable a maya place3DTexture node to control what is considered
to be the Y height of the shading hit point,
- and, if possible, to use a checkbox to control whether the Y height
is considered to be the actual shading hit point or the height of the origin
of the surface - see
"OSL:Color By Height"
for an explanation of how
Height2Color is done in OSL.
|