Basic HTML version of Foils prepared March 4 1998

Foil 142 Binding Colors to points, lines, and faces

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

IndexedLineSet Definition
1 A VRML line is a straight line connecting to end points, each one located in the world.
2 VRML allows to define a polyline which has a starting coordinate, several intermediate coordinates, and an ending coordinate. The VRML browser draws a straight line from the strarting coordinate to the first intermediate coordinate, from there to the second intermediate coordinate, and so on, finishing the polyline or the ending coordinate.
  • IndexedLineSet {
  • set_colorIndex # eventIn MFInt32
  • set_coordIndex # eventIn MFInt32
  • color NULL # exposedField SFNode
  • coord NULL # exposedField SFNode
  • colorIndex [] # field MFInt32
  • colorPerVertex TRUE # field SFBool
  • coordIndex [] # field MFInt32
  • }

in Table To:


© 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 Apr 5 1998