#VRML V2.0 utf8 WorldInfo { title "MMA Assignment 2: Logo revision" info ["Aäron Jansen" "Studentnumber: 1262602" "Studying: AI" "ajansen@few.vu.nl"] } PROTO logo [ exposedField MFString url [ "index.html" ] exposedField SFVec3f translation 0 0 0 exposedField SFVec3f scale 1 1 1 ] { Transform { scale IS scale translation IS translation children [ Anchor { url IS url children [ Shape { appearance Appearance { texture ImageTexture { url "earth1-texture.jpg" } } geometry Sphere { radius 0.75 } } Shape { appearance Appearance { material Material { diffuseColor 0.5 0.5 0.5 emissiveColor 0.5 0.5 0.5 transparency 0.9 } } geometry Box { size 2 2 2 } } ] description "Back to Home" } Transform { translation 0 -1.2 2.01 children [ Shape { appearance Appearance { material Material { diffuseColor 1 1 1 } } geometry Text { string "World in a Box" fontStyle FontStyle { size 0.5 family "SANS" style "BOLD" justify "MIDDLE" } } } ] } ] } } logo { url "../index.html" #scale 0.5 0.5 0.5 #translation -5 2.5 0 } Group { children [ DEF norm Viewpoint { position 0 0 10 orientation 1 0 0 0 description "Normal Entry" } DEF aerial Viewpoint { position 0 5 10 orientation 1 0 0 -0.39 description "Aerial View" } DEF aerial-side Viewpoint { position 5 5 5 orientation -0.59 0.77 0.24 0.99 description "Aerial View: To the side" } ] } Background { skyColor 0.2 0.2 0.2 }