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='Immersive' 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='Radar.x3d'/> |
6 | <meta name='created' content='1 September 2004'/> |
7 | <meta name='modified' content='20 October 2019'/> |
8 | <meta name='creator' content='Tay Yeong Kiang Winston'/> |
9 | <meta name='identifier' content='https://savage.nps.edu/Savage/ShipsMilitary/HovercraftSnr6Singapore/Radar.x3d'/> |
10 | <meta name='description' content='Creates the rotating radar element of the hovercraft'/> |
11 | <meta name='license' content='../../license.html'/> |
12 | </head> |
13 | <Scene> |
14 | <WorldInfo title='Radar.x3d'/> |
15 | <Group> |
16 |
<!-- ROUTE information for Radar node:
[from RadarPath.value_changed to set_rotation
]
-->
<Transform DEF='Radar'> |
17 | <Transform rotation='0 0 1 -0.1' translation='0 0.5 0'> |
18 | <Shape> |
19 | <Box size='0.8 0.05 4'/> |
20 | <Appearance> |
21 | <Material ambientIntensity='0.0' diffuseColor='0.0 0.0 0.0' shininess='0.056122' specularColor='0.918367 0.910614 0.885116'/> |
22 | </Appearance> |
23 | </Shape> |
24 | </Transform> |
25 | <Transform translation='-0.4 0.6 0'> |
26 | <Shape> |
27 | <Box size='0.1 0.2 4'/> |
28 | <Appearance> |
29 | <Material ambientIntensity='0.0' diffuseColor='0.0 0.0 0.0' shininess='0.056122' specularColor='0.918367 0.910614 0.885116'/> |
30 | </Appearance> |
31 | </Shape> |
32 | </Transform> |
33 | <Shape> |
34 | <Extrusion crossSection='1.00 0.00 0.92 -0.38 0.71 -0.71 0.38 -0.92 0.00 -1.00 -0.38 -0.92 -0.71 -0.71 -0.92 -0.38 -1.00 -0.00 -0.92 0.38 -0.71 0.71 -0.38 0.92 0.00 1.00 0.38 0.92 0.71 0.71 0.92 0.38 1.00 0.00' scale='0.2 0.2 0.15 0.15 0.1 0.1' spine='0 0 0 0 0.25 0 0 0.5 0'/> |
35 | <Appearance> |
36 | <Material ambientIntensity='0.0' diffuseColor='0.0 0.0 0.0' shininess='0.056122' specularColor='0.918367 0.910614 0.885116'/> |
37 | </Appearance> |
38 | </Shape> |
39 | </Transform> |
40 |
<!-- ROUTE information for CLOCK node:
[from fraction_changed to RadarPath.set_fraction
]
-->
<TimeSensor DEF='CLOCK' cycleInterval='4' loop='true'/> |
41 |
<!-- ROUTE information for RadarPath node:
[from CLOCK.fraction_changed to set_fraction
]
[from value_changed to Radar.set_rotation
]
-->
<OrientationInterpolator DEF='RadarPath' key='0 0.5 1' keyValue='0.0 1.0 0.0 0.0 0.0 1.0 0.0 3.14 0.0 1.0 0.0 6.28'/> |
42 | </Group> |
43 | < ROUTE fromNode='CLOCK' fromField='fraction_changed' toNode='RadarPath' toField='set_fraction'/> |
44 | < ROUTE fromNode='RadarPath' fromField='value_changed' toNode='Radar' toField='set_rotation'/> |
45 | </Scene> |
46 | </X3D> |
<!--
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. -->