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=' CockpitTop.x3d '/> |
6 | <meta name='description' content='This file defines a cockpit top that is inlined to create the cockpit of a helicopter'/> |
7 | <meta name='creator' content='Jane Wu (adapted from the original cockpittop.wrl created for vrtp demo helicopter)'/> |
8 | <meta name='created' content='9 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/CockpitTop.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='CockpitTop.x3d'/> |
16 | <Transform> |
17 | <Shape> |
18 | |
19 | <Material diffuseColor='0.0 0.4 0.2'/> |
20 | </Appearance> |
21 | <Extrusion beginCap='false' convex='false' creaseAngle='1.5' crossSection='-0.700 1.2 -0.625 1.3 0.625 1.3 0.700 1.2' endCap='false' solid='false' spine='0.0 0.0 0.0 0.0 0.6 0.0'/> |
22 | </Shape> |
23 | <Transform rotation='1.0 0.0 0.0 1.57' translation='0.0 0.600 1.3'> |
24 | <Shape> |
25 | <Appearance USE='GREEN'/> |
26 | <IndexedFaceSet convex='false' coordIndex='0 1 2 3 -1 3 2 1 0 -1 1 4 5 2 -1 2 5 4 1 -1'> |
27 | <Coordinate point='0.0 0.0 0.0 0.0 -0.2 -0.5 -0.05 -0.2 -0.5 -0.05 0.0 0.0 0.0 -0.5 -0.7 -0.05 -0.5 -0.7'/> |
28 | </IndexedFaceSet> |
29 | </Shape> |
30 | </Transform> |
31 | <Transform center='0.0 0.0 0.45' rotation='1.0 0.0 0.0 0.8' translation='-0.67 0.560 0.80'> |
32 | |
33 | <Appearance USE='GREEN'/> |
34 | <Box size='0.05 0.02 0.9'/> |
35 | </Shape> |
36 | </Transform> |
37 | <Transform center='0.0 0.0 0.45' rotation='1.0 0.0 0.0 0.8' translation='0.67 0.560 0.80'> |
38 | <Shape USE='DOOR_BAR'/> |
39 | </Transform> |
40 | <Transform rotation='1.0 0.0 0.0 1.57' translation='0.0 0.4 1.3'> |
41 | <Transform rotation='0.0 1.0 0.0 1.57'> |
42 | <Shape> |
43 | <Appearance DEF='DARK_GREEN'> |
44 | <Material diffuseColor='0.0 0.4 0.3'/> |
45 | </Appearance> |
46 | <IndexedFaceSet convex='false' coordIndex='0 1 2 3 4 -1 5 9 8 7 6 -1 0 4 9 5 -1 4 3 8 9 -1 1 6 7 2 -1 7 8 3 2 -1'> |
47 | <!-- right side, left side, back, front --> |
48 | <Coordinate point='0.0 0.0 0.0 0.15 0.0 0.0 0.1 0.1 0.0 0.5 0.4 0.0 0.0 0.1 0.0 0.0 0.0 -0.03 0.15 0.0 -0.03 0.1 0.1 -0.03 0.5 0.4 -0.03 0.0 0.1 -0.03'/> |
49 | </IndexedFaceSet> |
50 | </Shape> |
51 | </Transform> |
52 | </Transform> |
53 | <Transform rotation='1.0 0.0 0.0 1.57' translation='0.15 0.5 1.3'> |
54 |
<!-- Transform
ANTENNA_BASE_TRANSFORM is a DEF node that has 1 USE node: USE_1 -->
<Transform DEF='ANTENNA_BASE_TRANSFORM' rotation='0.0 1.0 0.0 1.57'> |
55 | <Shape DEF='ANTENNA_BASE'> |
56 | <Appearance USE='GREEN'/> |
57 | <IndexedFaceSet convex='false' coordIndex='0 1 2 3 -1 4 7 6 5 -1 0 3 7 4 -1 1 5 6 2 -1'> |
58 | <!-- right side, left side, back, front --> |
59 | <Coordinate point='0.0 0.0 0.0 0.1 0.0 0.0 0.075 0.5 0.0 0.025 0.5 0.0 0.0 0.0 -0.04 0.1 0.0 -0.04 0.075 0.5 -0.04 0.025 0.5 -0.04'/> |
60 | </IndexedFaceSet> |
61 | </Shape> |
62 | </Transform> |
63 |
<!-- Transform
ANTENNA_TIP_TRANSFORM is a DEF node that has 1 USE node: USE_1 -->
<Transform DEF='ANTENNA_TIP_TRANSFORM' rotation='1.0 0.0 0.0 1.57' translation='-0.020 0.47 0.1'> |
64 | <Shape DEF='ANTENNA_TIP'> |
65 | <Appearance USE='GREEN'/> |
66 | <Cone bottomRadius='0.015' height='0.3'/> |
67 | </Shape> |
68 | </Transform> |
69 | </Transform> |
70 | <Transform rotation='1.0 0.0 0.0 1.57' translation='-0.15 0.5 1.3'> |
71 | <Transform USE='ANTENNA_BASE_TRANSFORM'/> |
72 | <Transform USE='ANTENNA_TIP_TRANSFORM'/> |
73 | </Transform> |
74 | </Transform> |
75 | </Scene> |
76 | </X3D> |
<!--
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.
-->