#VRML V2.0 utf8 WorldInfo { title "Floppy's VRML97 Tutorial Example 9" info ["(C) Copyright 1999 Vapour Technology" "vrmlguide@vapourtech.com"] } PROTO ickleCone [ field SFVec3f position 0 0 0 ] { Transform { translation IS position children [ Shape { appearance Appearance { material Material { diffuseColor 1 0 0 } } geometry Cone { bottomRadius 0.3 height 1 bottom FALSE } } ] } } Background { groundColor [0.11 0.33 0.08, 0.21 0.66 0.17] groundAngle 1.5 skyColor [0.21 0.31 0.45, 0.42 0.63 0.89] skyAngle 1.64 } Sound { minBack 5 minFront 5 maxFront 50 minFront 50 source AudioClip { description "Drum Noise" loop TRUE url "drum.wav" } spatialize TRUE } DEF MONUMENT Group { children [ Shape { appearance Appearance { material Material { diffuseColor 0.5 0 0 emissiveColor 0.8 0 0 transparency 0.5 } } geometry Cylinder { radius 0.35 height 3 bottom FALSE } } Transform { translation 0 -2 0 children [ Shape { appearance Appearance { texture ImageTexture { url "brick.jpg" repeatS TRUE repeatT TRUE } } geometry Box { size 4 1 4 } } ] } ickleCone { position 1.6 -1 1.6 } ickleCone { position -1.6 -1 -1.6 } ickleCone { position -1.6 -1 1.6 } ickleCone { position 1.6 -1 -1.6 } Anchor { children [ Transform { translation 0 2.25 0 children [ Shape { appearance Appearance { texture ImageTexture { url "me.jpg" } } geometry Sphere { radius 0.75 } } ] } ] description "Back to the Tutorial" url "../tut8.html" } Transform { translation 0 -2.2 2.01 children [ Shape { appearance Appearance { material Material { diffuseColor 0 1 0 } } geometry Text { string "FloppyWorld" fontStyle FontStyle { size 0.8 justify "MIDDLE" } } } ] } ] } DEF CAMERAS Group { children [ DEF norm Viewpoint { position 0 0 10 description "Normal Entry" } DEF aerial Viewpoint { position 0 5 10 orientation 1 0 0 -0.39 description "Aerial View" } DEF headcam Viewpoint { position 0 2.4 4 fieldOfView 0.39 description "HeadCam" } ] }
© Copyright 1999 Vapour Technology - vrmlguide@vapourtech.com - http://www.vapourtech.com/vrmlguide