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='titlecontent=' MissileExplosionExample.x3d '/>
  6            <meta name='descriptioncontent='Simple prototype for a missile explosion resulting from a Harpoon strike.'/>
  7            <meta name='creatorcontent='James Harney'/>
  8            <meta name='createdcontent='13 October 2002'/>
  9            <meta name='modifiedcontent='28 November 2019'/>
 10            <meta name=' warning content=' not working '/>
 11            <meta name='referencecontent='http://www.planetnine.com'/>
 12            <meta name='referencecontent=' http://www.specialoperations.com/multimedia/sounds.html '/>
 13            <meta name='referencecontent=' 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='accessRightscontent=' soundpermissions.html '/>
 15            <meta name='referencecontent='explosion.png'/>
 16            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/Weapons/Missiles/MissileExplosionExample.x3d '/>
 17            <meta name='generatorcontent='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 18            <meta name='licensecontent='../../license.html'/>
 19       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: 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://www.web3d.org/x3d/content/examples/Savage/Weapons/Missiles/MissileExplosionPrototype.wrl#ASMEXPLOSION" "MissileExplosionPrototype.x3d#ASMEXPLOSION" "../../Weapons/Missiles/MissileExplosionPrototype.x3d#ASMEXPLOSION" "https://www.web3d.org/x3d/content/examples/Savage/Weapons/Missiles/MissileExplosionPrototype.x3d#ASMEXPLOSION" '>
 23                 <field name='STARTEXPLOSIONtype='SFBoolaccessType='inputOnly'/>
 24                 <field name='THETIMEtype='SFTimeaccessType='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='ASMEXPLOSIONDEF='Boom'/>
 28 
          <!-- ROUTE information for Timer node:  [from cycleTime to Boom.THETIME ] [from isActive to Boom.STARTEXPLOSION ] -->
          <TimeSensor DEF='TimercycleInterval='10loop='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 DEF nodes index: 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 direct ROUTE connection found for events to/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://www.web3d.org/x3d/content/examples/Savage/Weapons/Missiles/MissileExplosionExampleIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/Weapons/Missiles/MissileExplosionExample.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)
    <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. -->