| 1 |
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
|
| 3 | <X3D profile='Immersive' version='3.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.0.xsd'> |
| 4 | <head> |
| 5 | <meta name='title' content='RapierMissilePrototype.x3d'/> |
| 6 | <meta name='creator' content='Oliver Tan'/> |
| 7 | <meta name='created' content='14 January 2004'/> |
| 8 | <meta name='modified' content='28 November 2019'/> |
| 9 | <meta name='description' content='Rapier missile prototype definition.'/> |
| 10 | <meta name='identifier' content='https://savage.nps.edu/Savage/Weapons/Missiles/RapierMissilePrototype.x3d'/> |
| 11 | <meta name='generator' content='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/> |
| 12 | <meta name='reference' content='http://www.army-technology.com/projects/jernas/jernas1.html'/> |
| 13 | <meta name='subject' content='Rapier, Rapier missile, missile'/> |
| 14 | <meta name='license' content='../../license.html'/> |
| 15 | </head> |
| 16 | <Scene> |
| 17 | <!-- This NavigationInfo node is added to many scenes, making examination of objects easier. --> |
| 18 | <WorldInfo title='RapierMissilePrototype.x3d'/> |
| 19 | <ProtoDeclare name='RapierMissile'> |
| 20 | <ProtoInterface> |
| 21 | <field name='rocketAppearance' type='SFNode' accessType='initializeOnly'> |
| 22 | <Appearance> |
| 23 | <Material DEF='RocketMetal' diffuseColor='.3 .6 .9'/> |
| 24 | </Appearance> |
| 25 | </field> |
| 26 | </ProtoInterface> |
| 27 | <ProtoBody> |
| 28 | <Viewpoint description='Rapier missile example'/> |
| 29 | <Viewpoint description='Rapier missile oblique' orientation='0.177 0.973 -0.145 0.8128' position='7 -1.5 7.8'/> |
| 30 | <Transform rotation='0 1 0 1.57' translation='2 0 0'> |
| 31 | <Transform rotation='1 0 0 1.571'> |
| 32 | <!-- This is only a representational model. It is not created to scale. --> |
| 33 | <Group> |
| 34 | <Transform DEF='RocketCone'> |
| 35 | <Transform translation='0 3 0'> |
| 36 | <Shape> |
| 37 | <IS> |
| 38 | <connect nodeField='appearance' protoField='rocketAppearance'/> |
| 39 | </IS> |
| 40 | <Cone bottomRadius='0.5'/> |
| 41 | </Shape> |
| 42 | </Transform> |
| 43 | </Transform> |
| 44 | <Transform translation='0 2 0'> |
| 45 | <Shape> |
| 46 | <IS> |
| 47 | <connect nodeField='appearance' protoField='rocketAppearance'/> |
| 48 | </IS> |
| 49 | <Cylinder height='0.1' radius='0.505'/> |
| 50 | </Shape> |
| 51 | </Transform> |
| 52 | <Transform DEF='RocketBody' translation='0 -4 0'> |
| 53 | <Transform scale='0.5 4 0.5'> |
| 54 | <Shape> |
| 55 | <IS> |
| 56 | <connect nodeField='appearance' protoField='rocketAppearance'/> |
| 57 | </IS> |
| 58 | <Extrusion 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' scale='1.0 1.0 1.0 1.0 0.5 0.5' spine='0 1.5 0 0 -0.95 0 0 -1 0'/> |
| 59 | </Shape> |
| 60 | </Transform> |
| 61 | </Transform> |
| 62 | <Transform DEF='BigFinsGroup' translation='0 -3.5 0'> |
| 63 | <Group> |
| 64 | <Transform translation='0.5 0 0'> |
| 65 | |
| 66 | <Shape> |
| 67 | <IS> |
| 68 | <connect nodeField='appearance' protoField='rocketAppearance'/> |
| 69 | </IS> |
| 70 | <Extrusion creaseAngle='0.785' crossSection='0.0 0.0 0.0 2.0 1.0 0.1 1.0 0.0 0.0 0.0' spine='0.0 -0.05 0.0 0.0 0.05 0.0'/> |
| 71 | </Shape> |
| 72 | </Transform> |
| 73 | </Transform> |
| 74 | <Transform rotation='0 1 0 1.571' translation='0 0 -0.5'> |
| 75 | <Transform USE='BigFin'/> |
| 76 | </Transform> |
| 77 | <Transform rotation='0 1 0 3.142' translation='-0.5 0 0'> |
| 78 | <Transform USE='BigFin'/> |
| 79 | </Transform> |
| 80 | <Transform rotation='0 1 0 4.712' translation='0 0 0.5'> |
| 81 | <Transform USE='BigFin'/> |
| 82 | </Transform> |
| 83 | </Group> |
| 84 | </Transform> |
| 85 | <Transform DEF='SmallFinsGroup' translation='0 -7.5 0'> |
| 86 | <Group> |
| 87 | <Transform translation='0.5 0 0'> |
| 88 | |
| 89 | <Shape> |
| 90 | <IS> |
| 91 | <connect nodeField='appearance' protoField='rocketAppearance'/> |
| 92 | </IS> |
| 93 | <Extrusion creaseAngle='0.785' crossSection='0.0 0.1 0.0 1.0 1.0 0.0 0.0 0.1' spine='0.0 -0.05 0.0 0.0 0.05 0.0'/> |
| 94 | </Shape> |
| 95 | </Transform> |
| 96 | </Transform> |
| 97 | <Transform rotation='0 1 0 1.571' translation='0 0 -0.5'> |
| 98 | <Transform USE='SmallFin'/> |
| 99 | </Transform> |
| 100 | <Transform rotation='0 1 0 3.142' translation='-0.5 0 0'> |
| 101 | <Transform USE='SmallFin'/> |
| 102 | </Transform> |
| 103 | <Transform rotation='0 1 0 4.712' translation='0 0 0.5'> |
| 104 | <Transform USE='SmallFin'/> |
| 105 | </Transform> |
| 106 | </Group> |
| 107 | </Transform> |
| 108 | </Group> |
| 109 | </Transform> |
| 110 | </Transform> |
| 111 | </ProtoBody> |
| 112 | </ProtoDeclare> |
| 113 | <Anchor description='RapierMissileExample' url=' "RapierMissileExample.x3d" "https://savage.nps.edu/Savage/Weapons/Missiles/RapierMissileExample.x3d" "RapierMissileExample.wrl" "https://savage.nps.edu/Savage/Weapons/Missiles/RapierMissileExample.wrl" '> |
| 114 | <Shape> |
| 115 | <Text string='"Rapier Missile Prototype" "contains prototype definitions" "" "Click on text to see these models in" "RapierMissileExample"'> |
| 116 | <FontStyle justify='"MIDDLE" "MIDDLE"' size='0.5'/> |
| 117 | </Text> |
| 118 | <Appearance> |
| 119 | <Material diffuseColor='0 0.6 0.6'/> |
| 120 | </Appearance> |
| 121 | </Shape> |
| 122 | </Anchor> |
| 123 | </Scene> |
| 124 | </X3D> |
<!--
Color-coding legend: X3D terminology
<X3dNode
DEF='idName' field='value'/>
matches XML terminology
<XmlElement
DEF='idName' attribute='value'/>
(Light-blue background: event-based behavior node or statement)
(Grey background inside box: inserted documentation)
(Magenta background: X3D Extensibility)
<ProtoDeclare name='ProtoName'>
<field
name='fieldName'/> </ProtoDeclare>
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->