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='Interactive' 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='ModelOrientation.x3d'/> |
6 | <meta name='creator' content='Jeffrey Weekley'/> |
7 | <meta name='created' content='15 July 2003'/> |
8 | <meta name='modified' content='20 October 2019'/> |
9 | <meta name='description' content='X Y Z axis arrows and labels of X3D coordinate system to illustrate default entity center of gravity at 0 0 0, with default nose orientation pointing along the +X-axis. Ground vehicles have their position raised to allow bottom to touch the ground.'/> |
10 | <meta name='Image' content='ModelOrientation.jpg'/> |
11 | <meta name='reference' content='../X3dSceneAuthoringHints.html#CoordinateSystems'/> |
12 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/Basic/course/ModelOrientation.x3d'/> |
13 | <meta name='generator' content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/> |
14 | <meta name='license' content='../license.html'/> |
15 | </head> |
16 | <Scene> |
17 | <WorldInfo title='ModelOrientation.x3d'/> |
18 | <Viewpoint description='Default model orientation: nose +X axis, up +Y axis, right-hand side +Z axis'/> |
19 | <!-- Each arrow goes from +1m to -1m to allow linear scaling to fit a scene --> |
20 | <!-- Note each label rotates about the scene's vertical Y axis for consistency, enabling local orientation by user --> |
21 | <Transform scale='2 2 2'> |
22 | <Inline DEF='CoordinateAxes' url=' "../../X3dForWebAuthors/Chapter03Grouping/CoordinateAxes.x3d" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter03Grouping/CoordinateAxes.x3d" "https://savage.nps.edu/Savage/Tools/Authoring/CoordinateAxes.x3d" "../../X3dForWebAuthors/Chapter03Grouping/CoordinateAxes.wrl" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter03Grouping/CoordinateAxes.wrl" "https://savage.nps.edu/Savage/Tools/Authoring/CoordinateAxes.wrl" '/> |
23 | </Transform> |
24 | <Transform scale='1.2 1.6 1.6'> |
25 | <Transform rotation='0 0 -1 1.57' scale='0.25 0.25 0.25'> |
26 | <Shape> |
27 | <Cylinder height='8' radius='0.4425' top='false'/> |
28 | |
29 | <Material diffuseColor='0.45 0.55 0.55'/> |
30 | </Appearance> |
31 | </Shape> |
32 | <Transform translation='0 4.9 0'> |
33 | <Shape> |
34 | <Cone bottomRadius='0.4425' height='1.8'/> |
35 | <Appearance USE='Cammi'/> |
36 | </Shape> |
37 | </Transform> |
38 | <Transform translation='0 -4.1 0'> |
39 | <Shape> |
40 | <Cone bottomRadius='0.2' height='0.66'/> |
41 | <Appearance> |
42 | <Material diffuseColor='0.15 0.15 0.15' shininess='0.66' specularColor='0.22 0.22 0.22'/> |
43 | </Appearance> |
44 | </Shape> |
45 | </Transform> |
46 | |
47 | <Shape> |
48 | <IndexedFaceSet solid='false' coordIndex='0 1 2 3 4 5 -1'> |
49 | <Coordinate point='0 0.4 0 0.25 0 0 0.75 0 0 0.75 1 0 0 1.65 0 0 0.4 0'/> |
50 | </IndexedFaceSet> |
51 | <Appearance USE='Cammi'/> |
52 | </Shape> |
53 | </Transform> |
54 | <Transform rotation='0 1 0 1.57'> |
55 | <Transform USE='TailFin'/> |
56 | </Transform> |
57 | <Transform rotation='0 1 0 3.14'> |
58 | <Transform USE='TailFin'/> |
59 | </Transform> |
60 | <Transform rotation='0 1 0 -1.57'> |
61 | <Transform USE='TailFin'/> |
62 | </Transform> |
63 | </Transform> |
64 | </Transform> |
65 | </Scene> |
66 | </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. -->