#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" "Bushmaster.x3d" META "description" "Boeing Bushmaster II 30mm AAAV gun" META "creator" "William Geissler" META "created" "21 January 2001" META "modified" "20 October 2019" META "identifier" "https://savage.nps.edu/Savage/GroundVehicles/MEFFV/Bushmaster.x3d" META "generator" "X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit" META "license" "../../license.html" # [Scene] ========== ========== ========== WorldInfo { info [ "AAAV 30mm cannon" ] title "Bushmaster II" } DEF Bushmaster Transform { rotation 1 0 0 1.57 children [ DEF Coaxial-Gun Transform { translation 0.5 0.5 0.5 children [ Transform { translation 0.25 2 -1 children [ DEF Coax-Barrel Shape { geometry Cylinder { radius 0.1 } appearance Appearance { material Material { diffuseColor 0.15 0.25 0.05 } } } ] } Transform { scale 0.9 0.9 0.9 translation 0.25 3.18 -1 children [ DEF Coax-Flash-Suppressor Group { children [ Shape { appearance Appearance { material Material { diffuseColor 0.2 0.2 0.2 } } geometry Extrusion { ccw FALSE creaseAngle 0.785 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 0.80 0.00 0.74 -0.31 0.57 -0.57 0.31 -0.74 0.00 -0.80 -0.31 -0.74 -0.57 -0.57 -0.74 -0.31 -0.80 0.00 -0.74 0.31 -0.57 0.57 -0.31 0.74 0.00 0.80 0.31 0.74 0.57 0.57 0.74 0.31 0.80 0.00 ] scale [ .125 .125 .125 .125 ] spine [ 0.0 -0.2 0.0 0.0 0.2 0.0 ] } } Transform { translation 0 -0.24 0 children [ Shape { geometry Cylinder { bottom FALSE height 0.1 radius 0.07 side FALSE } appearance Appearance { material Material { diffuseColor 0 0 0 } } } ] } ] } ] } ] } DEF Gun-System Group { children [ Shape { geometry Box { } appearance Appearance { texture ImageTexture { url [ "green1.jpg" "https://savage.nps.edu/Savage/GroundVehicles/MEFFV/green1.jpg" ] } } } Transform { translation 0 2 0 children [ DEF Mount Shape { geometry Cone { bottom FALSE bottomRadius 0.5 height 4 } appearance Appearance { material Material { diffuseColor 0.15 0.25 0.05 } } } ] } Transform { scale 1 6 1 translation 0 5.3 0 children [ DEF GunBarrel Shape { geometry Cylinder { bottom FALSE height 1 radius .1 } appearance Appearance { material Material { diffuseColor 0.15 0.25 0.05 } } } ] } Transform { translation 0 8.5 0 children [ DEF FlashSuppressor Group { children [ Shape { appearance Appearance { material Material { diffuseColor 0.2 0.2 0.2 } } geometry Extrusion { ccw FALSE creaseAngle 0.785 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 0.80 0.00 0.74 -0.31 0.57 -0.57 0.31 -0.74 0.00 -0.80 -0.31 -0.74 -0.57 -0.57 -0.74 -0.31 -0.80 0.00 -0.74 0.31 -0.57 0.57 -0.31 0.74 0.00 0.80 0.31 0.74 0.57 0.57 0.74 0.31 0.80 0.00 ] scale [ .125 .125 .125 .125 ] spine [ 0.0 -0.2 0.0 0.0 0.2 0.0 ] } } Transform { translation 0 -0.24 0 children [ Shape { geometry Cylinder { bottom FALSE height 0.1 radius 0.07 side FALSE } appearance Appearance { material Material { diffuseColor 0 0 0 } } } ] } ] } ] } ] } Sound { location 0 0 8.5 maxBack 100 maxFront 100 minBack 0 minFront 0 source DEF Source AudioClip { url [ "tone1.wav" "https://savage.nps.edu/Savage/AmphibiousVehicles/AAAV/tone1.wav" ] } } DEF FireSensor TouchSensor { description "click to fire" } DEF CLOCK TimeSensor { } ] } DEF PROJECTILE Transform { rotation 1 0 0 1.57 scale .1 .1 .1 children [ Inline { url [ "HotLead.x3d" "https://savage.nps.edu/Savage/AmphibiousVehicles/AAAV/HotLead.x3d" "HotLead.wrl" "https://savage.nps.edu/Savage/AmphibiousVehicles/AAAV/HotLead.wrl" ] } DEF PROJECTILEPATH PositionInterpolator { key [ 0.00 0.00 0.02 0.04 0.06 0.08 0.10 0.12 0.14 0.16 0.18 0.18 0.20 0.20 0.22 0.24 0.26 0.28 0.30 0.32 0.34 0.36 0.38 0.38 0.40 0.40 0.42 0.44 0.46 0.48 0.50 0.52 0.54 0.56 0.58 0.58 0.60 0.60 0.62 0.64 0.66 0.68 0.70 0.72 0.74 0.76 0.78 0.78 0.80 0.80 0.82 0.84 0.86 0.88 0.90 0.92 0.94 0.96 0.98 0.98 ] keyValue [ 0.0 0.0 0.0 0.0 0.0 9.0 0.0 0.0 24.0 0.0 0.0 36.0 0.0 0.0 48.0 0.0 0.0 60.0 0.0 0.0 72.0 0.0 0.0 84.0 0.0 0.0 96.0 0.0 0.0 108.0 0.0 0.0 120.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 9.0 0.0 0.0 24.0 0.0 0.0 36.0 0.0 0.0 48.0 0.0 0.0 60.0 0.0 0.0 72.0 0.0 0.0 84.0 0.0 0.0 96.0 0.0 0.0 108.0 0.0 0.0 120.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 9.0 0.0 0.0 24.0 0.0 0.0 36.0 0.0 0.0 48.0 0.0 0.0 60.0 0.0 0.0 72.0 0.0 0.0 84.0 0.0 0.0 96.0 0.0 0.0 108.0 0.0 0.0 120.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 9.0 0.0 0.0 24.0 0.0 0.0 36.0 0.0 0.0 48.0 0.0 0.0 60.0 0.0 0.0 72.0 0.0 0.0 84.0 0.0 0.0 96.0 0.0 0.0 108.0 0.0 0.0 120.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 9.0 0.0 0.0 24.0 0.0 0.0 36.0 0.0 0.0 48.0 0.0 0.0 60.0 0.0 0.0 72.0 0.0 0.0 84.0 0.0 0.0 96.0 0.0 0.0 108.0 0.0 0.0 120.0 0.0 0.0 0.0 ] } ] } ROUTE FireSensor.touchTime TO CLOCK.set_startTime ROUTE CLOCK.fraction_changed TO PROJECTILEPATH.set_fraction ROUTE PROJECTILEPATH.value_changed TO PROJECTILE.set_translation ROUTE FireSensor.touchTime TO Source.set_startTime