structure of a VRML file:
#VRML V2.0 utf8This means that the file is a VRML file, compliant to version 2.0, and uses the utf8 character set (which is compatible with the ascii character set)
Shape { appearance Appearance { material Material {} } geometry Box { size 3 4 5 } }A Shape node is one of the most common nodes in VRML, it specifies what are the visible characteristics of the object, what is it made of (a texture or color), and the geometry of the object.
The following is the code that would render a box 3 units wide, 4 units tall, and 5 units deep:
#VRML V2.0 utf8 Group { children [ appearance Appearance { material Material {} } geometry Box { size 3 4 5 } ] }
Note that the group node groups together multiple nodes in its children field. You can specify multiple primitive shapes as children and they will be rendered and interpreted as one homogeneous object.