Table of contents Chapter index Previous slide Next slide 46
A sample file with multiple shapes

Building primitive shapes
A sample file with multiple shapes
#VRML V2.0 utf8

Shape {

    appearance Appearance {

        material Material { }

    }

    geometry Box {

        size 1.0 1.0 1.0

    }

}

Shape {

    appearance Appearance {

        material Material { }

    }

    geometry Sphere {

        radius 0.7

    }

}

. . .