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

Foil 35 VRML1.0 IndexedFaceSet Node I

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

This node represents a 3D shape formed by constructing faces (polygons) from vertices located at the current coordinates.
IndexedFaceSet uses the indices in its coordIndex field to specify the polygonal faces.
An index of -1 indicates that the current face has ended and the next one begins.
The vertices of the faces are transformed by the current transformation matrix.
Treatment of the current material and normal binding is as follows:
  • The PER_PART and PER_FACE bindings specify a material or normal for each face.
  • PER_VERTEX specifies a material or normal for each vertex.
  • The corresponding _INDEXED bindings are the same, but use the materialIndex or normalIndex indices.
The DEFAULT material binding is equal to OVERALL.
The DEFAULT normal binding is equal to PER_VERTEX_INDEXED;
  • if insufficient normals exist in the state, vertex normals will be generated automatically.
MaterialBinding Specification totally changed in VRML2 -- its easier!



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