Basic HTML version of Foils prepared March 4 1998

Foil 144 IndexedLineSet Fields - II

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

VRML2.0 IndexedLineSet Fields
color field hold the color and typically it hold a Color node.
If colorPerVertex field is TRUE, the colorIndex field defines the color of each point (vertex) by matching the color with the corresponding coordinate(or point). colorIndex must have -1's where coordIndex does and values of colorIndex point to color array
If colorPerVertex field has a value FALSE, then indices of colorIndex correspond to indices of polylines but again values are pointers to color array.



© 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