#VRML V2.0 utf8 # Scene 4 # Satellit, Erdkugel, Hintergrund # Lichtquelle, Ton, Animation # Erde kann mit der Maus gedreht werden Group { children [ # Meta-Infos Viewpoint { position 0 0 300 orientation 0 0 1 0 description "Fernansicht" }, Viewpoint { position 275 0 100 orientation 0 1 0 1 description "Nahansicht" }, Viewpoint { position 0 400 500 orientation 1 0 0 -.75 description "Ansicht von Oben" }, # Beleuchtung DirectionalLight { direction 1.0 -0.2 -0.3 color 1.0 1.0 1.0 }, NavigationInfo { headlight FALSE }, # Satellit mit Ton DEF Satellite Transform { translation 200 0 0 children [ Inline { url "ers-1f.wrl" }, Sound { source AudioClip { url "ding.wav" description "Background music" loop TRUE startTime 1 stopTime 0 }, location 0 0 0 minFront 30 minBack 30 maxFront 300 maxBack 300 spatialize TRUE }, ] }, # Erde zum Drehen DEF Earth Transform { children [ Inline { url "erde.wrl" }, DEF EarthHandle SphereSensor { } ] }, # Hintergrund Background { backUrl "stars.jpg" frontUrl "stars.jpg" leftUrl "stars.jpg" rightUrl "stars.jpg" topUrl "stars.jpg" bottomUrl "stars.jpg" } ] } # Timer DEF Timer TimeSensor { cycleInterval 30.0 loop TRUE startTime 1.0 stopTime 0.0 } # DEF Path PositionInterpolator { key [ 0.0, 0.0625, 0.125, 0.1875, 0.25, 0.3125, 0.375, 0.4375, 0.5, 0.5625, 0.625, 0.6875, 0.75, 0.8125, 0.875, 0.9375, 1 ] keyValue [ 200 0 0, 184 0 76, 142 0 142, 76 0 184, 0 0 200, -76 0 184, -142 0 142, -184 0 76, -200 0 0, -184 0 -76, -142 0 -142, -76 0 -184, 0 0 -200, 76 0 -184, 142 0 -142, 184 0 -76, 200 0 0 ] } ROUTE Timer.fraction_changed TO Path.set_fraction ROUTE Path.value_changed TO Satellite.set_translation ROUTE EarthHandle.rotation_changed TO Earth.set_rotation