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=' Cowling.x3d '/> |
6 | <meta name='description' content='This file defines a cowling that is inlined to create a helicopter'/> |
7 | <meta name='creator' content='Jane Wu (adapted from the original cowling.wrl created for vrtp demo helicopter)'/> |
8 | <meta name='created' content='12 January 2001'/> |
9 | <meta name='modified' content='20 October 2019'/> |
10 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/HelicopterUnitedStates/Cowling.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='Cowling.x3d'/> |
16 | <Group> |
17 | <Background groundAngle='1.309 1.570796' groundColor='0.1 0.1 0.0 0.4 0.25 0.2 0.6 0.6 0.6' skyAngle='1.309 1.571' skyColor='0.0 0.2 0.7 0.0 0.5 1.0 1.0 1.0 1.0'/> |
18 | <Shape> |
19 | <Appearance DEF='GREEN'> |
20 | <Material diffuseColor='0.0 0.5 0.0'/> |
21 | </Appearance> |
22 | <IndexedFaceSet coordIndex='0 1 2 3 4 -1 5 9 8 7 6 -1 0 4 3 8 9 5 -1 1 10 11 2 -1 6 7 13 12 -1 10 14 15 11 -1 12 13 17 16 -1 14 18 19 15 -1 16 17 21 20 -1 18 20 21 19 -1 3 2 7 8 -1 2 11 13 7 -1 11 15 17 13 -1 15 19 21 17 -1'> |
23 | <Coordinate point='0.0 0.0 0.0 1.0 0.0 0.4 1.0 1.0 0.4 0.4 1.0 0.0 0.4 0.6 0.0 0.0 0.0 -0.5 1.0 0.0 -0.9 1.0 1.0 -0.9 0.4 1.0 -0.5 0.4 0.6 -0.5 2.0 0.0 0.4 2.0 1.0 0.4 2.0 0.0 -0.9 2.0 1.0 -0.9 3.5 0.0 0.4 3.5 0.8 0.4 3.5 0.0 -0.9 3.5 0.8 -0.9 4.2 0.0 0.1 4.0 0.6 0.1 4.2 0.0 -0.6 4.0 0.6 -0.6'/> |
24 | </IndexedFaceSet> |
25 | </Shape> |
26 | <Transform translation='1.5 1.04 -0.25'> |
27 | <Shape> |
28 | <Appearance> |
29 |
<!-- ROUTE information for BALL_COLOR node:
[from COLOR_PATH.value_changed to set_emissiveColor
]
-->
<Material DEF='BALL_COLOR' diffuseColor='0.4 0.4 0.4'/> |
30 | </Appearance> |
31 | <Sphere radius='0.04'/> |
32 | </Shape> |
33 | </Transform> |
34 | <Transform translation='1.5 1.02 -0.25'> |
35 | <Shape> |
36 | <Appearance> |
37 | <Material diffuseColor='0.1 0.1 0.1'/> |
38 | </Appearance> |
39 | <Cylinder height='0.05' radius='0.06'/> |
40 | </Shape> |
41 | </Transform> |
42 |
<!-- ROUTE information for CLOCK node:
[from fraction_changed to COLOR_PATH.set_fraction
]
-->
<TimeSensor DEF='CLOCK' loop='true'/> |
43 |
<!-- ROUTE information for COLOR_PATH node:
[from CLOCK.fraction_changed to set_fraction
]
[from value_changed to BALL_COLOR.set_emissiveColor
]
-->
<ColorInterpolator DEF='COLOR_PATH' key='0.0 0.5 0.5 1.0' keyValue='1.0 0.0 0.0 1.0 0.0 0.0 1.0 1.0 1.0 1.0 1.0 1.0'/> |
44 | </Group> |
45 | < ROUTE fromNode='CLOCK' fromField='fraction_changed' toNode='COLOR_PATH' toField='set_fraction'/> |
46 | < ROUTE fromNode='COLOR_PATH' fromField='value_changed' toNode='BALL_COLOR' toField='set_emissiveColor'/> |
47 | </Scene> |
48 | </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 |
COLOR_PATH
ColorInterpolator set_fraction SFFloat |
then
|
COLOR_PATH
ColorInterpolator value_changed SFColor |
BALL_COLOR
Material set_emissiveColor SFColor |
<!--
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.
-->