Basic HTML version of Foils prepared April 6 1997

Foil 138 Binding Colors to points, lines, and faces

From VRML 2 Basic Concepts and Definitions CPS616 -- Information Track of CPS -- Spring Semester 97. by Zeynep Ozdemir(Geoffrey C. Fox)


A VRML line is a straight line connecting to end points, each one located in the world.
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
  • }



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 Mar 15 1998