#VRML V2.0 utf8 WorldInfo { title "Floppy's VRML97 Tutorial Example 15a" info ["(C) Copyright 1999 Vapour Technology" "vrmlguide@vapourtech.com"] } Background { skyColor 0.45 0.89 0.97 groundAngle [1.5] groundColor [0 0 1, 0 0 1] } DEF ENTRY Viewpoint { description "Entry Point" position 0 1.6 0 } Group { children [ Shape { appearance Appearance { texture ImageTexture { url "sand.jpg" } } geometry Cylinder { radius 10 height 0.0001 } } Transform { translation 2 2 -5 children [ DEF PALMTREE Billboard { children [ Shape { appearance Appearance { material Material { transparency 1 } texture ImageTexture { url "tree.png" } } geometry Box { size 1 4 0.0001 } } ] } ] } Transform { translation 1 2 1 children [ USE PALMTREE ] } Transform { translation 3 2 7 children [ USE PALMTREE ] } Transform { translation -4 2 -8 children [ USE PALMTREE ] } Transform { translation -2 2 5 children [ USE PALMTREE ] } Transform { translation 6 2 1 children [ USE PALMTREE ] } Transform { translation 2 2 3 children [ USE PALMTREE ] } Transform { translation -4 2 4 children [ USE PALMTREE ] } Transform { translation -5 2 -5 children [ USE PALMTREE ] } Transform { translation 1 2 8 children [ USE PALMTREE ] } ] }
© Copyright 1999 Vapour Technology - vrmlguide@vapourtech.com - http://www.vapourtech.com/vrmlguide