HELP! * GREY=local LOCAL HTML version of Foils prepared 7 April 1997

Foil 36 VRML1.0 IndexedFaceSet Node II

From Overview of VRML 1.0 Language with Examples CPS616 Basic Information Track for Computational Science -- Winter-Spring Semester 96 and 97. by Geoffrey C. Fox, Alvin Leung, Meryem Ispirli * See also color IMAGE

Explicit texture coordinates (as defined by TextureCoordinate2) may be bound to vertices of an indexed shape by using the indices in the textureCoordIndex field.
  • TextureCoordinate and tex CoordIndex in VRML2
As with all vertex-based shapes, if there is a current texture but no texture coordinates are specified, a default texture coordinate mapping is calculated using the bounding box of the shape.
  • The longest dimension of the bounding box defines the S coordinates, and the next longest defines the T coordinates.
  • The value of the S coordinate ranges from 0 to 1, from one end of the bounding box to the other.
  • The T coordinate ranges between 0 and the ratio of the second greatest dimension of the bounding box to the greatest dimension.



Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun May 25 1997