| 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=' EngagementRangePrototype.x3d '/> |
| 6 | <meta name='description' content='Visually displays effective engagement range for a sentry armed with a 50 calibre machine gun.'/> |
| 7 | <meta name='creator' content='James Harney'/> |
| 8 | <meta name='created' content='6 February 2002'/> |
| 9 | <meta name='modified' content='29 October 2023'/> |
| 10 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Savage/Scenarios/LimitedObjectiveExperimentPortHueneme/EngagementRangePrototype.x3d '/> |
| 11 | <meta name='generator' content='X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
| 12 | <meta name='license' content='../../license.html'/> |
| 13 | </head> |
| 14 | <Scene> |
| 15 | <WorldInfo title='EngagementRangePrototype.x3d'/> |
| 16 | <ExternProtoDeclare name='RHIB' appinfo='Rigid Hull Inflatable Boat' url=' "../../Scenarios/UssColeTerroristAttack/RHIBPrototype.x3d#RHIB" "https://www.web3d.org/x3d/content/examples/Savage/Scenarios/UssColeTerroristAttack/RHIBPrototype.x3d#RHIB" "../../Scenarios/UssColeTerroristAttack/RHIBPrototype.wrl#RHIB" "https://www.web3d.org/x3d/content/examples/Savage/Scenarios/UssColeTerroristAttack/RHIBPrototype.wrl#RHIB" '> |
| 17 | <field name='startExplosion' type='SFTime' accessType='inputOnly'/> |
| 18 | </ExternProtoDeclare> |
| 19 | <ProtoDeclare name='SenseDecideActEngagePrototype' appinfo='Sense-Decide-Act Engagement Range'> |
| 20 | <ProtoInterface> |
| 21 | <field name='engagementPosition' type='SFVec3f' value='0.0 0.0 0.0' accessType='inputOutput'/> |
| 22 | <field name='engagementTextPosition' type='SFVec3f' value='0.0 0.0 0.0' accessType='inputOutput'/> |
| 23 | </ProtoInterface> |
| 24 | <ProtoBody> |
| 25 | <Group> |
| 26 | <NavigationInfo type='"EXAMINE" "FLY" "ANY"' visibilityLimit='24000'/> |
| 27 | <Background groundAngle='1.309' groundColor='0.2 0.2 0.8 1.0 1.0 1.0' skyAngle='1.309 1.571' skyColor='0.0 0.2 0.7 0.0 0.5 1.0 1.0 1.0 1.0'/> |
| 28 | <Transform DEF='OverallTransform'> |
| 29 | <Transform> |
| 30 | <Transform DEF='EngageSphereTransform'> |
| 31 | <IS> |
| 32 | <connect nodeField='scale' protoField='engagementPosition'/> |
| 33 | </IS> |
| 34 | <Shape> |
| 35 | <Appearance> |
| 36 | <Material diffuseColor='1 0 0' transparency='.75'/> |
| 37 | </Appearance> |
| 38 | <Sphere radius='.5'/> |
| 39 | </Shape> |
| 40 | </Transform> |
| 41 | </Transform> |
| 42 | <Transform DEF='EngageTextTransform'> |
| 43 | <IS> |
| 44 | <connect nodeField='translation' protoField='engagementTextPosition'/> |
| 45 | </IS> |
| 46 | <Shape> |
| 47 | <Appearance> |
| 48 | <Material diffuseColor='1 0 0'/> |
| 49 | </Appearance> |
| 50 | <Text DEF='EngagementRangeValue' string='"Engagement Range"'> |
| 51 | <FontStyle justify='"MIDDLE" "MIDDLE"' size='3' style='BOLD'/> |
| 52 | </Text> |
| 53 | </Shape> |
| 54 | </Transform> |
| 55 | </Transform> |
| 56 | </Group> |
| 57 | </ProtoBody> |
| 58 | </ProtoDeclare> |
| 59 | <!-- ***End of Proto definition, now we're just showing how to use it --> |
| 60 | <Transform> |
| 61 | <Viewpoint description='Initial View point' position='0 100 500'/> |
| 62 | <Transform translation='0 2 0'> |
| 63 | <ProtoInstance name='RHIB' DEF='ColeRhib1'/> |
| 64 | <Transform translation='1 -.5 0'> |
| 65 | <Inline url=' "../../../HumanoidAnimation/Legacy/NancyStandShootRifleM24.x3d" "https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Legacy/NancyStandShootRifleM24.x3d" "../../../HumanoidAnimation/Legacy/NancyStandShootRifleM24.wrl" "https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Legacy/NancyStandShootRifleM24.wrl" '/> |
| 66 | <Transform translation='0 1.5 0'> |
| 67 | <ProtoInstance name='SenseDecideActEngagePrototype' DEF='myRanges'> |
| 68 | <fieldValue name='engagementPosition' value='400 400 400'/> |
| 69 | <fieldValue name='engagementTextPosition' value='0.0 100 400'/> |
| 70 | </ProtoInstance> |
| 71 | </Transform> |
| 72 | </Transform> |
| 73 | </Transform> |
| 74 | </Transform> |
| 75 | <Transform DEF='PlaneTransform'> |
| 76 | <Shape> |
| 77 | <Box size='1000 2 1000'/> |
| 78 | <Appearance> |
| 79 | <Material diffuseColor='0 0 .5' emissiveColor='0 0 .5'/> |
| 80 | </Appearance> |
| 81 | </Shape> |
| 82 | </Transform> |
| 83 | </Scene> |
| 84 | </X3D> |
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.
|
ColeRhib1
ProtoInstance RHIB |
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. |
|
myRanges
ProtoInstance SenseDecideActEngagePrototype |
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. |
<!--
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>
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->