#VRML V2.0 utf8 #
##ex-group.wrl # Example : Grouping example # (from Fabiana's example) # Grouping a cube and a cone Group { children [ Transform { translation 3 .5 0 children [ # Defining the cone Shape { geometry Cone {} appearance Appearance { material Material { diffuseColor .8 .1 .1 } } } Transform { translation -5.2 .2 1 rotation 0 1 1 .9 # Defining the green box children Shape { geometry Box {} appearance Appearance { material Material { specularColor 0 1 0 } } } } ] } ] } #