#VRML V2.0 utf8
WorldInfo { title "plane_finish" info "by Young Oh February 2000" } Viewpoint { position 10 3 130 } Group { children [ DEF DRAG PlaneSensor { minPosition -200 10 maxPosition 200 -2 } DEF PLANE Transform { translation -5 0 0 rotation 1 0 0 .03 children [ Transform { rotation 0 1 0 1 children [ Transform { rotation 1 0 0 -.8 children [ Transform { translation 0 0 0 rotation 0 0 1 1.57 children [ DEF BOX Shape { appearance Appearance { material Material { diffuseColor 1 1 1 } } geometry Cylinder{ height 50 radius 10 } } ] } Transform { translation 15 20 0 rotation 1 0 0 -.45 children DEF WING Shape { appearance Appearance { material Material { diffuseColor 1 1 1 } } geometry Box { size 20 30 3 } } } Transform { translation 15 -20 0 rotation 1 0 0 .45 children USE WING } Transform { translation 23 -15 3 rotation 0 0 1 1.57 children [ DEF WING_ENGINE Shape { appearance Appearance { material Material { diffuseColor .5 .5 .5 } } geometry Cone { bottomRadius 4 height 10 } } ] } Transform { translation 23 15 3 rotation 0 0 1 1.57 children USE WING_ENGINE } DEF MOSE Transform { translation -34.7 0 0 rotation 0 0 1 1.57 children [ Shape { appearance Appearance { material Material { diffuseColor 0 1 1 } } geometry Cone{ bottomRadius 10.2 height 20 } } ] } Transform { children [ DEF MISSLE Transform { translation 13.5 35 -8 rotation 0 0 1 1.57 children DEF MISSLE_BODY Shape { appearance Appearance { material Material { diffuseColor 1 .2 1 } } geometry Cylinder { radius 2 height 30 } } } ] } Transform { translation -6 35 -8 rotation 0 0 1 1.57 children DEF MISSLE_TOP Shape { appearance Appearance { material Material { } } geometry Cone { bottomRadius 2 height 10 } } } Transform { translation 13.5 -35 -8 rotation 0 0 1 1.57 children USE MISSLE_BODY } Transform { translation -6 -35 -8 rotation 0 0 1 1.57 children USE MISSLE_TOP } DEF TAIL Transform { translation 15 0 10 children Shape { appearance Appearance { material Material { diffuseColor 1 1 1 } } geometry Box { size 18 3 35 } } } Transform { translation 13.5 0 27 rotation 0 0 1 1.57 children USE MISSLE_BODY } Transform { translation -6 0 27 rotation 0 0 1 1.57 children USE MISSLE_TOP } Transform { translation 25 0 0 scale 1 2 1 children DEF MAIN_BOOST Shape { appearance Appearance { material Material { diffuseColor .5 .5 .5 } } geometry Sphere { radius .5 } } } Transform { translation 52.7 14.9 3 rotation 0 0 1 -1.57 children DEF WING_ENGINE_FIRE Shape { appearance Appearance { material DEF ENGINE_FIRE Material { diffuseColor .7 .4 0 transparency .5 } } geometry Cone { bottomRadius 4 height 50 } } } Transform { translation 52.7 -14.9 3 rotation 0 0 1 -1.57 children USE WING_ENGINE_FIRE } DEF MAIN_BOOST_FIRE Transform { translation 45 .7 0 rotation 0 0 1 -1.55 children Shape { appearance Appearance { material DEF MAIN_FIRE Material { diffuseColor 1 1 0 transparency .5 } } geometry Cone { bottomRadius 10.3 height 40 } } } Transform { translation 13.5 24.3 -6 rotation 0 0 1 1.57 children USE MISSLE_BODY } Transform { translation -6 24.3 -6 rotation 0 0 1 1.57 children USE MISSLE_TOP } Transform{ translation 13.5 -24.3 -6 rotation 0 0 1 1.57 children USE MISSLE_BODY } Transform { translation -6 -24.3 -6 rotation 0 0 1 1.57 children USE MISSLE_TOP } Transform { translation 13.5 29 -8.3 rotation 0 0 1 1.57 children USE MISSLE_BODY } Transform { translation -6 29 -8.3 rotation 0 0 1 1.57 children USE MISSLE_TOP } Transform{ translation 13.5 -29 -8.3 rotation 0 0 1 1.57 children USE MISSLE_BODY } Transform { translation -6 -29 -8.3 rotation 0 0 1 1.57 children USE MISSLE_TOP } Transform { translation 13.5 20 -4 rotation 0 0 1 1.57 children USE MISSLE_BODY } Transform { translation -6 20 -4 rotation 0 0 1 1.57 children USE MISSLE_TOP } Transform { translation 13.5 -20 -4 rotation 0 0 1 1.57 children USE MISSLE_BODY } Transform { translation -6 -20 -4 rotation 0 0 1 1.57 children USE MISSLE_TOP } Transform { translation 9 -12 5.7 rotation 1 0 0 .45 children Shape { appearance Appearance { material Material { diffuseColor .2 .2 .2 } } geometry Text { string [" ", "O", "H "] fontStyle FontStyle { size 10 style "BOLD" } } } } Transform { translation 23 2.2 4 rotation 1 0 0 -.45 children [ Transform { rotation 0 0 1 3.14 children [ Transform { translation 9 -12.5 5.7 children Shape { appearance Appearance { material Material { diffuseColor .2 .2 .2 } } geometry Text { string ["Y", "O", "U", "N", "G"] fontStyle FontStyle { size 5 style "BOLD" } } } } ] } ] } DEF WING_LIGHTS Group { children [ Transform { translation 5 -9 5.4 children [ Shape { appearance Appearance { material DEF LIGHT_1 Material { diffuseColor 0 0 1 } } geometry Sphere { radius .5 } } ] } Transform { translation 5 -12.4 3.7 children [ Shape { appearance Appearance { material DEF LIGHT_2 Material { diffuseColor 0 0 1 } } geometry Sphere { radius .5 } } ] #children USE WING_LIGHT } Transform { translation 5 -15.5 2.4 children [ Shape { appearance Appearance { material DEF LIGHT_3 Material { diffuseColor 0 0 1 } } geometry Sphere { radius .5 } } ] #children USE WING_LIGHT } Transform { translation 5 -18.5 .9 children [ Shape { appearance Appearance { material DEF LIGHT_4 Material { diffuseColor 0 0 1 } } geometry Sphere { radius .5 } } ] #children USE WING_LIGHT } Transform { translation 5 -22 -.8 children [ Shape { appearance Appearance { material DEF LIGHT_5 Material { diffuseColor 0 0 1 } } geometry Sphere { radius .5 } } ] #children USE WING_LIGHT } Transform { translation 5 -25.5 -2.5 children [ Shape { appearance Appearance { material DEF LIGHT_6 Material { diffuseColor 0 0 1 } } geometry Sphere { radius .5 } } ] #children USE WING_LIGHT } Transform { translation 5 -28.5 -4.3 children [ Shape { appearance Appearance { material DEF LIGHT_7 Material { diffuseColor 0 0 1 } } geometry Sphere { radius .5 } } ] #children USE WING_LIGHT } Transform { translation 5 -32 -5.8 children [ Shape { appearance Appearance { material DEF LIGHT_8 Material { diffuseColor 0 0 1 } } geometry Sphere { radius .5 } } ] #children USE WING_LIGHT } ] } Transform { translation 0 33 -16.2 rotation 1 0 0 -.92 #translation 0 3 5 children USE WING_LIGHTS } ] } ] } ] } ] } DEF main_boost_fireClock TimeSensor { cycleInterval 4 loop TRUE } DEF wing_engine_fireClock TimeSensor { cycleInterval 5 loop TRUE } DEF light_1Clock TimeSensor { cycleInterval 3 loop TRUE } DEF light_2Clock TimeSensor{ cycleInterval 7 loop TRUE } DEF light_3Clock TimeSensor{ cycleInterval 2 loop TRUE } DEF light_4Clock TimeSensor{ cycleInterval 5 loop TRUE } DEF light_5Clock TimeSensor{ cycleInterval 8 loop TRUE } DEF light_6Clock TimeSensor{ cycleInterval 3 loop TRUE } DEF light_7Clock TimeSensor{ cycleInterval 7 loop TRUE } DEF light_8Clock TimeSensor{ cycleInterval 2 loop TRUE } DEF main_boost_fireColor ColorInterpolator { key [0 0.5 1] keyValue [1 1 0, 1 .5 .3, 1 1 0] } DEF wing_engine_fireColor ColorInterpolator { key [0 0.5 1] keyValue [1 .5 .3, 1 1 0, 1 .5 .3] } DEF light_1Color ColorInterpolator { key [0 0.2 0.5 0.7 1 ] keyValue [0 0 1, 1 0 0, 0 1 0, 1 1 0, 0 0 1] } DEF light_2Color ColorInterpolator { key [0 0.2 0.5 0.7 1 ] keyValue [0 1 1, 1 1 0, .3 .3 .3, 0 0 1, 0 1 1] } DEF light_3Color ColorInterpolator { key [0 0.2 0.5 0.7 1 ] keyValue [1 1 0, 0 .3 .5, 1 0 1, 1 1 0, 1 1 0] } DEF light_4Color ColorInterpolator { key [0 0.2 0.5 0.7 1 ] keyValue [1 0 0, 0 0 1, 1 0 1, 0 1 0, 1 0 0] } DEF light_5Color ColorInterpolator { key [0 0.2 0.5 0.7 1 ] keyValue [.2 .5 .1, 0 .5 .5, 1 .3 0, .6 .6 .2, .2 .5 .1] } DEF light_6Color ColorInterpolator { key [0 0.2 0.5 0.7 1 ] keyValue [1 0 0, 0 1 0, 0 0 1, 1 0 1, 1 0 0 ] } DEF light_7Color ColorInterpolator { key [0 0.2 0.5 0.7 1 ] keyValue [0 1 0, 1 0 0, 0 1 1, 1 1 0, 0 1 0] } DEF light_8Color ColorInterpolator { key [0 0.2 0.5 0.7 1 ] keyValue [1 0 0, 1 1 1, 0 0 1, 1 1 0, 1 0 0] } ROUTE light_1Clock.fraction_changed TO light_1Color.set_fraction ROUTE light_1Color.value_changed TO LIGHT_1.diffuseColor ROUTE light_2Clock.fraction_changed TO light_2Color.set_fraction ROUTE light_2Color.value_changed TO LIGHT_2.diffuseColor ROUTE light_3Clock.fraction_changed TO light_3Color.set_fraction ROUTE light_3Color.value_changed TO LIGHT_3.diffuseColor ROUTE light_4Clock.fraction_changed TO light_4Color.set_fraction ROUTE light_4Color.value_changed TO LIGHT_4.diffuseColor ROUTE light_5Clock.fraction_changed TO light_5Color.set_fraction ROUTE light_5Color.value_changed TO LIGHT_5.diffuseColor ROUTE light_6Clock.fraction_changed TO light_6Color.set_fraction ROUTE light_6Color.value_changed TO LIGHT_6.diffuseColor ROUTE light_7Clock.fraction_changed TO light_7Color.set_fraction ROUTE light_7Color.value_changed TO LIGHT_7.diffuseColor ROUTE light_8Clock.fraction_changed TO light_8Color.set_fraction ROUTE light_8Color.value_changed TO LIGHT_8.diffuseColor ROUTE main_boost_fireClock.fraction_changed TO main_boost_fireColor.set_fraction ROUTE main_boost_fireColor.value_changed TO MAIN_FIRE.diffuseColor ROUTE wing_engine_fireClock.fraction_changed TO wing_engine_fireColor.set_fraction ROUTE wing_engine_fireColor.value_changed TO ENGINE_FIRE.diffuseColor ROUTE DRAG.translation_changed TO PLANE.translation Viewpoint { position 0 0 400 orientation 0 1 50 -.09 description "EXAMINE" }