DEF BOX_TRANSFORM Transform { translation 0 0 0 rotation 0 1 0 .7 children DEF BOX_SHAPE Shape { appearance Appearance { material Material { diffuseColor 1 0 0 } } geometry DEF IFS IndexedFaceSet { coord Coordinate { point [ -1 1 1, -1 -1 1, 1 1 1, 1 -1 1, 1 1 -1, 1 -1 -1, -1 1 -1, -1 -1 -1 ] } coordIndex [ 0, 1, 3, 2, -1, 4, 5, 7, 6, -1, 6, 7, 1, 0, -1, 2, 3, 5, 4, -1, 6, 0, 2, 4, -1, 1, 7, 5, 3, -1 ] } #end IndexedFaceSet } #end of Shape } #end of Transform Viewpoint { position 0 0 5 }