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='Interchange' 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=' RotorDisk.x3d '/> |
6 | <meta name='description' content='This file defines a rotor disk that is inlined to create the main rotor group for a helicopter'/> |
7 | <meta name='creator' content='Jane Wu (adapted from the original rotordisk.wrl created for vrtp demo helicopter)'/> |
8 | <meta name='created' content='8 January 2001'/> |
9 | <meta name='contributor' content='Del Beilstein'/> |
10 | <meta name='modified' content='20 October 2019'/> |
11 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/OH58dKiowaWarriorUnitedStates/RotorDisk.x3d '/> |
12 | <meta name='generator' content='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
13 | <meta name='license' content='../../license.html'/> |
14 | </head> |
15 | <Scene> |
16 | <WorldInfo title='RotorDisk.x3d'/> |
17 | <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'/> |
18 | <Group> |
19 |
<!-- ROUTE information for MAIN_ROTOR node:
[from MAIN_ROTOR_PATH.value_changed to set_rotation
]
-->
<Transform DEF='MAIN_ROTOR'> |
20 | <!-- No rotation or translation, used to group for animation --> |
21 | <Transform> |
22 | <Shape DEF='SHAFT_SHAPE'> |
23 | <Appearance DEF='GRAY'> |
24 | <Material diffuseColor='0.75 0.75 0.75'/> |
25 | </Appearance> |
26 | <Cylinder bottom='false' height='1.50' radius='0.08' top='false'/> |
27 | </Shape> |
28 | <Transform translation='0 -.5 0'> |
29 | <Shape DEF='Rubber_boot'> |
30 | <Cylinder height='.4' radius='.14'/> |
31 | <Appearance> |
32 | <Material diffuseColor='0 0 0'/> |
33 | </Appearance> |
34 | </Shape> |
35 | <Transform translation='0 .1 0'> |
36 | <Shape> |
37 | <Cylinder height='.3' radius='.12'/> |
38 | <Appearance> |
39 | <Material diffuseColor='0 0 0'/> |
40 | </Appearance> |
41 | </Shape> |
42 | </Transform> |
43 | <Transform translation='0 .15 0'> |
44 | <Shape> |
45 | <Cylinder height='.3' radius='.1'/> |
46 | <Appearance> |
47 | <Material diffuseColor='0 0 0'/> |
48 | </Appearance> |
49 | </Shape> |
50 | </Transform> |
51 | <Transform translation='0 -.05 0'> |
52 | <Shape> |
53 | <Cylinder height='.3' radius='.16'/> |
54 | <Appearance> |
55 | <Material diffuseColor='0 0 0'/> |
56 | </Appearance> |
57 | </Shape> |
58 | </Transform> |
59 | </Transform> |
60 | </Transform> |
61 | <Transform> |
62 | <Shape DEF='ROTOR_DISK_SHAPE'> |
63 | <Appearance DEF='SEMI_TRANSPARENT_WHITE'> |
64 | <Material diffuseColor='1.0 1.0 1.0' transparency='0.5'/> |
65 | </Appearance> |
66 | <Cylinder height='0.04' radius='5.5'/> |
67 | </Shape> |
68 | </Transform> |
69 |
<!-- ROUTE information for CLOCK node:
[from fraction_changed to MAIN_ROTOR_PATH.set_fraction
]
-->
<TimeSensor DEF='CLOCK' cycleInterval='2.0' loop='true'/> |
70 |
<!-- ROUTE information for MAIN_ROTOR_PATH node:
[from CLOCK.fraction_changed to set_fraction
]
[from value_changed to MAIN_ROTOR.set_rotation
]
-->
<OrientationInterpolator DEF='MAIN_ROTOR_PATH' key='0.0 1.0' keyValue='0.0 1.0 0.0 0.0 0.0 1.0 0.0 3.142'/> |
71 | </Transform> |
72 | </Group> |
73 | < ROUTE fromNode='CLOCK' fromField='fraction_changed' toNode='MAIN_ROTOR_PATH' toField='set_fraction'/> |
74 | < ROUTE fromNode='MAIN_ROTOR_PATH' fromField='value_changed' toNode='MAIN_ROTOR' toField='set_rotation'/> |
75 | </Scene> |
76 | </X3D> |
Event Graph ROUTE Table 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.
CLOCK
TimeSensor fraction_changed SFFloat |
MAIN_ROTOR_PATH
OrientationInterpolator set_fraction SFFloat |
then
|
MAIN_ROTOR_PATH
OrientationInterpolator value_changed SFRotation |
MAIN_ROTOR
Transform set_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.
-->