#VRML V2.0 utf8 Viewpoint { position 0 0 10 orientation 0 1 0 0 } DirectionalLight { direction 0 -1 0 } #### Creation of a robot head #### Transform { children [ #### The Cranium #### Transform { translation 0 0 0 scale 1 2 1 children Shape { appearance Appearance { material Material { diffuseColor 1 0 0 } } geometry Sphere { radius 1.75 } } } #### The Eyes #### Transform { translation -0.75 1.1 1.75 scale 1 1 1 children Shape { appearance Appearance { material Material { diffuseColor 1 1 1 } } geometry Sphere { radius 0.4 } } } Transform { translation 0.75 1.1 1.75 scale 1 1 1 children Shape { appearance Appearance { material Material { diffuseColor 1 1 1 } } geometry Sphere { radius 0.4 } } } #### The Mouth #### Transform { translation 0 -1 1.4 scale 1 2 1 rotation 0 0 1 1.57 children Shape { appearance Appearance { material Material { diffuseColor 0 0 0 } } geometry Sphere { radius 0.65 } } } #### The Ears #### Transform { translation 1.75 0.75 0 rotation 0 0 1 0.78 children Shape { appearance Appearance { material Material { diffuseColor 0 0 1 } } geometry Box { size 1 1 1 } } } Transform { translation -1.75 0.75 0 rotation 0 0 1 0.78 children Shape { appearance Appearance { material Material { diffuseColor 0 0 1 } } geometry Box { size 1 1 1 } } } #### The Nose #### Transform { translation 0 0.6 2.5 scale 1 2 1 rotation 1 0 0 1.57 children Shape { appearance Appearance { material Material { diffuseColor 0 1 0 } } geometry Cone{ height 1 bottomRadius 0.6 } } } ] }