#VRML V2.0 utf8 WorldInfo { title "Logo A&D Design" info "By vr0307" } NavigationInfo { type "NONE" } Background { skyColor 1 0.75 0 } EXTERNPROTO bullet [ exposedField SFVec3f translation exposedField SFVec3f scale exposedField SFRotation rotation ] "bullet.wrl" DEF VISIBLE VisibilitySensor { center 0 0 0 size 1 1 1 enabled TRUE } DEF TIMER TimeSensor { cycleInterval 10 loop TRUE } DEF ROTATER OrientationInterpolator { key [0, 0.25, 0.5, 0.75 1] keyValue [0 1 0 6.28, 0 1 0 4.71 0 1 0 3.14, 0 1 0 1.57, 0 1 0 0] } DEF BULLET bullet { translation 0 0 0 scale 1 1 1 rotation 0 0 0 0 } PROTO logo [ exposedField SFVec3f translation 0 0 0 exposedField SFVec3f scale 1 1 1 exposedField SFRotation rotation 0 0 0 0 ] { Anchor { children [ Transform { translation IS translation scale IS scale rotation IS rotation children [ # Bullet bullet { } # Text Transform { translation 0.1 0 0 children [ # Child 1: Text "A & D" Transform { rotation 0 0 0 0 translation 0 0.6 0 children [ Shape { appearance DEF TEXT Appearance { material Material { diffuseColor .149 .149 .149 ambientIntensity 0 shininess 1 } } geometry Text { string "A & D" fontStyle FontStyle { size 2 family "SANS" style "BOLD" justify "MIDDLE" } } } ] } # Child 2: Text "Design" Transform { rotation 0 0 0 0 translation 0 -1.25 0 children [ Shape { appearance USE TEXT geometry Text { string "Design" fontStyle FontStyle { size 1 family "SANS" justify "MIDDLE" } } } ] } ] } ] } ] description "To the vr0307 Website" url "http://www.cs.vu.nl/~vr0307" } } logo { translation 0 0 0 scale 1 1 1 rotation 0 0 0 0 } ROUTE VISIBLE.isActive TO TIMER.enabled ROUTE TIMER.fraction_changed TO ROTATER.set_fraction ROUTE ROTATER.value_changed TO BULLET.set_rotation