#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" "RapierMissilePrototype.x3d" META "creator" "Oliver Tan" META "created" "14 January 2004" META "modified" "28 November 2019" META "description" "Rapier missile prototype definition." META "identifier" "https://savage.nps.edu/Savage/Weapons/Missiles/RapierMissilePrototype.x3d" META "generator" "X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit" META "reference" "http://www.army-technology.com/projects/jernas/jernas1.html" META "subject" "Rapier, Rapier missile, missile" META "license" "../../license.html" # [Scene] ========== ========== ========== # This NavigationInfo node is added to many scenes, making examination of objects easier. WorldInfo { title "RapierMissilePrototype.x3d" } PROTO RapierMissile [ initializeOnly SFNode rocketAppearance Appearance { material DEF RocketMetal Material { diffuseColor .3 .6 .9 } } ] { ### Warning: ProtoBody child (or descendant) Shape following first child will not be rendered, since the first child determines node type of this prototype. (Authors can silence this warning by placing a comment as second child.) Viewpoint { description "Rapier missile example" } Viewpoint { description "Rapier missile oblique" orientation 0.177 0.973 -0.145 0.8128 position 7 -1.5 7.8 } Transform { rotation 0 1 0 1.57 translation 2 0 0 children [ Transform { rotation 1 0 0 1.571 children [ # This is only a representational model. It is not created to scale. Group { children [ DEF RocketCone Transform { children [ Transform { translation 0 3 0 children [ Shape { appearance IS rocketAppearance geometry Cone { bottomRadius 0.5 } } ] } ] } Transform { translation 0 2 0 children [ Shape { appearance IS rocketAppearance geometry Cylinder { height 0.1 radius 0.505 } } ] } DEF RocketBody Transform { translation 0 -4 0 children [ Transform { scale 0.5 4 0.5 children [ Shape { appearance IS rocketAppearance geometry 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 ] } } ] } ] } DEF BigFinsGroup Transform { translation 0 -3.5 0 children [ Group { children [ Transform { translation 0.5 0 0 children [ DEF BigFin Transform { rotation 1 0 0 -1.571 scale 1 0.5 1.3 children [ Shape { appearance IS rocketAppearance geometry 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 ] } } ] } ] } Transform { rotation 0 1 0 1.571 translation 0 0 -0.5 children [ USE BigFin ] } Transform { rotation 0 1 0 3.142 translation -0.5 0 0 children [ USE BigFin ] } Transform { rotation 0 1 0 4.712 translation 0 0 0.5 children [ USE BigFin ] } ] } ] } DEF SmallFinsGroup Transform { translation 0 -7.5 0 children [ Group { children [ Transform { translation 0.5 0 0 children [ DEF SmallFin Transform { rotation 1 0 0 -1.571 scale 0.5 0.5 1 children [ Shape { appearance IS rocketAppearance geometry 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 ] } } ] } ] } Transform { rotation 0 1 0 1.571 translation 0 0 -0.5 children [ USE SmallFin ] } Transform { rotation 0 1 0 3.142 translation -0.5 0 0 children [ USE SmallFin ] } Transform { rotation 0 1 0 4.712 translation 0 0 0.5 children [ USE SmallFin ] } ] } ] } ] } ] } ] } } 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" ] children [ Shape { geometry Text { string [ "Rapier Missile Prototype" "contains prototype definitions" "" "Click on text to see these models in" "RapierMissileExample" ] fontStyle FontStyle { justify [ "MIDDLE" "MIDDLE" ] size 0.5 } } appearance Appearance { material Material { diffuseColor 0 0.6 0.6 } } } ] }