Basic HTML version of Foils prepared March 4 1998

Foil 148 IndexedFaceSet Pyramid Example III

From VRML 2 Basic Concepts and Definitions CPS616 -- Information Track of CPS -- Spring Semester 98. by Zeynep Ozdemir, Rob Baker, Meryem Ispirli, Geoffrey C. Fox

2 examples of Pyramids for Foil 148
geometry IndexedFaceSet {
coordIndex [ 0,4,3,-1, 0,3,2,-1 0,2,1,-1, 0,1,4,-1, 1,3,4,-1, 1,2,3,-1]
The coordIndex field has a list of vertex numbers which define triangles (indicated by terminating -1)
This implies square at bottom of Pyramid broken into 2 triangles
Vertex numbers are those whose position was specified in coord field



© 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 Nov 29 1998