<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.1//EN" "https://www.web3d.org/specifications/x3d-3.1.dtd">
<X3D profile='Immersive' version='3.1' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.1.xsd'>
  <head>
    <meta content='PredatorPrototype.x3d' name='title'/>
    <meta content='RQ-1A Predator Unmanned Aerial Vehicle armed with 4 AGM-114 Hellfire missiles' name='description'/>
    <meta content='Duane Davis' name='creator'/>
    <meta content='27 August 2004' name='created'/>
    <meta content='20 October 2019' name='modified'/>
    <meta content='https://www.fas.org/irp/program/collect/predator.htm' name='reference'/>
    <meta content='http://www.modelairplanenews.com/click_trips/dec03/uav_1.asp' name='reference'/>
    <meta content='predator, unmanned aerial vehicle' name='subject'/>
    <meta content='https://www.web3d.org/x3d/content/examples/Savage/Robots/UnmannedAirVehicles/PredatorPrototype.x3d' name='identifier'/>
    <meta content='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit' name='generator'/>
    <meta content='../../license.html' name='license'/>
  </head>
  <Scene>
    <WorldInfo title='PredatorPrototype.x3d'/>
    <ProtoDeclare appinfo='Predator unmanned air vehicle (UAV)' name='Predator'>
      <ProtoInterface>
        <field accessType='inputOutput' appinfo='default value 0 0 0' name='translation' type='SFVec3f' value='0 0 0'/>
        <field accessType='inputOutput' appinfo='default value 0 0 1 0' name='rotation' type='SFRotation' value='0 0 1 0'/>
      </ProtoInterface>
      <ProtoBody>
        <Transform DEF='PredatorTransform'>
          <IS>
            <connect nodeField='translation' protoField='translation'/>
            <connect nodeField='rotation' protoField='rotation'/>
          </IS>
          <Transform rotation='1 0 0 1.571'>
            <Group>
              <Transform rotation='1 0 0 -1.571'>
                <Shape DEF='Fusilage'>
                  <Appearance DEF='SlateGray'>
                    <Material diffuseColor='0.7 0.7 0.7' shininess='0' specularColor='0.1 0.1 0.1'/>
                  </Appearance>
                  <Extrusion creaseAngle='1.57' crossSection='-0.25 0 -0.2 0.25 -0.17 0.3 -0.1 0.4 0 0.5 0.1 0.4 0.3 0.3 0.4 0.2 0.48 0.1 0.5 0 0.48 -0.1 0.4 -0.2 0.3 -0.3 0.1 -0.4 0 -0.5 -0.1 -0.4 -0.17 -0.3 -0.2 -0.25 -0.25 0' scale='0.001 0.001 0.5 0.5 0.85 0.85 1.1 1.05 1.25 1.125 1.35 1.175 1.425 1.225 1.5 1.25 1.5 1.25 1.5 1.25 1.5 1.25 1.5 1.25 1.45 1.225 1.4 1.2 1.35 1.175 1.3 1.15 1.25 1.125 1.2 1.1 1.15 1.075 1.1 1.05 1.05 1.025 1 1 1 1 0.3 0.2' spine='4.1 0 0 3.95 0 0 3.8 0 0 3.65 0 0 3.5 0 0 3.35 0 0 3.2 0 0 3.05 0 0 2.9 0 0 2.75 0 0 2.6 0 0 2.45 0 0 2.3 0 0 2.15 0 0 2.0 0 0 1.85 0 0 1.7 0 0 1.55 0 0 1.4 0 0 1.25 0 0 1.1 0 0 1.0 0 0 -3.0 0 0 -4.1 0 0'/>
                </Shape>
                <Transform translation='1.5 -0.15 0'>
                  <Shape DEF='Wing'>
                    <Appearance USE='SlateGray'/>
                    <Extrusion creaseAngle='3.14' crossSection='0.25 0 0.2 -0.05 0.15 -0.075 0.05 -0.093 0 -0.1 -0.25 -0.08 -0.75 0.05 0 0.05 0.15 0.05 0.2 0.03 0.25 0' scale='0.5 0.5 1.25 1.25 0.5 0.5' spine='0 0 -7.39 0 0 0 0 0 7.39'/>
                  </Shape>
                  <Transform DEF='StbdBombRack1' rotation='0 1 0 3.1415927' translation='-0.25 0 1.25'>
                    <Shape DEF='BombRack'>
                      <Appearance USE='SlateGray'/>
                      <Extrusion crossSection='0.25 0 0.225 -0.01 0.2 -0.0175 0.175 -0.0225 0.125 -0.025 0 -0.025 -0.25 0 0 0.025 0.125 0.025 0.175 0.0225 0.2 0.0175 0.225 0.01 0.25 0' spine='0 0 0 0 -0.15 0'/>
                    </Shape>
                    <Transform DEF='StbdMissile1DOF' rotation='0 0 1 1.571' translation='0 -0.194275 0'>
                      <Group DEF='Hellfire'>
                        <Shape>
                          <Appearance DEF='HellfireGreen'>
                            <Material diffuseColor='0.1 0.3 0.1'/>
                          </Appearance>
                          <Cylinder height='1.6192' radius='0.08855'/>
                        </Shape>
                        <Transform translation='0 0.7 0'>
                          <Shape>
                            <Appearance>
                              <Material diffuseColor='0.65 0.65 0'/>
                            </Appearance>
                            <Cylinder height='0.025' radius='0.08856'/>
                          </Shape>
                        </Transform>
                        <Transform translation='0 0.8096 0'>
                          <Shape>
                            <Appearance USE='HellfireGreen'/>
                            <Sphere radius='0.08855'/>
                          </Shape>
                        </Transform>
                        <Transform rotation='0 1 0 0.7854' translation='0 -0.8096 0'>
                          <Shape DEF='HellfireFin'>
                            <Appearance>
                              <Material diffuseColor='0.1 0.2 0.1'/>
                            </Appearance>
                            <IndexedFaceSet coordIndex='0 1 2 3 -1 4 5 6 7 -1' solid='false'>
                              <Coordinate point='0 0 0 0 0.4 0 0 0.325 0.175 0 0 0.175 0 1.15 0 0 1.3 0 0 1.2 0.125 0 1.15 0.125'/>
                            </IndexedFaceSet>
                          </Shape>
                        </Transform>
                        <Transform rotation='0 1 0 -0.7854' translation='0 -0.8096 0'>
                          <Shape USE='HellfireFin'/>
                        </Transform>
                        <Transform rotation='0 1 0 2.3562' translation='0 -0.8096 0'>
                          <Shape USE='HellfireFin'/>
                        </Transform>
                        <Transform rotation='0 1 0 -2.3562' translation='0 -0.8096 0'>
                          <Shape USE='HellfireFin'/>
                        </Transform>
                      </Group>
                    </Transform>
                  </Transform>
                  <Transform DEF='StarboardBombRack2' rotation='0 1 0 3.1415927' translation='-0.25 0 1.75'>
                    <Shape USE='BombRack'/>
                    <Transform DEF='StarboardMissile2DOF' rotation='0 0 1 1.571' translation='0 -0.194725 0'>
                      <Group USE='Hellfire'/>
                    </Transform>
                  </Transform>
                  <Transform DEF='PortBombRack1' rotation='0 1 0 3.1415927' translation='-0.25 0 -1.25'>
                    <Shape USE='BombRack'/>
                    <Transform DEF='PortMissile1DOF' rotation='0 0 1 1.571' translation='0 -0.194725 0'>
                      <Group USE='Hellfire'/>
                    </Transform>
                  </Transform>
                  <Transform DEF='PortBombRack2' rotation='0 1 0 3.1415927' translation='-0.25 0 -1.75'>
                    <Shape USE='BombRack'/>
                    <Transform DEF='PortMissile2DOF' rotation='0 0 1 1.571' translation='0 -0.194725 0'>
                      <Group USE='Hellfire'/>
                    </Transform>
                  </Transform>
                </Transform>
                <Transform rotation='0 0 1 1.571' translation='-4.1 0.035 0'>
                  <Shape DEF='Propeller'>
                    <Appearance DEF='PropArcGray'>
                      <Material diffuseColor='0.4 0.4 0.4' specularColor='0.3 0.3 0.3' transparency='0.75'/>
                    </Appearance>
                    <Cylinder height='0.025' radius='0.75'/>
                  </Shape>
                  <Transform translation='0 0.1 0'>
                    <Shape>
                      <Appearance USE='SlateGray'/>
                      <Cone bottomRadius='0.095' height='0.2'/>
                    </Shape>
                  </Transform>
                </Transform>
                <Transform rotation='1 0 0 2.095' translation='-3.5 0 0'>
                  <Transform DEF='StbdStabDOF'>
                    <Shape DEF='Stabilator'>
                      <Appearance USE='SlateGray'/>
                      <Extrusion creaseAngle='1.5' crossSection='0.25 0 0.225 -0.01 0.2 -0.0175 0.175 -0.0225 0.125 -0.025 0 -0.025 -0.25 0 0 0.025 0.125 0.025 0.175 0.0225 0.2 0.0175 0.225 0.01 0.25 0' spine='0 0 0 0 2.25 0'/>
                    </Shape>
                  </Transform>
                </Transform>
                <Transform rotation='1 0 0 -2.095' translation='-3.5 0 0'>
                  <Transform DEF='PortStabDOF'>
                    <Shape USE='Stabilator'/>
                  </Transform>
                </Transform>
                <Transform rotation='1 0 0 3.1415927' scale='1 0.375 1' translation='-3.5 0 0'>
                  <Transform DEF='VertStabDOF'>
                    <Shape USE='Stabilator'/>
                  </Transform>
                </Transform>
                <Transform DEF='FLIRTurret' translation='3.0 -0.25 0'>
                  <Shape>
                    <Appearance DEF='DarkGray'>
                      <Material diffuseColor='0.3 0.3 0.3'/>
                    </Appearance>
                    <Cylinder height='0.35' radius='0.2'/>
                  </Shape>
                  <Transform translation='0 -0.175 0'>
                    <Transform DEF='FLIRDOF' rotation='0 0 1 -0.5'>
                      <Shape>
                        <Appearance USE='DarkGray'/>
                        <Sphere radius='0.2'/>
                      </Shape>
                      <Transform rotation='0 0 1 1.571' translation='0.1 0 0'>
                        <Shape>
                          <Appearance USE='SlateGray'/>
                          <Cylinder height='0.2' radius='0.05'/>
                        </Shape>
                      </Transform>
                    </Transform>
                  </Transform>
                </Transform>
                <Transform DEF='Antenna1' rotation='1 0 0 3.1415927' scale='4 1 1' translation='1.5 -0.25 0'>
                  <Shape>
                    <Appearance DEF='White'>
                      <Material diffuseColor='0.9 0.9 0.9'/>
                    </Appearance>
                    <Cylinder height='0.4' radius='0.025'/>
                  </Shape>
                  <Transform translation='0 0.225 0'>
                    <Shape>
                      <Appearance USE='White'/>
                      <Sphere radius='0.05'/>
                    </Shape>
                  </Transform>
                </Transform>
                <Transform DEF='Antenna2' translation='0.9 0.5 0'>
                  <Shape>
                    <Appearance DEF='Blue'>
                      <Material diffuseColor='0 0 0.6'/>
                    </Appearance>
                    <Extrusion crossSection='0.05 0 0.045 -0.002 0.04 -0.0035 0.035 -0.0045 0.025 -0.005 0 -0.005 -0.05 0 0 0.005 0.025 0.005 0.035 0.0045 0.04 0.0035 0.045 0.002 0.05 0' scale='1.5 1.5 1 1' spine='0 0 0 0 0.2 0'/>
                  </Shape>
                </Transform>
                <Transform DEF='Antenna3' rotation='0 0 1 1.571' translation='4.1 0.1 0'>
                  <Shape>
                    <Appearance USE='White'/>
                    <Cylinder height='0.75' radius='0.01'/>
                  </Shape>
                </Transform>
                <Group DEF='RideAlongViewpoints'>
                  <Transform rotation='0 1 0 -1.571' translation='-10 6 0'>
                    <Viewpoint description='Predator Over the Shoulder' orientation='1 0 0 -0.15'/>
                  </Transform>
                  <Transform rotation='0 1 0 -1.571' translation='-10 -6 0'>
                    <Viewpoint description='Predator Forward View from Below' orientation='1 0 0 0.15'/>
                  </Transform>
                  <Transform rotation='1 0 0 -1.571' translation='0 15 0'>
                    <Viewpoint description='Predator Top View' orientation='0 0 1 -1.571'/>
                  </Transform>
                  <Transform rotation='1 0 0 1.571' translation='0 -15 0'>
                    <Viewpoint description='Predator Bottom View' orientation='0 0 1 -1.571'/>
                  </Transform>
                  <Transform translation='0 1 3'>
                    <Viewpoint description='Predator Starboard Side, 3m'/>
                  </Transform>
                  <Transform translation='0 0 15'>
                    <Viewpoint description='Predator Starboard Side, 15m'/>
                  </Transform>
                  <Transform rotation='0 1 0 0.7854' translation='5 0 5'>
                    <Viewpoint description='Predator Starboard Bow, 7m'/>
                  </Transform>
                  <Transform rotation='0 1 0 -0.7854' translation='-5 1 5'>
                    <Viewpoint description='Predator Starboard Stern, 7m'/>
                  </Transform>
                  <Transform rotation='0 1 0 3.1415927' translation='0 1 -3'>
                    <Viewpoint description='Predator Port Side, 3m'/>
                  </Transform>
                  <Transform rotation='0 1 0 3.1415927' translation='0 1 -15'>
                    <Viewpoint description='Predator Port Side, 15m'/>
                  </Transform>
                  <Transform rotation='0 1 0 2.3562' translation='5 0 -5'>
                    <Viewpoint description='Predator Port Bow, 7m'/>
                  </Transform>
                  <Transform rotation='0 1 0 -2.3562' translation='-5 1 -5'>
                    <Viewpoint description='Predator Starboard Stern, 7m'/>
                  </Transform>
                  <Transform rotation='0 1 0 1.571' translation='10 0 0'>
                    <Viewpoint description='Predator Bow On'/>
                  </Transform>
                </Group>
              </Transform>
            </Group>
          </Transform>
        </Transform>
      </ProtoBody>
    </ProtoDeclare>
    <!-- ========== -->
    <Viewpoint description='Predator Prototype'/>
    <Group>
      <ProtoInstance name='Predator'>
        <fieldValue name='translation' value='0 0.4 0'/>
      </ProtoInstance>
    </Group>
    <!-- Viewable geometry is anchored text that links to an example that showing the usage of AriesPrototype -->
    <Anchor description='Predator example: AriesOffPanamaCity.x3d' url='"../../AuvWorkbench/OperatingAreas/AriesOffPanamaCity.x3d" "https://www.web3d.org/x3d/content/examples/Savage/AuvWorkbench/OperatingAreas/AriesOffPanamaCity.x3d" "../../AuvWorkbench/OperatingAreas/AriesOffPanamaCity.wrl" "https://www.web3d.org/x3d/content/examples/Savage/AuvWorkbench/OperatingAreas/AriesOffPanamaCity.wrl"'>
      <Shape>
        <Appearance>
          <Material diffuseColor='0 1 1' emissiveColor='0 1 1'/>
        </Appearance>
        <Text string='"PredatorPrototype" "is a prototype definition file" "" "click on text to view" "Predator example"'>
          <FontStyle justify='"MIDDLE" "MIDDLE"'/>
        </Text>
      </Shape>
    </Anchor>
  </Scene>
</X3D>