ENVIRONMENT4

THE BOX'S MAIN HELP:
This function returns the color in the environment map MAP 
filtered from the region defined by direction vectors: P1, P2, P3, P4.
refer to page 323-324 in the RenderMan Companion.

MAP (input):
This must be a string. The default is empty.
The name of the environment map file to be used.
refer to page 323-324 in the RenderMan Companion.

P1 (input):
This must be a vector.
This is the first direction vector which defines the region
over which the environment colors are filtered.
refer to page 323-324 in the RenderMan Companion.

P2 (input):
This must be a vector.
This is the second direction vector which defines the region
over which the environment colors are filtered.
refer to page 323-324 in the RenderMan Companion.

P3 (input):
This must be a vector.
This is the third direction vector which defines the region
over which the environment colors are filtered.
refer to page 323-324 in the RenderMan Companion.

P4 (input):
This must be a vector.
This is the fourth direction vector which defines the region
over which the environment colors are filtered.
refer to page 323-324 in the RenderMan Companion.

FLT (input):
Selects the filter to be used when sampling the texture data.
Possible filters are "box" and "gaussian".  The default is "box".
Use of "gaussian" should produce higher quality results but with
a slight performance penalty.

INT (input):
Selects whether to interpolate between adjacent resolutions of a
multi-resolution texture in order to smooth the transition
between resolutions.  Possible values are 0.0 to disable the
interpolation and 1.0 to enable it.  The default is 0.0 to not
interpolate.

ENV (output):
This function returns the color in 
the environment map MAP from the direction of R.
refer to page 323-324 in the RenderMan Companion.

<-- BACK TO Functions

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