#VRML V2.0 utf8 WorldInfo { title "Floppy's VRML97 Tutorial Example 11b" info ["(C) Copyright 1999 Vapour Technology" "vrmlguide@vapourtech.com"] } NavigationInfo { headlight FALSE type "EXAMINE" } DirectionalLight { ambientIntensity 0.75 direction 0 -1 -1 } Transform { translation -5 0 0 children [ Shape { appearance DEF PYRAMIDAPP Appearance { material Material { diffuseColor 0 0 1 } } geometry IndexedFaceSet { coord DEF COORD Coordinate { point [ 1 0 -1, -1 0 -1, -1 0 1, 1 0 1, 0 2 0 ] } coordIndex [ 0 4 3 -1 1 4 0 -1 2 4 1 -1 3 4 2 -1 0 3 2 1 -1 ] } } ] } Transform { children [ Shape { appearance USE PYRAMIDAPP geometry IndexedFaceSet { coord USE COORD coordIndex [ 0 4 3 -1 1 4 0 -1 2 4 1 -1 3 4 2 -1 0 3 2 1 -1 ] normalPerVertex FALSE normal Normal { vector [ 1 0 1, -1 0 -1, -1 0 -1, 1 0 1, 0 0 1 ] } } } ] } Transform { translation 5 0 0 children [ Shape { appearance USE PYRAMIDAPP geometry IndexedFaceSet { coord USE COORD coordIndex [ 0 4 3 -1 1 4 0 -1 2 4 1 -1 3 4 2 -1 0 3 2 1 -1 ] normalPerVertex TRUE normal Normal { vector [ 1 0 1, -1 0 -1, 1 0 -1, -1 0 1, 0 1 0 ] } } } ] }
© Copyright 1999 Vapour Technology - vrmlguide@vapourtech.com - http://www.vapourtech.com/vrmlguide