Saturday, December 27, 2008

Grey cone

I took this tutorial which covers the basics of VRML 97. Also this one is useful. In just a few minutes I was able to understand the source for the grey cone demo:
#VRML V2.0 utf8
Comment header. Defines the VRML version and charset used.
Shape {
Shape node. Defines all visible objects.
appearance Appearance {
Appearance field. Specifies an Appearance node that defines the look of the geometry. This field is optional and may be omitted.
material Material {
    }
Material field containing a Material node.
}
  geometry Cone {
  }
Geometry field. Indicates which shape is to be drawn
}

No comments: