X3D Model Documentation: MissileExplosionExample.x3d

  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='MissileExplosionExample.x3d'/>
  6            <meta name='description' content='Simple prototype for a missile explosion resulting from a Harpoon strike.'/>
  7            <meta name='creator' content='James Harney'/>
  8            <meta name='created' content='13 October 2002'/>
  9            <meta name='modified' content='28 November 2019'/>
 10            <meta name=' warning ' content=' not working '/>
 11            <meta name='reference' content='http://www.planetnine.com'/>
 12            <meta name='reference' content='http://www.specialoperations.com/multimedia/sounds.html'/>
 13            <meta name='reference' content=' See url "soundpermissions.html" for copyright info and use on missile1.au and exp03.au that are converted to missile1.wav and exp03.wav for use in this file/model '/>
 14            <meta name='accessRights' content='soundpermissions.html'/>
 15            <meta name='reference' content='explosion.png'/>
 16            <meta name='identifier' content='https://savage.nps.edu/Savage/Weapons/Missiles/MissileExplosionExample.x3d'/>
 17            <meta name='generator' content='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
 18            <meta name='license' content='../../license.html'/>
 19       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top Index for DEF nodes: Boom, Timer

Index for ExternProtoDeclare definition: ASMEXPLOSION
-->
 20       <Scene>
 21            <WorldInfo title='MissileExplosionExample.x3d'/>
 22            <ExternProtoDeclare name='ASMEXPLOSION'   url=' "MissileExplosionPrototype.wrl#ASMEXPLOSION" "../../Weapons/Missiles/MissileExplosionPrototype.wrl#ASMEXPLOSION" "https://savage.nps.edu/Savage/Weapons/Missiles/MissileExplosionPrototype.wrl#ASMEXPLOSION" "MissileExplosionPrototype.x3d#ASMEXPLOSION" "../../Weapons/Missiles/MissileExplosionPrototype.x3d#ASMEXPLOSION" "https://savage.nps.edu/Savage/Weapons/Missiles/MissileExplosionPrototype.x3d#ASMEXPLOSION" '>
 23                 <field name='STARTEXPLOSION' type='SFBool' accessType='inputOnly'/>
 24                 <field name='THETIME' type='SFTime' accessType='inputOnly'/>
 25            </ExternProtoDeclare>
 26            <Background skyColor='0.604 0.753 0.804'/>
 27 
          <!-- ROUTE information for Boom node:  [from Timer.cycleTime to THETIME ] [from Timer.isActive to STARTEXPLOSION ] -->
          <ProtoInstance name='ASMEXPLOSION' DEF='Boom'/>
 28 
          <!-- ROUTE information for Timer node:  [from cycleTime to Boom.THETIME ] [from isActive to Boom.STARTEXPLOSION ] -->
          <TimeSensor DEF='Timer' cycleInterval='10' loop='true'/>
 29            < ROUTE  fromNode='Timer' fromField='cycleTime' toNode='Boom' toField='THETIME'/>
 30            < ROUTE  fromNode='Timer' fromField='isActive' toNode='Boom' toField='STARTEXPLOSION'/>
 31       </Scene>
 32  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top Index for DEF nodes: Boom, Timer

Index for ExternProtoDeclare definition: ASMEXPLOSION
-->
X3D Tooltips element index: Background, ExternProtoDeclare, field, head, meta, ProtoInstance, ROUTE, Scene, TimeSensor, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

Event Graph ROUTE Table entries with 2 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.

Timer
TimeSensor
cycleTime
SFTime
→
ROUTE
event to
(1)
Boom
ProtoInstance
THETIME
SFTime
Timer
TimeSensor
isActive
SFBool
→
ROUTE
event to
(1)
Boom
ProtoInstance
STARTEXPLOSION
SFBool

      Boom
ProtoInstance
ASMEXPLOSION
No ROUTE connection found for output events from this node.
This ProtoInstance contains SFNode/MFNode fieldValue declarations with
direct access to other nodes, and thus has potential to produce run-time animation. 

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://savage.nps.edu/Savage/Weapons/Missiles/MissileExplosionExampleIndex.html -->
<!-- Version control at
https://gitlab.nps.edu/Savage/Savage/Weapons/Missiles/MissileExplosionExample.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)
    <ProtoInstance name='ProtoName'> <field name='fieldName'/> </ProtoInstance> -->

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