Basic HTML version of Foils prepared June 30 1996

Foil 96 VRML1.0 IndexedFaceSet Node I

From A Tutorial on Base Web Technologies CRPC Annual Meeting/NASA Langley/Trip to China -- May 14-17 June 10-13 1996 July 12-18 1996. by Geoffrey Fox


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 Dec 14 1997