SOFT_COLOR_2D

THE BOX'S MAIN HELP:
This does a 2D texture lookup and various operations on that texture.
MAP   is the texture file.
MODE  is the texture mapping method.
REPU  # of repetitions in the U direction. (tiling)
REPV  # of repetitions in the V direction. (tiling)
ALTU  flip alternate tiles in U? (butterflying)
ALTV  flip alternate tiles in V? (butterflying)
UWRAP wrap the texture in the U direction?
VWRAP wrap the texture in the V direction?
SWAP  swap U and V coordinates?
MINU, MAXU, MINV, MAXV control cropping of the map. 
XFORM transforms the texture coordinates.

MAP (input):
This is the file path.
It must be for a valid texture file.

MODE (input):
This must be an interger.  The default is 0.
This is the mapping projection: 0 = planar in XY; 1 = planar in YZ;
2 = planar in XZ; 3 = planar in UV; 4 = cylindrical or spherical.

REPU (input):
This must be an integer.  The default is 1.
This is the number of tiles in the U direction.

REPV (input):
This must be an integer.  The default is 1.
This is the number of tiles in the V direction.

ALTU (input):
This must be a boolean.  The default is off, no flipping.
If this flag is true, every other copy (tile) of the texture
will be flipped the U direction (horizontally). Butterflying.

ALTV (input):
This must be a boolean.  The default is off, no flipping.
If this flag is true, every other copy (tile) of the texture
will be flipped the V direction (vertically). Butterflying.

SWAP (input):
This must be a boolean.  The default is off, no swapping.
If this flag is true, the U and V coordinates are swapped
after transformation, but before tiling. The result is a
diagonal mirror.

MINU (input):
This must be a scalar.  The default is 0.0.
This is the minimum U value for cropping the map.

MAXU (input):
This must be a scalar.  The default is 1.0.
This is the maximum U value for cropping the map.

MINV (input):
This must be a scalar.  The default is 0.0.
This is the minimum V value for cropping the map.

MAXV (input):
This must be a scalar.  The default is 1.0.
This is the maximum V value for cropping the map.

UWRAP (input):
This must be a boolean.  The default is off, no wrapping.
If this flag is true, the texture will wrap in the U direction.

VWRAP (input):
This must be a boolean.  The default is off, no wrapping.
If this flag is true, the texture will wrap in the V direction.

XFORM (input):
This must be a matrix.  The default is the identity matrix.

TAG (output):
This is the tag for the MAP.

<-- BACK TO Patterns

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