The "code" for the VRML example

#VRML V1.0 ascii

Separator {
    PerspectiveCamera {
        position    0 8 15
        orientation 1 0 0 -0.4
    }
    Separator {
		Translation { translation 3 2 3 }
		Material {
			diffuseColor	.6 .3 .9
		}
    	Sphere {Radius 6 }
    }
    Separator {
		Translation { translation -3 2 -3 }
		Material {
			diffuseColor	.4 .7 .9
		}
    	Cone { }
    }
    Separator {
		Translation { translation 3 2 -3 }
		Material {
			diffuseColor	.9 .1 .4
		}
    	Cylinder { }
    }
    Separator {
		Translation { translation -3 2 3 }
		Material {
			diffuseColor	.6 .3 .1
		}
    	Cube { }
    } 
    }
}
Simple isn't it?

Back