<<VRML 2.0 - An Introductory view by examples

Sphere

[geometries' example]                                         [run]


It defines a sphere centered at (0,0,0) in the local coordinate system.

{
field SFFloat radius 1
}

It is used as a node inside a Shape node.

  Shape{
        geometry Sphere{radius 2}
        }