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='SenseDecideActEngagePrototype.x3d'/> |
6 | <meta name='description' content='Sense-Decide-Act Prototype utilized for Anti-Terrorism/Force Protection Simulation.'/> |
7 | <meta name='creator' content='James Harney'/> |
8 | <meta name='created' content='6 February 2002'/> |
9 | <meta name='modified' content='1 October 2023'/> |
10 | <meta name='identifier' content='https://savage.nps.edu/Savage/Scenarios/LimitedObjectiveExperimentPortHueneme/SenseDecideActEngagePrototype.x3d'/> |
11 | <meta name='generator' content='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/> |
12 | <meta name='license' content='../../license.html'/> |
13 | </head> |
14 | <Scene> |
15 | <WorldInfo title='SenseDecideActEngagePrototype.x3d'/> |
16 | <ExternProtoDeclare name='RHIB' url=' "../../Scenarios/UssColeTerroristAttack/RHIBPrototype.wrl#RHIB" "RHIBPrototype.wrl#RHIB" "RHIBPrototype.x3d#RHIB" "https://savage.nps.edu/Savage/Scenarios/UssColeTerroristAttack/RHIBPrototype.wrl#RHIB" "https://savage.nps.edu/Savage/Scenarios/UssColeTerroristAttack/RHIBBoatPrototype.x3d#RHIB" '> |
17 | <field name='startExplosion' type='SFTime' accessType='inputOnly'/> |
18 | </ExternProtoDeclare> |
19 | <ProtoDeclare name='SenseDecideActEngagePrototype'> |
20 | <ProtoInterface> |
21 | <field name='engagementPosition' type='SFVec3f' accessType='inputOutput'/> |
22 | <field name='engagementTextPosition' type='SFVec3f' 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/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> |
<!--
Color 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. -->