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=' Body.x3d '/> |
6 | <meta name='description' content='MEFFV Body'/> |
7 | <meta name='creator' content='Sean Hynes'/> |
8 | <meta name='contributor' content="This body is modified from William Geissler's AAAV Body"/> |
9 | <meta name='created' content='9 September 2002'/> |
10 | <meta name='modified' content='7 April 2024'/> |
11 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Savage/GroundVehicles/MEFFV/Body.x3d '/> |
12 | <meta name='generator' content='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
13 | <meta name='license' content='../../license.html'/> |
14 | </head> |
15 | <Scene> |
16 | <WorldInfo info='"MEFFV Vehicle Body"' title='MEFFV Body'/> |
17 | <NavigationInfo speed='10'/> |
18 | <Transform DEF='Body' rotation='0 1 0 1.57' translation='2.5 1.1 -5.2'> |
19 | <Shape DEF='BODYSET'> |
20 | <!-- This indexedFaceSet is the whole body. --> |
21 | <Appearance> |
22 |
<ImageTexture DEF='CAMMIE1'
url=' "../AAAV/cammie1.jpg![]() ![]() |
23 | </Appearance> |
24 | <IndexedFaceSet convex='false' creaseAngle='0.05' coordIndex='0 1 2 3 4 5 6 7 8 0 -1 9 10 8 7 -1 11 12 10 9 -1 3 14 4 3 -1 3 2 13 14 3 -1 2 1 13 2 -1 15 16 17 18 19 20 21 22 23 15 -1 24 25 17 16 -1 26 27 25 24 -1 21 20 28 21 -1 22 21 28 29 22 -1 23 22 29 23 -1 6 5 19 18 -1 5 4 20 19 -1 4 14 13 1 0 15 23 29 28 20 -1 0 8 10 12 26 24 16 15 0 -1 11 9 7 6 18 17 25 27 11 -1 12 11 27 26 12 -1' texCoordIndex='0 1 2 3 4 5 6 7 8 0 -1 9 10 8 7 -1 11 12 10 9 -1 3 14 4 3 -1 3 2 13 14 3 -1 2 1 13 2 -1 15 16 17 18 19 20 21 22 23 15 -1 24 25 17 16 -1 26 27 25 24 -1 21 20 28 21 -1 22 21 28 29 22 -1 23 22 29 23 -1 6 5 19 18 -1 5 4 20 19 -1 4 14 13 1 0 15 23 29 28 20 -1 0 8 10 12 26 24 16 15 0 -1 11 9 7 6 18 17 25 27 11 -1 12 11 27 26 12 -1'> |
25 | <Coordinate point='0.0 0.4 0.0 -1.6 0.4 0.0 -2.4 0.4 0.0 -3.8 0.4 0.0 -5.6 0.4 0.0 -8.0 -0.6 0.0 -10.4 -1.6 0.0 -9.4 -1.6 0.0 -0.4 -1.6 0.0 -9.4 -1.6 -0.2 -0.4 -1.6 -0.2 -8.4 -2.5 -0.8 -0.8 -2.5 -0.8 -1.6 0.4 -1.0 -5.6 0.4 -1.0 0.0 0.4 -5.0 -0.4 -1.6 -5.0 -9.4 -1.6 -5.0 -10.4 -1.6 -5.0 -8.0 -0.6 -5.0 -5.6 0.4 -5.0 -3.8 0.4 -5.0 -2.4 0.4 -5.0 -1.6 0.4 -5.0 -0.4 -1.6 -4.8 -9.4 -1.6 -5.0 -0.8 -2.5 -4.2 -8.4 -2.5 -4.2 -5.6 0.4 -4.0 -1.6 0.4 -4.0'/> |
26 | <TextureCoordinate point='1.00 0.32 0.76 0.32 0.68 0.24 0.40 0.24 0.32 0.32 0.08 0.28 0.00 0.20 0.12 0.00 0.92 0.00 0.12 0.08 0.92 0.08 0.12 0.16 0.92 0.16 0.68 0.32 0.40 0.32 1.00 0.68 0.92 1.00 0.12 1.00 0.00 0.80 0.08 0.72 0.32 0.68 0.40 0.76 0.68 0.76 0.76 0.68 0.92 0.92 0.12 0.92 0.92 0.84 0.12 0.84 0.40 0.68 0.68 0.68'/> |
27 | </IndexedFaceSet> |
28 | </Shape> |
29 | <Transform DEF='HATCH' scale='1.5 1.5 1.5' translation='-6.2 0.2 -1.5'> |
30 | <Group DEF='CrewHatch'> |
31 | <Shape> |
32 | <Extrusion ccw='false' crossSection='0.30 0.35 0.20 0.45 -0.20 0.45 -0.45 0.20 -0.45 -0.20 -0.20 -0.45 0.20 -0.45 0.30 -0.35 0.30 0.35' spine='0 -0.2 0 0 0.08 0'/> |
33 | <Appearance> |
34 |
<!-- ImageTexture
CAMMIE is a DEF node that has 2 USE nodes: USE_1, USE_2 --> <ImageTexture DEF='CAMMIE' url=' "../AAAV/cammie2.jpg ![]() ![]() |
35 | </Appearance> |
36 | </Shape> |
37 | <Transform translation='0.40 0.05 0.00'> |
38 | <Shape> |
39 | <Box size='0.2 0.1 0.7'/> |
40 | <Appearance> |
41 | <ImageTexture USE='CAMMIE'/> |
42 | </Appearance> |
43 | </Shape> |
44 | </Transform> |
45 | <Transform rotation='0 1 0 0.785' translation='-0.325 0 -0.325'> |
46 | <Shape> |
47 | <Box size='0.3 0.06 0.05'/> |
48 | <Appearance> |
49 | <Material ambientIntensity='0.26' diffuseColor='0.20 0.08 0.00' shininess='0.08' specularColor='0.75 0.33 0.00'/> |
50 | </Appearance> |
51 | </Shape> |
52 | </Transform> |
53 | <Transform rotation='0 1 0 -0.785' translation='-0.325 0 0.325'> |
54 | <Shape> |
55 | <Box size='0.3 0.06 0.05'/> |
56 | <Appearance> |
57 | <Material ambientIntensity='0.26' diffuseColor='0.20 0.08 0.00' shininess='0.08' specularColor='0.75 0.33 0.00'/> |
58 | </Appearance> |
59 | </Shape> |
60 | </Transform> |
61 | <Transform rotation='0 1 0 1.57' translation='-0.45 0 0'> |
62 | <Shape> |
63 | <Box size='0.3 0.06 0.05'/> |
64 | <Appearance> |
65 | <Material ambientIntensity='0.26' diffuseColor='0.20 0.08 0.00' shininess='0.08' specularColor='0.75 0.33 0.00'/> |
66 | </Appearance> |
67 | </Shape> |
68 | </Transform> |
69 | </Group> |
70 | </Transform> |
71 | <Transform DEF='LTANT' translation='-2.4 0 -0.5'> |
72 | |
73 | <Shape> |
74 | <Cone bottom='false' bottomRadius='0.2' height='0.5'/> |
75 | <Appearance> |
76 | <Material diffuseColor='0.1 0.1 0.1'/> |
77 | </Appearance> |
78 | </Shape> |
79 | <Transform translation='0 1.4 0'> |
80 | <Shape> |
81 | <Cylinder bottom='false' height='3' radius='0.01'/> |
82 | <Appearance> |
83 | <Material diffuseColor='0.1 0.1 0.1'/> |
84 | </Appearance> |
85 | </Shape> |
86 | </Transform> |
87 | </Group> |
88 | </Transform> |
89 | <Transform DEF='RTANT' translation='-2.4 0 -4.5'> |
90 | <Group USE='Antenna'/> |
91 | </Transform> |
92 | <Transform DEF='ENGINE' rotation='0 0 1 .40' translation='-6.8 -0.05 -3.5'> |
93 | <!-- Engine jpg --> |
94 | <Shape> |
95 | <Box size='2 0.1 1.5'/> |
96 | <Appearance> |
97 |
<ImageTexture
url=' "../AAAV/engine.jpg![]() ![]() |
98 | </Appearance> |
99 | </Shape> |
100 | </Transform> |
101 | <Transform DEF='BACKDOOR' rotation='1 0 0 -1.57' translation='0.03 0 0'> |
102 | <!-- Back door (swings open) --> |
103 |
<!-- ROUTE information for TransomFlap node:
[from TRANSOMCYLINDERSENSOR.rotation_changed to set_rotation
]
-->
<Transform DEF='TransomFlap' rotation='0 1 0 0.3' scale='0.9 0.9 0.9' translation='-0.7 2.5 -2.4'> |
104 | <Group> |
105 | <Shape> |
106 | <Extrusion convex='false' crossSection='1.5 2.5 -1.5 2.5 -1.5 0.0 1.5 0.0 1.5 2.5' solid='false' spine='0 0 0 0.05 0 0'/> |
107 | <Appearance> |
108 | <ImageTexture USE='CAMMIE'/> |
109 | </Appearance> |
110 | </Shape> |
111 | </Group> |
112 |
<!-- ROUTE information for TRANSOMCYLINDERSENSOR node:
[from rotation_changed to TransomFlap.set_rotation
]
-->
<CylinderSensor DEF='TRANSOMCYLINDERSENSOR' maxAngle='1.7' minAngle='0.3'/> |
113 | </Transform> |
114 | <Transform scale='0.9 0.9 0.9' translation='-0.7 2.5 -2.4'> |
115 | <Shape> |
116 | <Cylinder height='2.8' radius='0.1'/> |
117 | <Appearance> |
118 |
<ImageTexture
url=' "../AAAV/green1.jpg![]() ![]() |
119 | </Appearance> |
120 | </Shape> |
121 | <!-- This is the back door hinge. --> |
122 | </Transform> |
123 | </Transform> |
124 | </Transform> |
125 | < ROUTE fromNode='TRANSOMCYLINDERSENSOR' fromField='rotation_changed' toNode='TransomFlap' toField='set_rotation'/> |
126 | </Scene> |
127 | </X3D> |
Event Graph ROUTE Table with 1 ROUTE connection 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.
TRANSOMCYLINDERSENSOR
CylinderSensor rotation_changed SFRotation |
TransomFlap
Transform set_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.
-->