X3D Model Documentation: MantaMinePrototype.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2  <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
  3  <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'>
  4       <head>
  5            <meta name='titlecontent=' MantaMinePrototype.x3d '/>
  6            <meta name='descriptioncontent='Italian Manta bottom mine, with truncated cone and handling padeyes.'/>
  7            <meta name='creatorcontent='Frederic Roussille'/>
  8            <meta name='createdcontent='8 May 2001'/>
  9            <meta name='modifiedcontent='28 November 2019'/>
 10            <meta name='photocontent='MantaInert.jpg'/>
 11            <meta name='photocontent='minelocator.jpg'/>
 12            <meta name='photocontent='Mine1.jpg'/>
 13            <meta name='photocontent='Mine2.jpg'/>
 14            <meta name='photocontent='img055.gif'/>
 15            <meta name='photocontent='http://www.cisatlantic.com/trimix/strike/minelocator.jpg'/>
 16            <meta name='photocontent='http://www.cisatlantic.com/trimix/strike/Mine1.jpg'/>
 17            <meta name='photocontent='http://www.cisatlantic.com/trimix/strike/Mine2.jpg'/>
 18            <meta name='photocontent='https://www.fas.org/man/dod-101/navy/docs/swos/cmd/miw/Sp6-4-1/img055.gif'/>
 19            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/Weapons/UnderwaterMines/MantaMinePrototype.x3d '/>
 20            <meta name='generatorcontent='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 21            <meta name='licensecontent='../../license.html'/>
 22       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: EntryViewpoint0, EntryViewpoint1, EntryViewpoint2, EntryViewpoint3, grey, hole, MineColor, ring, sphere, triangle

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, EntryViewpoint0, EntryViewpoint1, EntryViewpoint2, EntryViewpoint3

Index for ProtoDeclare definition: MantaMine
-->
 23       <Scene>
 24            <WorldInfo title='MantaMinePrototype.x3d'/>
 25            <ProtoDeclare name='MantaMineappinfo='Manta underwater mine'>
 26                 <ProtoInterface>
 27                      <field name='MineColortype='SFColorvalue='0.6 0.3 0accessType='inputOutput'
                     appinfo='useful for visual classification'/>
 28                      <field name='viewpointDescriptiontype='SFStringvalue='Manta mineaccessType='initializeOnly'
                     appinfo='describe each instance'/>
 29                 </ProtoInterface>
 30                 <ProtoBody>
 31                      <LOD range='10 50 100 1000'>
 32                           <Group>
 33                                <Viewpoint DEF='EntryViewpoint0orientation='1 0 0 -0.4position='0 1 3'>
 34                                     <IS>
 35                                          <connect nodeField='descriptionprotoField='viewpointDescription'/>
 36                                     </IS>
 37                                </Viewpoint>
 38                                <Viewpoint description='Manta top vieworientation='1 0 0 -1.57position='0 2 0'/>
 39                                <Viewpoint description='Manta side vieworientation='0 1 0 -1.57position='-2 0 0'/>
 40                                <Transform rotation='1 0 0 1.57scale='1.5 1.5 1'>
 41                                     <Shape>
 42                                          <Appearance>
 43 
                                             <!-- Material MineColor is a DEF node that has 4 USE nodes: USE_1, USE_2, USE_3, USE_4 -->
                                             <Material DEF='MineColor'>
 44                                                    <IS>
 45                                                         <connect nodeField='diffuseColorprotoField='MineColor'/>
 46                                                    </IS>
 47                                               </Material>
 48                                          </Appearance>
 49                                          <Extrusion beginCap='falsecreaseAngle='157crossSection='0.1 0 0.22 -0.01 0.2275 -0.05 0.2675 -0.05 0.49 0.4 0.49 0.47 0.53 0.47 0.53 0.48 0 0.48 0 0.22 0.0675 0.22 0.1 0endCap='falsesolid='falsespine='0.001 0 0 0.00092 -0.00038 0 0.00071 -0.00071 0 0.00038 -0.00092 0 0 -0.001 0 -0.00038 -0.00092 0 -0.00071 -0.00071 0 -0.00092 -0.00038 0 -0.001 0 0 -0.00092 0.00038 0 -0.00071 0.00071 0 -0.00038 0.00092 0 0 0.001 0 0.00038 0.00092 0 0.00071 0.00071 0 0.00092 0.00038 0 0.001 0 0'/>
 50                                     </Shape>
 51                                </Transform>
 52                                <Transform rotation='0 1 0 0.785translation='0.36 -0.4 0.36'>
 53 
                                   <!-- Shape triangle is a DEF node that has 7 USE nodes: USE_1, USE_2, USE_3, USE_4, USE_5, USE_6, USE_7 -->
                                   <Shape DEF='triangle'>
 54                                          <Appearance>
 55                                               <Material USE='MineColor'/>
 56                                          </Appearance>
 57                                          <IndexedFaceSet solid='falsecoordIndex='0 1 3 -1 0 1 2 -1 0 2 3 -1 1 3 2 -1'>
 58                                               <Coordinate point='0 0 0.0925 0 0.2775 0.122 -0.0925 0.2775 0 0.0925 0.2775 0'/>
 59                                          </IndexedFaceSet>
 60                                     </Shape>
 61                                </Transform>
 62                                <Transform rotation='0 1 0 -0.785translation='-0.36 -0.4 0.36'>
 63                                     <Shape USE='triangle'/>
 64                                </Transform>
 65                                <Transform rotation='0 1 0 2.355translation='0.36 -0.4 -0.36'>
 66                                     <Shape USE='triangle'/>
 67                                </Transform>
 68                                <Transform rotation='0 1 0 -2.355translation='-0.36 -0.4 -0.36'>
 69                                     <Shape USE='triangle'/>
 70                                </Transform>
 71                                <Transform translation='0.4 -0.08 0.4'>
 72 
                                   <!-- Group ring is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 -->
                                   <Group DEF='ring'>
 73                                          <Transform rotation='1 0 0 1.57'>
 74                                               <Shape>
 75                                                    <Appearance>
 76 
                                                       <!-- Material grey is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
                                                       <Material DEF='greydiffuseColor='0.5 0.5 0.5specularColor='1 1 1'/>
 77                                                    </Appearance>
 78                                                    <Extrusion beginCap='falseconvex='falsecreaseAngle='1.57crossSection='0 0 0.007 0 0.018 0.025 0.032 0.035 0.04 0.036 0.04 0.04 0 0.04 0 0endCap='falsespine='0.001 0 0 0.00092 -0.00038 0 0.00071 -0.00071 0 0.00038 -0.00092 0 0 -0.001 0 -0.00038 -0.00092 0 -0.00071 -0.00071 0 -0.00092 -0.00038 0 -0.001 0 0 -0.00092 0.00038 0 -0.00071 0.00071 0 -0.00038 0.00092 0 0 0.001 0 0.00038 0.00092 0 0.00071 0.00071 0 0.00092 0.00038 0 0.001 0 0'/>
 79                                               </Shape>
 80                                          </Transform>
 81                                          <Transform rotation='0 1 0 0.7535translation='0 0.035 0'>
 82                                               <Shape>
 83                                                    <Appearance>
 84                                                         <Material USE='grey'/>
 85                                                    </Appearance>
 86                                                    <Extrusion beginCap='falsecreaseAngle='1.57crossSection='0.01 0 0.0092 -0.0038 0.0071 -0.0071 0.0038 -0.0092 0 -0.01 -0.0038 -0.0092 -0.0071 -0.0071 -0.0092 -0.0038 -0.01 0 -0.0092 0.0038 -0.0071 0.0071 -0.0038 0.0092 0 0.01 0.0038 0.0092 0.0071 0.0071 0.0092 0.0038 0.01 0endCap='falsesolid='falsespine='0.03 0 0 0.0276 -0.0114 0 0.0213 -0.0213 0 0.0114 -0.0276 0 0 -0.03 0 -0.0114 -0.0276 0 -0.0213 -0.0213 0 -0.0276 -0.0114 0 -0.03 0 0 -0.0276 0.0114 0 -0.0213 0.0213 0 -0.0114 0.0276 0 0 0.03 0 0.0114 0.0276 0 0.0213 0.0213 0 0.0276 0.0114 0 0.03 0 0'/>
 87                                               </Shape>
 88                                          </Transform>
 89                                     </Group>
 90                                </Transform>
 91                                <Transform rotation='0 1 0 1.57translation='-0.4 -0.08 0.4'>
 92                                     <Group USE='ring'/>
 93                                </Transform>
 94                                <Transform rotation='0 1 0 1.57translation='0.4 -0.08 -0.4'>
 95                                     <Group USE='ring'/>
 96                                </Transform>
 97                                <Transform translation='-0.4 -0.08 -0.4'>
 98                                     <Group USE='ring'/>
 99                                </Transform>
100                                <Transform translation='0 -0.11 0'>
101                                     <Shape>
102                                          <Appearance>
103                                               <Material diffuseColor='0.5 0.5 0.5specularColor='0.2 0.2 0.2'/>
104                                          </Appearance>
105                                          <Cylinder height='0.22radius='0.15'/>
106                                     </Shape>
107                                </Transform>
108                                <Transform rotation='0 0 1 0.935translation='-0.461 -0.04 0'>
109 
                                   <!-- Shape hole is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 -->
                                   <Shape DEF='hole'>
110                                          <Cylinder height='0.01radius='0.04'/>
111                                          <Appearance>
112                                               <Material diffuseColor='0 0 0'/>
113                                          </Appearance>
114                                     </Shape>
115                                </Transform>
116                                <Transform rotation='0 0 1 -0.935translation='0.461 -0.04 0'>
117                                     <Shape USE='hole'/>
118                                </Transform>
119                                <Transform rotation='1 0 0 -0.935translation='0 -0.04 -0.461'>
120                                     <Shape USE='hole'/>
121                                </Transform>
122                                <Transform rotation='1 0 0 0.935translation='0 -0.04 0.461'>
123                                     <Shape USE='hole'/>
124                                </Transform>
125                                <Transform translation='0 -0.48 0'>
126                                     <Shape>
127                                          <Appearance>
128                                               <Material USE='MineColor'/>
129                                          </Appearance>
130                                          <Cylinder height='0.01radius='0.787'/>
131                                     </Shape>
132                                </Transform>
133                           </Group>
134                           <Group>
135                                <Viewpoint DEF='EntryViewpoint1orientation='1 0 0 -0.4position='0 1 3'>
136                                     <IS>
137                                          <connect nodeField='descriptionprotoField='viewpointDescription'/>
138                                     </IS>
139                                </Viewpoint>
140                                <Transform rotation='1 0 0 1.57scale='1.5 1.5 1'>
141                                     <Shape>
142                                          <Appearance>
143                                               <Material USE='MineColor'/>
144                                          </Appearance>
145                                          <Extrusion beginCap='falsecreaseAngle='157crossSection='0.1 0 0.22 -0.01 0.2275 -0.05 0.2675 -0.05 0.49 0.4 0.49 0.47 0.53 0.47 0.53 0.48 0 0.48 0 0.22 0.0675 0.22 0.1 0endCap='falsesolid='falsespine='0.001 0 0 0.00092 -0.00038 0 0.00071 -0.00071 0 0.00038 -0.00092 0 0 -0.001 0 -0.00038 -0.00092 0 -0.00071 -0.00071 0 -0.00092 -0.00038 0 -0.001 0 0 -0.00092 0.00038 0 -0.00071 0.00071 0 -0.00038 0.00092 0 0 0.001 0 0.00038 0.00092 0 0.00071 0.00071 0 0.00092 0.00038 0 0.001 0 0'/>
146                                     </Shape>
147                                </Transform>
148                                <Transform rotation='0 1 0 0.785translation='0.36 -0.4 0.36'>
149                                     <Shape USE='triangle'/>
150                                </Transform>
151                                <Transform rotation='0 1 0 -0.785translation='-0.36 -0.4 0.36'>
152                                     <Shape USE='triangle'/>
153                                </Transform>
154                                <Transform rotation='0 1 0 2.355translation='0.36 -0.4 -0.36'>
155                                     <Shape USE='triangle'/>
156                                </Transform>
157                                <Transform rotation='0 1 0 -2.355translation='-0.36 -0.4 -0.36'>
158                                     <Shape USE='triangle'/>
159                                </Transform>
160                                <Transform translation='0.4 -0.08 0.4'>
161 
                                   <!-- Group sphere is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 -->
                                   <Group DEF='sphere'>
162                                          <Transform rotation='1 0 0 1.57'>
163                                               <Shape>
164                                                    <Appearance>
165                                                         <Material USE='grey'/>
166                                                    </Appearance>
167                                                    <Sphere radius='0.05'/>
168                                               </Shape>
169                                          </Transform>
170                                     </Group>
171                                </Transform>
172                                <Transform rotation='0 1 0 1.57translation='-0.4 -0.08 0.4'>
173                                     <Group USE='sphere'/>
174                                </Transform>
175                                <Transform rotation='0 1 0 1.57translation='0.4 -0.08 -0.4'>
176                                     <Group USE='sphere'/>
177                                </Transform>
178                                <Transform translation='-0.4 -0.08 -0.4'>
179                                     <Group USE='sphere'/>
180                                </Transform>
181                                <Transform translation='0 -0.11 0'>
182                                     <Shape>
183                                          <Appearance>
184                                               <Material diffuseColor='0.5 0.5 0.5specularColor='0.2 0.2 0.2'/>
185                                          </Appearance>
186                                          <Cylinder height='0.22radius='0.15'/>
187                                     </Shape>
188                                </Transform>
189                           </Group>
190                           <Group>
191                                <Viewpoint DEF='EntryViewpoint2orientation='1 0 0 -0.4position='0 1 3'>
192                                     <IS>
193                                          <connect nodeField='descriptionprotoField='viewpointDescription'/>
194                                     </IS>
195                                </Viewpoint>
196                                <Transform translation='0 -0.24 0'>
197                                     <Shape>
198                                          <Appearance>
199                                               <Material USE='MineColor'/>
200                                          </Appearance>
201                                          <Cylinder height='0.48radius='0.49'/>
202                                     </Shape>
203                                </Transform>
204                           </Group>
205                           <Viewpoint DEF='EntryViewpoint3orientation='1 0 0 -0.4position='0 1 3'>
206                                <IS>
207                                     <connect nodeField='descriptionprotoField='viewpointDescription'/>
208                                </IS>
209                           </Viewpoint>
210                           <WorldInfo title='Null node'/>
211                      </LOD>
212                 </ProtoBody>
213            </ProtoDeclare>
214            <!-- ==================== -->
215            <!-- Example scene starts here, in case this prototype is examined. -->
216            <Anchor description='MantaMineExampleparameter='"target=_blank"'   url=' "MantaMineExample.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Weapons/UnderwaterMines/MantaMineExample.x3d" "MantaMineExample.wrl" "https://www.web3d.org/x3d/content/examples/Savage/Weapons/UnderwaterMines/MantaMineExample.wrl" '>
217                 <Shape>
218                      <Text string='"MantaMinePrototype" "is a prototype definition file" "" "Click this text to see" "MantaMineExample"'>
219                           <FontStyle justify='"MIDDLE" "MIDDLE"'/>
220                      </Text>
221                      <Appearance>
222                           <Material diffuseColor='0.6 0.8 0.4'/>
223                      </Appearance>
224                 </Shape>
225            </Anchor>
226       </Scene>
227  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: EntryViewpoint0, EntryViewpoint1, EntryViewpoint2, EntryViewpoint3, grey, hole, MineColor, ring, sphere, triangle

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, EntryViewpoint0, EntryViewpoint1, EntryViewpoint2, EntryViewpoint3

Index for ProtoDeclare definition: MantaMine
-->
X3D Tooltips element index: Anchor, Appearance, connect, Coordinate, Cylinder, Extrusion, field, FontStyle, Group, head, IndexedFaceSet, IS, LOD, Material, meta, ProtoBody, ProtoDeclare, ProtoInterface, Scene, Shape, Sphere, Text, Transform, Viewpoint, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

Event Graph ROUTE Table with 0 ROUTE connections total, showing X3D event-model relationships for this scene.

Each row shows an event cascade that may occur during a single timestamp interval between frame renderings, as part of the X3D execution model.

line 216
Anchor
description='MantaMineExample' 
User-interaction hint for this node. 

Additional guidance on X3D animation can be found in the 10-Step Animation Design Process and Event Tracing hint sheets. Have fun with X3D! 😀

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/Savage/Weapons/UnderwaterMines/MantaMinePrototypeIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/Weapons/UnderwaterMines/MantaMinePrototype.x3d -->

<!-- Color-coding legend: X3D terminology <X3dNode  DEF='idNamefield='value'/> matches XML terminology <XmlElement  DEF='idNameattribute='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> -->

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