<<VRML 2.0 - An Introductory view by examples

Box

[geometries' example]                                           [run]


it defines a rectangular parallelepiped box in the local coordinate system centered at (0,0,0) and aligned with the coordinate axes.

{
field SFVec3f size 2 2 2
}

It is used as a node inside a Shape node.

  Shape{
        geometry Box{size 1 1 1}
        }