REFRACT

THE BOX'S MAIN HELP:
Returns a point which represents the direction of the transmitted ray.
refer to page 328 in the RenderMan Companion.

II (input):
The entering ray direction.
This must be a point. The default is the incidence vector, I.

NN (input):
This must be a point.  The default is the surface normal, N.
This is the normal of the surface point to be shaded, P.
If the surface point P has been changed, calculatenormal(P)
should be used to recalculate N before shading.

eta (input):
The index of refracton.  This must be a float.

T (output):
Returns the direction of the transmitted ray.
refer to page 328 in the RenderMan Companion.

<-- BACK TO Functions

© Copyright 1996,1998 Cinema Graphics Inc. All Rights reserved.