#VRML V2.0 utf8 Background{ skyColor[0.0 0.1 0.8, 0.0 0.5 1.0, 1.0 1.0 1.0] skyAngle[0.785, 1.571] groundColor[ 0.0 0.0 0.0, 0.3 0.3 0.3, 0.5 0.5 0.5] groundAngle [0.785, 1.571] } DEF Lokomotive Transform{ children[ # Lok! Transform{ children[ Shape{ appearance Appearance{ material Material{ diffuseColor 1.0 1.0 0.0}} geometry Box{ size 8.5 0.93 2.92} } ] translation 0.0 0.0 0.0 } Transform{ children[ Shape{ appearance Appearance{ material Material{ diffuseColor 0.0 0.0 1.0}} geometry Box{ size 2.41 3.54 2.41} } ] translation -2.77 2.25 0.0 } Transform{ children[ Shape{ appearance Appearance{ material Material{ diffuseColor 1.0 0.0 0.0}} geometry Cylinder{ radius 1.20 height 5.25} } ] translation 1.0 1.69 0.0 rotation 0.0 0.0 1.0 1.571 } Transform{ children[ Shape{ appearance Appearance{ material Material{ diffuseColor 1.0 1.0 0.0}} geometry Box{ size 2.94 0.5 2.94} } ] translation -2.75 4.25 0.0 } Transform{ children[ DEF Rad Shape{ appearance Appearance{ material Material{ diffuseColor 0.15 0.15 0.15}} geometry Cylinder{ radius 1.19 height 0.7} } ] translation -2.5 0.0 1.8 rotation 1.0 0.0 0.0 1.571 } Transform{ children USE Rad translation 2.5 0.0 1.8 rotation 1.0 0.0 0.0 1.571 } Transform{ children USE Rad translation -2.5 0.0 -1.8 rotation 1.0 0.0 0.0 1.571 } Transform{ children USE Rad translation 2.5 0.0 -1.8 rotation 1.0 0.0 0.0 1.571 } Transform{ children[ Shape{ appearance Appearance{ material Material{ diffuseColor 0.15 0.15 0.15}} geometry Cylinder{ radius 0.4 height 1.1} } ] translation 2.5 3.38 0.0 rotation 0.0 0.0 0.0 0.0 } #Waggon1 Transform{ children[ Shape{ appearance Appearance{ material Material{ diffuseColor 1.0 1.0 0.0}} geometry Box{ size 5.0 2.45 2.45} } ] translation -7.0 0.79 0.0 } #Waggon2 Transform{ children[ Shape{ appearance Appearance{ material Material{ diffuseColor 1.0 0.0 0.0}} geometry Box{ size 5.0 2.45 2.45} } ] translation -12.25 0.79 0.0 } #Räder Waggon1 Transform{ children USE Rad translation -5.58 0.0 1.6 rotation 1.0 0.0 0.0 1.571 } Transform{ children USE Rad translation -8.2 0.0 1.6 rotation 1.0 0.0 0.0 1.571 } Transform{ children USE Rad translation -5.58 0.0 -1.6 rotation 1.0 0.0 0.0 1.571 } Transform{ children USE Rad translation -8.2 0.0 -1.6 rotation 1.0 0.0 0.0 1.571 } #Räder Waggon2 Transform{ children USE Rad translation -10.83 0.0 1.6 rotation 1.0 0.0 0.0 1.571 } Transform{ children USE Rad translation -13.45 0.0 1.6 rotation 1.0 0.0 0.0 1.571 } Transform{ children USE Rad translation -10.83 0.0 -1.6 rotation 1.0 0.0 0.0 1.571 } Transform{ children USE Rad translation -13.45 0.0 -1.6 rotation 1.0 0.0 0.0 1.571 } Transform{ children[ DEF Licht Shape{ appearance Appearance {material Material{ diffuseColor 1.0 1.0 1.0}} geometry Sphere{ radius 0.45} } ] translation 3.65 1.8 0.0 } ] } Transform{ children[ DEF Schiene Shape{ appearance Appearance {material Material{ diffuseColor 0.5 0.5 0.5}} geometry Box{ size 120 0.1 0.25} } ] translation 45.0 -1.2 -2.0 } Transform{ children USE Schiene translation 45.0 -1.2 2.0 } Transform{ children[ DEF Brett Shape{ appearance Appearance {material Material{ diffuseColor 0.55 0.27 0.075}} geometry Box{ size 1 0.05 4.0} } ] translation -14.5 -1.2 0.0 } Transform{ children USE Brett translation -12.5 -1.2 0.0 } Transform{ children USE Brett translation -10.5 -1.2 0.0 } Transform{ children USE Brett translation -8.5 -1.2 0.0 } Transform{ children USE Brett translation -6.5 -1.2 0.0 } Transform{ children USE Brett translation -4.5 -1.2 0.0 } Transform{ children USE Brett translation -2.5 -1.2 0.0 } Transform{ children USE Brett translation -0.5 -1.2 0.0 } Transform{ children USE Brett translation 1.5 -1.2 0.0 } Transform{ children USE Brett translation 3.5 -1.2 0.0 } Transform{ children USE Brett translation 5.5 -1.2 0.0 } Transform{ children USE Brett translation 7.5 -1.2 0.0 } Transform{ children USE Brett translation 9.5 -1.2 0.0 } Transform{ children USE Brett translation 11.5 -1.2 0.0 } Transform{ children USE Brett translation 13.5 -1.2 0.0 } Transform{ children USE Brett translation 15.5 -1.2 0.0 } Transform{ children USE Brett translation 17.5 -1.2 0.0 } Transform{ children USE Brett translation 19.5 -1.2 0.0 } Transform{ children USE Brett translation 21.5 -1.2 0.0 } Transform{ children USE Brett translation 23.5 -1.2 0.0 } Transform{ children USE Brett translation 25.5 -1.2 0.0 } Transform{ children USE Brett translation 27.5 -1.2 0.0 } Transform{ children USE Brett translation 29.5 -1.2 0.0 } Transform{ children USE Brett translation 31.5 -1.2 0.0 } Transform{ children USE Brett translation 33.5 -1.2 0.0 } Transform{ children USE Brett translation 35.5 -1.2 0.0 } Transform{ children USE Brett translation 37.5 -1.2 0.0 } Transform{ children USE Brett translation 39.5 -1.2 0.0 } Transform{ children USE Brett translation 41.5 -1.2 0.0 } Transform{ children USE Brett translation 43.5 -1.2 0.0 } Transform{ children USE Brett translation 45.5 -1.2 0.0 } Transform{ children USE Brett translation 47.5 -1.2 0.0 } Transform{ children USE Brett translation 49.5 -1.2 0.0 } Transform{ children USE Brett translation 51.5 -1.2 0.0 } Transform{ children USE Brett translation 53.5 -1.2 0.0 } Transform{ children USE Brett translation 55.5 -1.2 0.0 } Transform{ children USE Brett translation 57.5 -1.2 0.0 } Transform{ children USE Brett translation 59.5 -1.2 0.0 } Transform{ children USE Brett translation 61.5 -1.2 0.0 } Transform{ children USE Brett translation 63.5 -1.2 0.0 } Transform{ children USE Brett translation 65.5 -1.2 0.0 } Transform{ children USE Brett translation 67.5 -1.2 0.0 } Transform{ children USE Brett translation 69.5 -1.2 0.0 } Transform{ children USE Brett translation 71.5 -1.2 0.0 } Transform{ children USE Brett translation 73.5 -1.2 0.0 } Transform{ children USE Brett translation 75.5 -1.2 0.0 } Transform{ children USE Brett translation 77.5 -1.2 0.0 } Transform{ children USE Brett translation 79.5 -1.2 0.0 } Transform{ children USE Brett translation 81.5 -1.2 0.0 } Transform{ children USE Brett translation 83.5 -1.2 0.0 } Transform{ children USE Brett translation 85.5 -1.2 0.0 } Transform{ children USE Brett translation 87.5 -1.2 0.0 } Transform{ children USE Brett translation 89.5 -1.2 0.0 } Transform{ children USE Brett translation 91.5 -1.2 0.0 } Transform{ children USE Brett translation 93.5 -1.2 0.0 } Transform{ children USE Brett translation 95.5 -1.2 0.0 } Transform{ children USE Brett translation 97.5 -1.2 0.0 } Transform{ children USE Brett translation 99.5 -1.2 0.0 } Transform{ children USE Brett translation 101.5 -1.2 0.0 } Transform{ children USE Brett translation 103.5 -1.2 0.0 } Transform{ children USE Brett translation 105.5 -1.2 0.0 } Transform{ children[ Shape{ appearance Appearance {material Material{ diffuseColor 0.5 0.5 0.5}} geometry Box{ size 10 3 6} } ] translation 0 0 -6 } DEF Interpolator PositionInterpolator{ key[0.0 0.75 1.0] keyValue[ 0.0 0.0 0.0, 100.0 0.0 0.0, 0.0 0.0 0.0 ] } DEF Uhr TimeSensor{ enabled FALSE cycleInterval 5.0 loop TRUE } DEF Schalter TouchSensor{} ROUTE Schalter.isActive TO Uhr.set_enabled ROUTE Uhr.fraction_changed TO Interpolator.set_fraction ROUTE Interpolator.value_changed TO Lokomotive.set_translation |