Indice Generale | Struttura Gerarchica |
#VRML V2.0 utf8 #File PLUTONE.WRL DEF PlutoneLight Transform { translation 0 0 21820 children [ SpotLight { direction 0 0 1 beamWidth 0.785 cutOffAngle 0.785 radius 80 intensity 0.8 } ] } } DEF Plutone Transform { translation 0 0 21980 children [ Shape { appearance Sony_Appearance { description "PLUTONE" material Material { diffuseColor 1 1 1 emissiveColor 0 0 0 } texture DEF PlutoneTexture ImageTexture { url "..\..\images\plutone.jpg" } textureTransform TextureTransform { scale 1 1 } } geometry Sphere { radius 80 } } ] } DEF PlutoneTime TimeSensor { cycleInterval 2 loop TRUE stopTime -1 } DEF PlutoneRotation OrientationInterpolator { key [0, 0.25, 0.5, 0.75, 1] keyValue [ 0.12 -0.99 0.0 0.0, 0.12 -0.99 0.0 1.57, 0.12 -0.99 0.0 3.14, 0.12 -0.99 0.0 4.71, 0.12 -0.99 0.0 6.28 ] } ROUTE PlutoneTime.fraction_changed TO PlutoneRotation.set_fraction ROUTE PlutoneRotation.value_changed TO Plutone.set_rotation