int lgcreate2dtex(kobject inobj,
kgeom_object *outobj,
float *tc,
int method)
Parms: float tc[4] - contains texture coordinates that will be associated with the min/max corners of the texture. these coordinates, along with multiple textures, can be used to implement tiled textures. int
september 1995 NOTES: 1. at present, we only do a straight copy of the source texture data. in the future, we will implement MIPmapping of textures. some work is needed on the data services infrastructure before this will funciton properly. 2. it seems to make sense to put tiled textures along the depth axis. this is not implemented. furthermore, if it were, then the tc[] array would need to be two-dimensional as we need a set of coordinates for each tile in the set. 3. the stuff in the tc[] array is not used at all right now. this is because there is no corresponding attribute in the geom services infrastructure. the default behavior in rmonster will be to use a coordinate range of 0..1 for the texture (effectively disabling the use of tiled textures).
none
none
$GEOMETRY/objects/library/geometry/src/lgcreate2dtex.c