Indice Generale | Struttura Gerarchica |
#VRML V2.0 utf8 #File LUNA.WRL DEF Luna Transform { scale 28 28 28 translation -200 0 0 children [ Shape { appearance Sony_Appearance { description "Luna" material Material { diffuseColor 0.5 0.5 0.5 emissiveColor 0 0 0 } texture DEF LunaTexture ImageTexture { url "..\..\images\sat1.jpg" } textureTransform TextureTransform { scale 1 1 } } geometry Sphere {} } ] } DEF LunaTime TimeSensor { cycleInterval 0.5 loop TRUE stopTime -1 } DEF LunaRotation OrientationInterpolator { key [0, 0.25, 0.5, 0.75, 1] keyValue [ 0.39 -0.92 0.0 0.0, 0.39 -0.92 0.0 1.57, 0.39 -0.92 0.0 3.14, 0.39 -0.92 0.0 4.71, 0.39 -0.92 0.0 6.28 ] } ROUTE LunaTime.fraction_changed TO LunaRotation.set_fraction ROUTE LunaRotation.value_changed TO Luna.set_rotation