Original Spec| Sample

定義

Shape { 
  exposedField SFNode appearance NULL
  exposedField SFNode geometry   NULL
}
形状と材質から”形”を定義します。
appearance
材質の定義(Appearanceノード参照)
geometry
形状の定義(Box, Cone, Cylinder, EvaluationGrid, IndexedFaceSet, IndexedLineSet, Shpere, Text 参照)

サンプル

#VRML V2.0 utf8
Shape { 
 geometry Box {}
#物体に赤い色をつける
 appearance Apearance {
  material Material {
   diffuseColor 1 0 0
  }
 }
}