HELP! * GREY=local LOCAL HTML version of Foils prepared 7 April 1997

Foil 30 VRML Material Node

From Overview of VRML 1.0 Language with Examples CPS616 Basic Information Track for Computational Science -- Winter-Spring Semester 96 and 97. by Geoffrey C. Fox, Alvin Leung, Meryem Ispirli * See also color IMAGE

This node defines the current surface material properties for all subsequent shapes.
Material sets several components of the current material during traversal.
Different shapes interpret materials with multiple values differently.
To bind materials to shapes, use a MaterialBinding node .
FILE FORMAT/DEFAULTS
  • Material {
  • ambientColor 0.2 0.2 0.2 # MFColor
  • diffuseColor 0.8 0.8 0.8 # MFColor
  • specularColor 0 0 0 # MFColor
  • emissiveColor 0 0 0 # MFColor
  • shininess 0.2 # MFFloat
  • transparency 0 # MFFloat
  • }



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 May 25 1997