<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
<X3D profile='Immersive' version='3.3 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation =' https://www.web3d.org/specifications/x3d-3.3.xsd '>
<head>
<meta name='titlecontent='Pdm1BottomMinePrototype.x3d'/>
<meta name='descriptioncontent='Russian bottom mine triggered by tilt bar (whisker); prototype declaration for reuse in other scenes.'/>
<meta name='creatorcontent='Don Brutzman and Jeff Weekley, LAX Gate 65'/>
<meta name='createdcontent='20 March 2001'/>
<meta name='modifiedcontent='28 November 2019'/>
<meta name='referencecontent='Pdm1BottomMineExample.x3d'/>
<meta name='photocontent='Pdm1AssembledMine97cm.jpg'/>
<meta name='photocontent='Pdm1Fuse.jpg'/>
<meta name='photocontent='Pdm1FuseBoxLabel.jpg'/>
<meta name='photocontent='Pdm1MineBoxLabel.jpg'/>
<meta name='photocontent='Pdm1MineCaseAnchorFrame.jpg'/>
<meta name='referencecontent=' http://www.fas.org/man/dod-101/navy/docs/swos/cmd/miw/Sp6-4-1/sld065.htm '/>
<meta name='identifiercontent=' https://savage.nps.edu/Savage/Weapons/UnderwaterMines/Pdm1BottomMinePrototype.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../../license.html'/>
</head>
<!--

Index for ProtoDeclare definition : Pdm1BottomMine

Index for DEF nodes : EntryViewpoint0, EntryViewpoint1, MineColor

Index for Viewpoint images : EntryViewpoint0, EntryViewpoint1
-->
<Scene>
<WorldInfo title='Pdm1BottomMinePrototype.x3d'/>
<ProtoDeclare name='Pdm1BottomMineappinfo='PDM-1 underwater mine'>
<ProtoInterface>
<field name='mineColortype='SFColorvalue='0.4 0.3 0.1accessType='inputOutput'
 appinfo='useful for classification'/>

<field name='viewpointDescriptiontype='SFStringvalue='PDM-1 mineaccessType='initializeOnly'
 appinfo='customize to match each instance'/>
</ProtoInterface>
<ProtoBody>
<LOD range='100 1000'>
<Group>
<Anchor description='link to imageparameter='"target=_blank"'
  url=' "Pdm1AssembledMine97cm.jpg" "https://savage.nps.edu/Savage/Weapons/UnderwaterMines/Pdm1AssembledMine97cm.jpg" '>
<Transform translation='0 0.02 0'>
<Shape>
<Extrusion creaseAngle='0.785crossSection='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.00scale='0.16 0.16 0.14 0.14 0.08 0.08 0.025 0.025 0.025 0.025 0.005 0.005 0.005 0.005spine='0 0 0 0 0.02 0 0 0.04 0 0 0.05 0 0 0.10 0 0 0.10 0 0 0.97 0'/>
<Appearance>
<Material DEF='MineColorshininess='0.5'>
<IS>
<connect nodeField='diffuseColorprotoField='mineColor'/>
</IS>
</Material>
</Appearance>
</Shape>
</Transform>
<Transform translation='0 0.015 0'>
<Shape>
<Cylinder height='0.01radius='0.3'/>
<Appearance>
<Material USE='MineColor'/>
</Appearance>
</Shape>
</Transform>
</Anchor>
<Viewpoint DEF='EntryViewpoint0description='PDM-1 (Russian bottom mine)position='0 0.5 1.5'>
<IS>
<connect nodeField='descriptionprotoField='viewpointDescription'/>
</IS>
</Viewpoint>
</Group>
<!-- interestingly, USE EntryViewpoint0 didn't work when switching LOD levels, apparently due to viewpoint losing scope before handoff -->
<Viewpoint DEF='EntryViewpoint1description='PDM-1 (Russian bottom mine)position='0 0.5 1.5'>
<IS>
<connect nodeField='descriptionprotoField='viewpointDescription'/>
</IS>
</Viewpoint>
<WorldInfo info='"empty node"'/>
</LOD>
</ProtoBody>
</ProtoDeclare>
<Background skyColor='0 0.3 1.0'/>
<Anchor description='Pdm1BottomMineExampleparameter='"target=_blank"'
  url=' "Pdm1BottomMineExample.x3d" "https://savage.nps.edu/Savage/Weapons/UnderwaterMines/Pdm1BottomMineExample.x3d" "Pdm1BottomMineExample.wrl" "https://savage.nps.edu/Savage/Weapons/UnderwaterMines/Pdm1BottomMineExample.wrl" '>
<Shape>
<Text string='"Pdm1BottomMinePrototype" "is a prototype definition file" "" "Click this text to see" "Pdm1BottomMineExample"'>
<FontStyle justify='"MIDDLE" "MIDDLE"'/>
</Text>
<Appearance>
<Material diffuseColor='0.6 0.8 0.4'/>
</Appearance>
</Shape>
</Anchor>
</Scene>
</X3D>
<!--

Index for ProtoDeclare definition : Pdm1BottomMine

Index for DEF nodes : EntryViewpoint0, EntryViewpoint1, MineColor

Index for Viewpoint images : EntryViewpoint0, EntryViewpoint1
-->

<!-- Color key: <X3dNode DEF='idName' field='value'/> matches <XmlElement DEF='idName' attribute='value'/>
(Light blue background: behavior node) (Grey background: inserted documentation) (Magenta background: X3D Extensibility)
    <Prototype name='ProtoName'> <field name='fieldName'/> </Prototype> -->

<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources and X3D Scene Authoring Hints. -->