Brief Index      Full Index      Events Index      I.M. Reference

Show_Texture


Functions

void Show_Texture (const char *texture, char *definition)
void PShow_Net_Texture (int count, const HC_KEY *keys, const char *txr, char *output, HC_KEY *out_image)
void PShow_One_Net_Texture (int count, const HC_KEY *keys, const char *txr, const char *opt, char *output)

Function Documentation

void Show_Texture ( const char *  texture,
char *  definition 
)

Shows the definition of a texture.

Parameters:
texture - Any previously defined texture. Passed by reference always.
definition - The definition of texture. Returned to user. Passed by reference always.
Options Returned:
caching, decal, down sampling, layout, modulate, parameter offset, parameterization source, transform, tiling, source, interpolation filter, decimation filter, red channel mapping, green channel mapping, blue channel mapping, alpha channel mapping, value scale,

DETAILS

This routine is used to find out the definition of a texture. It returns the string that was used to define the texture.

NOTES

RESTRICTIONS

See also:
Define_Texture, Begin_Texture_Search.

void PShow_Net_Texture ( int  count,
const HC_KEY *  keys,
const char *  txr,
char *  output,
HC_KEY *  out_image 
)

Returns the net effective texture definition and image instead of the local one.

Parameters:
keycount - The size of keys
path - Array of HC_KEY's delineating a particular path through a segment tree.
txr - Any previously defined texture. Passed by reference always.
output - The definition of texture. Returned to user. Passed by reference always.
out_image - The key the image associated with the specificed texture. Returned to user. Passed by reference always.

DETAILS

As with all PShow_Net_* routines, keys[0] represents the lowest (a.k.a the "most local" or "leaf"), and key[keycount-1] represents the highest segment. If the path is incomplete, missing segments are filled in if possible. Missing segments must be part of the same direct ancestry in order to be filled in. If the desired path contains an include link, the shortest unambiguous set of keys would be [leaf, includelink, root], where includelink is the return value from Include_Segment().

By default, HOOPS will determine the Net attribute from the last specified key all the way to the root. If you add -1 at the end of the array, the PShow_Net routines will not proceed beyond the end of the last specified key.

See also:
Define_Texture

void PShow_One_Net_Texture ( int  count,
const HC_KEY *  keys,
const char *  txr,
const char *  opt,
char *  output 
)

Similar to Show_One_Net_Texture(), but calculates the net effective value of a specific setting on the requested texture definition along a discrete segment path..

Parameters:
count - The size of keys
keys - Array of HC_KEY's delineating a particular path through a segment tree.
texture - Any previously defined texture. Passed by reference always.
option - The setting on the texture you want to query.
output - The value of that setting. Returned to user. Passed by reference always.

DETAILS

As with all PShow_Net_* routines, keys[0] represents the lowest (a.k.a the "most local" or "leaf"), and key[keycount-1] represents the highest segment. If the path is incomplete, missing segments are filled in if possible. Missing segments must be part of the same direct ancestry in order to be filled in. If the desired path contains an include link, the shortest unambiguous set of keys would be [leaf, includelink, root], where includelink is the return value from Include_Segment().

By default, HOOPS will determine the Net attribute from the last specified key all the way to the root. If you add -1 at the end of the array, the PShow_Net routines will not proceed beyond the end of the last specified key.

See also:
Define_Texture, Begin_Texture_Search

Brief Index      Full Index      Events Index      I.M. Reference