1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.1//EN" "https://www.web3d.org/specifications/x3d-3.1.dtd">
|
3 | <X3D profile='Immersive' version='3.1' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.1.xsd'> |
4 | <head> |
5 | <meta name='title' content='RearWindow.x3d'/> |
6 | <meta name='description' content='Rear window from the balck midsize truck'/> |
7 | <meta name='creator' content='Donald Coomes'/> |
8 | <meta name='created' content='25 August 2006'/> |
9 | <meta name='modified' content='20 October 2019'/> |
10 | <meta name='generator' content='X3D-Edit, Wings3d, and Flux Studio'/> |
11 | <meta name='identifier' content='https://savage.nps.edu/Savage/GroundVehicles/Truck/RearWindow.x3d'/> |
12 | <meta name='license' content='../../license.html'/> |
13 | </head> |
14 | <Scene> |
15 | <WorldInfo title='RearWindow.x3d'/> |
16 | <Group DEF='WindowRear'> |
17 |
<!-- ROUTE information for RearWindow node:
[from RearWindowPI.value_changed to set_translation
]
-->
<Transform DEF='RearWindow'> |
18 | <Shape> |
19 | <Appearance> |
20 | <Material DEF='ClearGlass' diffuseColor='0 0 .25' transparency='.5'/> |
21 | </Appearance> |
22 | <IndexedFaceSet creaseAngle='0.524' colorIndex='0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1 0 0 0 -1' coordIndex='0 5 16 -1 0 16 19 -1 0 19 18 -1 0 18 3 -1 1 2 11 -1 1 11 10 -1 1 10 9 -1 1 9 4 -1 2 7 8 -1 2 8 11 -1 3 18 17 -1 3 17 6 -1 4 7 15 -1 4 15 14 -1 4 9 8 -1 4 8 7 -1 4 14 13 -1 4 13 5 -1 5 6 17 -1 5 17 16 -1 5 13 12 -1 5 12 6 -1 6 12 15 -1 6 15 7 -1 8 9 10 -1 8 10 11 -1 12 13 14 -1 12 14 15 -1 16 17 18 -1 16 18 19 -1'> |
23 | <Coordinate point='-1.9369 1.57058 -2.11829 1.91838 1.5812 -2.11852 1.83455 1.58097 -2.08952 -1.85159 1.57081 -2.08979 1.76023 1.69121 -2.11851 -1.75893 1.68151 -2.1183 -1.73 1.68159 -2.08964 1.73278 1.69113 -2.08967 1.7344 .99762 -2.08967 1.76185 .99769 -2.11851 1.92 .88768 -2.11852 1.83617 .88745 -2.08952 -1.72838 .98808 -2.08964 -1.75731 .988 -2.1183 1.76185 .99769 -2.11851 1.7344 .99762 -2.08967 -1.75731 .988 -2.1183 -1.72838 .98808 -2.08964 -1.84997 .8773 -2.08979 -1.93528 .87706 -2.11829'/> |
24 | </IndexedFaceSet> |
25 | </Shape> |
26 | </Transform> |
27 |
<!-- ROUTE information for RearWindowClock node:
[from RearWindowSensor.touchTime to startTime
]
[from fraction_changed to RearWindowPI.set_fraction
]
-->
<TimeSensor DEF='RearWindowClock' cycleInterval='8.000'/> |
28 |
<!-- ROUTE information for RearWindowSensor node:
[from touchTime to RearWindowClock.startTime
]
-->
<TouchSensor DEF='RearWindowSensor' description='Touch to roll down rear window'/> |
29 | </Group> |
30 |
<!-- ROUTE information for RearWindowPI node:
[from RearWindowClock.fraction_changed to set_fraction
]
[from value_changed to RearWindow.set_translation
]
-->
<PositionInterpolator DEF='RearWindowPI' key='0 .25 .49997 .75 1' keyValue='0 0 0 0 -.4 0 0 -.65 0 0 -.4 0 0 0 0'/> |
31 | < ROUTE fromNode='RearWindowClock' fromField='fraction_changed' toNode='RearWindowPI' toField='set_fraction'/> |
32 | < ROUTE fromNode='RearWindowPI' fromField='value_changed' toNode='RearWindow' toField='set_translation'/> |
33 | < ROUTE fromNode='RearWindowSensor' fromField='touchTime' toNode='RearWindowClock' toField='startTime'/> |
34 | </Scene> |
35 | </X3D> |
Event Graph ROUTE Table entries with 3 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.
RearWindowSensor
TouchSensor touchTime SFTime |
RearWindowClock
TimeSensor startTime SFTime |
then
|
RearWindowClock
TimeSensor fraction_changed SFFloat |
RearWindowPI
PositionInterpolator set_fraction SFFloat |
then
|
RearWindowPI
PositionInterpolator value_changed SFVec3f |
RearWindow
Transform set_translation SFVec3f |
<!--
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)
-->
<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->