1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.2//EN" "https://www.web3d.org/specifications/x3d-3.2.dtd">
|
3 | <X3D profile='Immersive' version='3.2' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.2.xsd'> |
4 | <head> |
5 | <meta name='title' content=' Furuno.x3d '/> |
6 | <meta name='description' content='Brazilian Naval Academy Training Ship'/> |
7 | <meta name='creator' content='Claudio Coreixas'/> |
8 | <meta name='created' content='20 October 2009'/> |
9 | <meta name='modified' content='20 October 2019'/> |
10 | <meta name='reference' content='http://www.en.mar.mil.br'/> |
11 | <meta name='subject' content='ships'/> |
12 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/PatrolCraftNavalAcademyBrazil/Furuno.x3d '/> |
13 | <meta name='generator' content='X3D-Edit, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
14 | <meta name='license' content='../../license.html'/> |
15 | </head> |
16 | <Scene> |
17 | <WorldInfo title='Furuno.x3d'/> |
18 |
<!-- ROUTE information for ButtonTouch node:
[from touchTime to antenaCycle.startTime
]
-->
<TouchSensor DEF='ButtonTouch' description='touch to activate'/> |
19 |
<!-- ROUTE information for antenaSet node:
[from antenaSpin.value_changed to rotation
]
-->
<Transform DEF='antenaSet'> |
20 | <Shape DEF='antenna'> |
21 | <Extrusion ccw='false' convex='false' crossSection='-0.8 3.85 -0.9 3.95 -0.9 4.5 -0.6 4.9 0.5 5.3 1.05 5.28 1.3 5.1 1.45 4.9 1.51 4.6 1.45 4.3 1.32 4.1 1.1 3.9 0.8 3.85 -0.7 3.85' solid='false' spine='0 0 8 0 0 -8'/> |
22 | <Appearance> |
23 | <Material diffuseColor='1 1 1'/> |
24 | </Appearance> |
25 | </Shape> |
26 | <Shape DEF='base1'> |
27 | <Extrusion ccw='false' convex='false' crossSection='-0.75 3.7 -0.75 3.85 0.75 3.85 0.75 3.7 -0.75 3.7' solid='false' spine='0 0 1.25 0 0 -1.25'/> |
28 | <Appearance> |
29 | <Material diffuseColor='1 1 1'/> |
30 | </Appearance> |
31 | </Shape> |
32 | <Shape DEF='base2'> |
33 | <Extrusion crossSection='-0.75 3.3 -0.75 3.7 0.75 3.7 0.75 3.3 -0.75 3.3' solid='false' spine='0 0 0.75 0 0 -0.75'/> |
34 | <Appearance> |
35 | <Material diffuseColor='1 1 1'/> |
36 | </Appearance> |
37 | </Shape> |
38 | </Transform> |
39 | <Shape> |
40 | <Appearance DEF='mainBase'> |
41 | <Material diffuseColor='1 1 1'/> |
42 | </Appearance> |
43 | <IndexedFaceSet DEF='mainBaseIFS' convex='false' solid='false' coordIndex='4 1 2 3 -1 4 3 17 15 -1 2 0 3 -1 3 0 17 -1 17 0 18 -1 0 2 7 -1 7 8 0 -1 0 8 18 -1 2 1 10 7 -1 17 18 16 15 -1 8 7 10 -1 10 9 8 -1 18 8 9 16 -1 5 6 1 4 -1 4 15 13 5 -1 10 1 6 11 -1 9 10 11 12 -1 12 14 16 9 -1 5 13 14 12 11 6 -1 13 15 16 14 -1'> |
44 | <Coordinate point='0 3.5 0 2.7 1.5 1.5 2.4 2.3 1.3 0 3 1.7 0 1.5 2 0 0.7 1.6 1.9 0.7 1.3 2.4 2.3 -1.3 0 3 -1.7 0 1.5 -2 2.7 1.5 -1.5 1.9 0.7 -1.3 0 0.7 -1.6 -1.9 0.7 1.3 -1.9 0.7 -1.3 -2.7 1.5 1.5 -2.7 1.5 -1.5 -2.4 2.3 1.3 -2.4 2.3 -1.3'/> |
45 | </IndexedFaceSet> |
46 | </Shape> |
47 | <Shape DEF='base3'> |
48 | <Extrusion crossSection='-1.2 0.3 -1.2 0.7 1.2 0.7 1.2 0.3 -1.2 0.3' solid='false' spine='0 0 1.2 0 0 -1.2'/> |
49 | <Appearance> |
50 | <Material diffuseColor='1 1 1'/> |
51 | </Appearance> |
52 | </Shape> |
53 | <Shape DEF='base4'> |
54 | <Extrusion crossSection='-1.7 0.0 -1.7 0.3 1.7 0.3 1.7 0.0 -1.7 0' solid='false' spine='0 0 1.7 0 0 -1.7'/> |
55 | <Appearance> |
56 | <Material diffuseColor='1 1 1'/> |
57 | </Appearance> |
58 | </Shape> |
59 |
<!-- ROUTE information for antenaSpin node:
[from antenaCycle.fraction_changed to set_fraction
]
[from value_changed to antenaSet.rotation
]
-->
<OrientationInterpolator DEF='antenaSpin' key='0 0.25 0.5 0.75 1' keyValue='0 1 0 0 0 1 0 1.57 0 1 0 3.14 0 1 0 4.71 0 1 0 6.28'/> |
60 |
<!-- ROUTE information for antenaCycle node:
[from ButtonTouch.touchTime to startTime
]
[from fraction_changed to antenaSpin.set_fraction
]
-->
<TimeSensor DEF='antenaCycle' cycleInterval='1.9' loop='true'/> |
61 | < ROUTE fromNode='ButtonTouch' fromField='touchTime' toNode='antenaCycle' toField='startTime'/> |
62 | < ROUTE fromNode='antenaCycle' fromField='fraction_changed' toNode='antenaSpin' toField='set_fraction'/> |
63 | < ROUTE fromNode='antenaSpin' fromField='value_changed' toNode='antenaSet' toField='rotation'/> |
64 | </Scene> |
65 | </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.
ButtonTouch
TouchSensor touchTime SFTime |
antenaCycle
TimeSensor startTime SFTime |
then
|
antenaCycle
TimeSensor fraction_changed SFFloat |
antenaSpin
OrientationInterpolator set_fraction SFFloat |
then
|
antenaSpin
OrientationInterpolator value_changed SFRotation |
antenaSet
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.
-->