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='Interactive' 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=' MastMountedSight.x3d '/> |
6 | <meta name='description' content='Mast-Mounted Sight of an OH-58D Kiowa Warrior.'/> |
7 | <meta name='creator' content='Del Beilstein'/> |
8 | <meta name='created' content='21 September 2001'/> |
9 | <meta name='modified' content='20 October 2019'/> |
10 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/OH58dKiowaWarriorUnitedStates/MastMountedSight.x3d '/> |
11 | <meta name='generator' content='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
12 | <meta name='license' content='../../license.html'/> |
13 | </head> |
14 | <Scene> |
15 | <WorldInfo title='MastMountedSight.x3d'/> |
16 | <Background groundAngle='1.309 1.570796' groundColor='0.1 0.1 0.0 0.4 0.25 0.2 0.6 0.60 0.6' skyAngle='0.785 1.571' skyColor='0.0 0.2 0.7 0.0 0.5 1.0 1.0 1.0 1.0'/> |
17 | <Viewpoint DEF='Distant_view' description='Mast Mounted Sight (MMS)'/> |
18 | <Viewpoint DEF='Close_up_view' description='Close up view of MMS' jump='false' position='0 2 3'/> |
19 | <Group> |
20 | <Transform> |
21 | <Shape> |
22 | <Cylinder DEF='base' height='0.1'/> |
23 | <Appearance> |
24 | |
25 | </Appearance> |
26 | </Shape> |
27 | </Transform> |
28 | <Transform DEF='Mast_Position' translation='0.0 1.2 0.0'> |
29 | <Shape> |
30 | <Cone DEF='MMS_Mast' bottomRadius='.5' height='2.3'/> |
31 | <Appearance> |
32 | <Material USE='MMS_Color'/> |
33 | </Appearance> |
34 | </Shape> |
35 | <Transform DEF='MMS_fan_psn' rotation='1 0 0 1.59' translation='0 -0.3 0.4'> |
36 | <Shape> |
37 | <Cylinder DEF='MMS_fan' height='.4' radius='.2'/> |
38 | <Appearance> |
39 | <Material USE='MMS_Color'/> |
40 | </Appearance> |
41 | </Shape> |
42 | </Transform> |
43 | </Transform> |
44 |
<!-- ROUTE information for Head_Position node:
[from MMS_Rotator_Y.value_changed to rotation
]
[from MMS_Rotator_X.value_changed to set_rotation
]
-->
<Transform DEF='Head_Position' translation='0.0 2.4 0.0'> |
45 | <Shape> |
46 | <Sphere DEF='MMS_Head' radius='0.8'/> |
47 | <Appearance> |
48 | <Material USE='MMS_Color'/> |
49 | </Appearance> |
50 | </Shape> |
51 |
<!-- ROUTE information for MMS_Sensor_Y node:
[from touchTime to MMS_Clock_Y.startTime
]
-->
<TouchSensor DEF='MMS_Sensor_Y' description='touch to activate'/> |
52 |
<!-- ROUTE information for MMS_Clock_Y node:
[from MMS_Sensor_Y.touchTime to startTime
]
[from fraction_changed to MMS_Rotator_Y.set_fraction
]
-->
<TimeSensor DEF='MMS_Clock_Y' cycleInterval='5'/> |
53 | < ROUTE fromNode='MMS_Sensor_Y' fromField='touchTime' toNode='MMS_Clock_Y' toField='startTime'/> |
54 |
<!-- ROUTE information for MMS_Rotator_Y node:
[from MMS_Clock_Y.fraction_changed to set_fraction
]
[from value_changed to Head_Position.rotation
]
-->
<OrientationInterpolator DEF='MMS_Rotator_Y' key='0.00 0.15 0.30 0.45 0.60 0.75 0.87 1.00' keyValue='1 0 0 0.785 1 0 0 1.590 1 0 0 0.785 1 0 0 0.000 1 0 0 5.400 1 0 0 4.785 1 0 0 5.400 1 0 0 0.0'/> |
55 | < ROUTE fromNode='MMS_Clock_Y' fromField='fraction_changed' toNode='MMS_Rotator_Y' toField='set_fraction'/> |
56 | < ROUTE fromNode='MMS_Rotator_Y' fromField='value_changed' toNode='Head_Position' toField='rotation'/> |
57 | <Transform DEF='TIS_Window' rotation='1 0 0 1.59' translation='0.3 0.1 0.70'> |
58 | <Shape> |
59 | <Cylinder height='0.2' radius='0.25'/> |
60 | <Appearance> |
61 | <Material USE='MMS_Color'/> |
62 | </Appearance> |
63 | </Shape> |
64 | <Transform DEF='TIS_lense_psn' translation='0 0.1 0'> |
65 | <Shape> |
66 | <Cylinder height='.05' radius='.2'/> |
67 | <Appearance> |
68 | <Material DEF='Lens_color' diffuseColor='0 0 0' transparency='0.5'/> |
69 | </Appearance> |
70 | </Shape> |
71 | </Transform> |
72 | </Transform> |
73 | <Transform DEF='TV_Window' rotation='1 0 0 1.59' translation='-0.3 0.1 0.70'> |
74 | <Shape> |
75 | <Cylinder height='0.2' radius='0.2'/> |
76 | <Appearance> |
77 | <Material USE='MMS_Color'/> |
78 | </Appearance> |
79 | </Shape> |
80 |
<!-- ROUTE information for MMS_Sensor_X node:
[from touchTime to MMS_Clock_X.set_startTime
]
-->
<TouchSensor DEF='MMS_Sensor_X' description='touch to activate'/> |
81 |
<!-- ROUTE information for MMS_Clock_X node:
[from MMS_Sensor_X.touchTime to set_startTime
]
[from fraction_changed to MMS_Rotator_X.set_fraction
]
-->
<TimeSensor DEF='MMS_Clock_X' cycleInterval='5'/> |
82 | < ROUTE fromNode='MMS_Sensor_X' fromField='touchTime' toNode='MMS_Clock_X' toField='set_startTime'/> |
83 |
<!-- ROUTE information for MMS_Rotator_X node:
[from MMS_Clock_X.fraction_changed to set_fraction
]
[from value_changed to Head_Position.set_rotation
]
-->
<OrientationInterpolator DEF='MMS_Rotator_X' key='0.00 0.15 0.30 0.45 0.60 0.75 0.87 1.00' keyValue='0 1 0 0.785 0 1 0 1.590 0 1 0 0.785 0 1 0 0.000 0 1 0 5.400 0 1 0 4.785 0 1 0 5.400 0 1 0 0.0'/> |
84 | < ROUTE fromNode='MMS_Clock_X' fromField='fraction_changed' toNode='MMS_Rotator_X' toField='set_fraction'/> |
85 | < ROUTE fromNode='MMS_Rotator_X' fromField='value_changed' toNode='Head_Position' toField='set_rotation'/> |
86 | <Transform DEF='TV_lense_psn' translation='0 0.1 0'> |
87 | <Shape> |
88 | <Cylinder height='0.05' radius='0.17'/> |
89 | <Appearance> |
90 | <Material diffuseColor='0 0 0'/> |
91 | </Appearance> |
92 | </Shape> |
93 | </Transform> |
94 | </Transform> |
95 | </Transform> |
96 | </Group> |
97 | </Scene> |
98 | </X3D> |
Event Graph ROUTE Table entries with 6 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.
MMS_Sensor_X
TouchSensor touchTime SFTime |
MMS_Clock_X
TimeSensor set_startTime SFTime |
then
|
MMS_Clock_X
TimeSensor fraction_changed SFFloat |
MMS_Rotator_X
OrientationInterpolator set_fraction SFFloat |
then
|
MMS_Rotator_X
OrientationInterpolator value_changed SFRotation |
Head_Position
Transform set_rotation SFRotation |
MMS_Sensor_Y
TouchSensor touchTime SFTime |
MMS_Clock_Y
TimeSensor startTime SFTime |
then
|
MMS_Clock_Y
TimeSensor fraction_changed SFFloat |
MMS_Rotator_Y
OrientationInterpolator set_fraction SFFloat |
then
|
MMS_Rotator_Y
OrientationInterpolator value_changed SFRotation |
Head_Position
Transform rotation SFRotation |
<!--
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)
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->