#X3D V3.0 utf8 PROFILE Immersive # [X3D] version=3.0 # [X3D] noNamespaceSchemaLocation=https://www.web3d.org/specifications/x3d-3.0.xsd # X3D-to-ClassicVRML XSL translation autogenerated by X3dToClassicVrmlEncoding.xslt and X3dToVrml97.xslt # https://www.web3d.org/x3d/content/X3dToClassicVrmlEncoding.xslt # https://www.web3d.org/x3d/content/X3dToVrml97.xslt # Transformation using XSLT processor: Saxonica # head META "title" "Radar.x3d" META "created" "1 September 2004" META "modified" "20 October 2019" META "creator" "Tay Yeong Kiang Winston" META "identifier" "https://savage.nps.edu/Savage/ShipsMilitary/HovercraftSnr6Singapore/Radar.x3d" META "description" "Creates the rotating radar element of the hovercraft" META "license" "../../license.html" # [Scene] ========== ========== ========== WorldInfo { title "Radar.x3d" } Group { children [ DEF Radar Transform { children [ Transform { rotation 0 0 1 -0.1 translation 0 0.5 0 children [ Shape { geometry Box { size 0.8 0.05 4 } appearance Appearance { material Material { ambientIntensity 0.0 diffuseColor 0.0 0.0 0.0 shininess 0.056122 specularColor 0.918367 0.910614 0.885116 } } } ] } Transform { translation -0.4 0.6 0 children [ Shape { geometry Box { size 0.1 0.2 4 } appearance Appearance { material Material { ambientIntensity 0.0 diffuseColor 0.0 0.0 0.0 shininess 0.056122 specularColor 0.918367 0.910614 0.885116 } } } ] } Shape { geometry Extrusion { crossSection [ 1.00 0.00 0.92 -0.38 0.71 -0.71 0.38 -0.92 0.00 -1.00 -0.38 -0.92 -0.71 -0.71 -0.92 -0.38 -1.00 -0.00 -0.92 0.38 -0.71 0.71 -0.38 0.92 0.00 1.00 0.38 0.92 0.71 0.71 0.92 0.38 1.00 0.00 ] scale [ 0.2 0.2 0.15 0.15 0.1 0.1 ] spine [ 0 0 0 0 0.25 0 0 0.5 0 ] } appearance Appearance { material Material { ambientIntensity 0.0 diffuseColor 0.0 0.0 0.0 shininess 0.056122 specularColor 0.918367 0.910614 0.885116 } } } ] } DEF CLOCK TimeSensor { cycleInterval 4 loop TRUE } DEF RadarPath OrientationInterpolator { key [ 0 0.5 1 ] keyValue [ 0.0 1.0 0.0 0.0 0.0 1.0 0.0 3.14 0.0 1.0 0.0 6.28 ] } ] } ROUTE CLOCK.fraction_changed TO RadarPath.set_fraction ROUTE RadarPath.value_changed TO Radar.set_rotation