<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
<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 ' >
<head>
<meta name='titlecontent=' CoordinateAxesX3dDIS.x3d '/>
<meta name='creatorcontent='Don Brutzman'/>
<meta name='createdcontent='14 July 2000'/>
<meta name='modifiedcontent='20 October 2019'/>
<meta name='descriptioncontent='X Y Z axis arrows and labels in X3D and DIS coordinate systems. See CoordinateAxesExample for use as an Inline coordinate-system reference frame.'/>
<meta name='referencecontent=' https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter03Grouping/CoordinateAxes.x3d '/>
<meta name='referencecontent=' https://savage.nps.edu/Savage/Tools/Authoring/CoordinateAxes.x3d '/>
<meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Basic/DistributedInteractiveSimulation/CoordinateAxesX3dDIS.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../license.html'/>
</head>
<!-- -->
<Scene>
<!-- Invoke CoordinateAxes in other scenes as an Inline child inside a scaling Transform node, at the topmost level of the scene graph. -->
<!-- This NavigationInfo allows examine mode and will be overridden by any parent scene. -->
<!-- Each arrow goes from +1m to -1m to allow linear scaling to fit a scene -->
<!-- Note each label rotates about the scene's vertical Y axis for consistency, enabling local orientation by user -->
<WorldInfo title='CoordinateAxesX3dDIS.x3d'/>
<Group>
<!-- Vertical Y arrow and label -->
<Group DEF='ArrowGreen'>
<Shape>
<Cylinder DEF='ArrowCylinderradius='.025top='false'/>
<Appearance DEF='Green'>
<Material diffuseColor='.1 .6 .1emissiveColor='.05 .2 .05'/>
</Appearance>
</Shape>
<Transform translation='0 1 0'>
<Shape>
<Cone DEF='ArrowConebottomRadius='.05height='.1'/>
<Appearance USE=' Green'/>
</Shape>
</Transform>
</Group>
<Transform translation='0 1.5 0'>
<Billboard>
<Shape>
<Appearance DEF='LABEL_APPEARANCE'>
<Material diffuseColor='1 1 .3emissiveColor='.33 .33 .1'/>
</Appearance>
<Text string='"Up" "+Y X3D" "-Z DIS"'>
<FontStyle DEF='LABEL_FONTfamily='"SANS"justify='"MIDDLE" "MIDDLE"size='.2'/>
</Text>
</Shape>
</Billboard>
</Transform>
</Group>
<Transform rotation='0 0 1 -1.57079'>
<!-- Horizontal X arrow and label -->
<Group>
<Group DEF='ArrowRed'>
<Shape>
<Cylinder USE=' ArrowCylinder'/>
<Appearance DEF='Red'>
<Material diffuseColor='.7 .1 .1emissiveColor='.33 0 0'/>
</Appearance>
</Shape>
<Transform translation='0 1 0'>
<Shape>
<Cone USE=' ArrowCone'/>
<Appearance USE=' Red'/>
</Shape>
</Transform>
</Group>
<Transform rotation='0 0 1 1.57079translation='-0.05 1.1 0'>
<!-- note label rotated back to original coordinate frame -->
<Billboard>
<Shape>
<Appearance USE=' LABEL_APPEARANCE'/>
<Text string='"North" "+X X3D" "+X DIS"'>
<FontStyle USE=' LABEL_FONT'/>
</Text>
</Shape>
</Billboard>
</Transform>
</Group>
</Transform>
<Transform rotation='1 0 0 1.57079'>
<!-- Perpendicular Z arrow and label, note right-hand rule -->
<Group>
<Group DEF='ArrowBlue'>
<Shape>
<Cylinder USE=' ArrowCylinder'/>
<Appearance DEF='Blue'>
<Material diffuseColor='.3 .3 1emissiveColor='.1 .1 .33'/>
</Appearance>
</Shape>
<Transform translation='0 1 0'>
<Shape>
<Cone USE=' ArrowCone'/>
<Appearance USE=' Blue'/>
</Shape>
</Transform>
</Group>
<Transform rotation='1 0 0 -1.57079translation='0 1.1 -0.05'>
<!-- note label rotated back to original coordinate frame -->
<Billboard>
<Shape>
<Appearance USE=' LABEL_APPEARANCE'/>
<Text string='"East" "+Z X3D" "+Y DIS"'>
<FontStyle USE=' LABEL_FONT'/>
</Text>
</Shape>
</Billboard>
</Transform>
</Group>
</Transform>
</Scene>
</X3D>
<!--

to top <!-- Index for DEF nodes: ArrowBlue, ArrowCone, ArrowCylinder, ArrowGreen, ArrowRed, Blue, Green, LABEL_APPEARANCE, LABEL_FONT, Red
-->
-->

<!-- Online at
https://www.web3d.org/x3d/content/examples/Basic/DistributedInteractiveSimulation/CoordinateAxesX3dDISIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Basic/DistributedInteractiveSimulation/CoordinateAxesX3dDIS.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)
-->

to top <!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->