Skip to content
Snippets Groups Projects
Commit c439b342 authored by Brutzman, Don's avatar Brutzman, Don
Browse files

move GeoOrigin as first child

parent 424c907f
No related branches found
No related tags found
No related merge requests found
Showing with 10 additions and 10 deletions
......@@ -15,10 +15,10 @@
<Scene>
<WorldInfo title='HamptonRoadsVA.x3d'/>
<GeoLocation geoCoords='36.989999984839216 -76.99299996786561 0'>
<GeoOrigin DEF='ORIGIN' geoCoords='36.989999984839216 -76.99299996786561 0.0'/>
<Transform rotation='0 0 0 2.815'>
<Background skyColor='0.7 0.8 0.9'/>
</Transform>
<GeoOrigin DEF='ORIGIN' geoCoords='36.989999984839216 -76.99299996786561 0.0'/>
<!-- Need some major illumination -->
<PointLight ambientIntensity='1' location='0 100000 0' radius='1000000'/>
</GeoLocation>
......
......@@ -18,8 +18,8 @@
<Scene>
<WorldInfo title='MontereyBayLargeMeshGeospatial.x3d'/>
<GeoLocation geoCoords='36.607 -121.885 0.0'>
<Inline url='"MontereyBayLargeMesh.x3d" "https://savage.nps.edu/Savage/Locations/MontereyBayCalifornia/MontereyBayLargeMesh.x3d"'/>
<GeoOrigin DEF='DEPRECATED' geoCoords='36.607 -121.885 0.0' geoSystem='"GD"'/>
<Inline url='"MontereyBayLargeMesh.x3d" "https://savage.nps.edu/Savage/Locations/MontereyBayCalifornia/MontereyBayLargeMesh.x3d"'/>
</GeoLocation>
</Scene>
</X3D>
\ No newline at end of file
......@@ -51,8 +51,8 @@
<DirectionalLight/>
</Transform>
<GeoLocation geoCoords='41.56722223554018 -71.30572987125981 0'>
<DirectionalLight direction='0 -1 0' global='true'/>
<GeoOrigin USE='ORIGIN'/>
<DirectionalLight direction='0 -1 0' global='true'/>
</GeoLocation>
</Switch>
</Scene>
......
......@@ -18,10 +18,10 @@
<Inline DEF='NarragansettBayLarge' url='"NarragansettBayLarge.x3d" "https://savage.nps.edu/Savage/Locations/NarragansettBayRhodeIslandLarge/NarragansettBayLarge.x3d"'/>
<Group>
<GeoLocation geoCoords='41.56722223554018 -71.30572987125981 0'>
<GeoOrigin DEF='ORIGIN' geoCoords='41.5 -71.5 0' geoSystem='"GD"'/>
<Transform DEF='CoordinateAxes' scale='3000 3000 3000'>
<Inline url='"../../Tools/Authoring/CoordinateAxesNSEW.x3d" "https://savage.nps.edu/Savage/Tools/Authoring/CoordinateAxes.x3d"'/>
</Transform>
<GeoOrigin DEF='ORIGIN' geoCoords='41.5 -71.5 0' geoSystem='"GD"'/>
</GeoLocation>
</Group>
</Scene>
......
......@@ -17,10 +17,10 @@
<Inline DEF='NarragansettBaySmall' url='"NarragansettBaySmall.x3d" "https://savage.nps.edu/Savage/Locations/NarragansettBayRhodeIslandSmall/NarragansettBaySmall.x3d"'/>
<!-- This GeoLocation block shows how to geospatially reference regular nongeospatial shapes -->
<GeoLocation geoCoords='41.56722223554018 -71.30572987125981 0'>
<GeoOrigin DEF='ORIGIN' geoCoords='41.5 -71.5 0' geoSystem='"GD"'/>
<Transform scale='1000 1000 1000'>
<Inline DEF='CoordinateAxesNSEW' url='"../../Basic/course/CoordinateAxesNSEW.x3d" "CoordinateAxesNSEW.x3d" "https://x3dgraphics.com/examples/X3dForWebAuthors/Chapter03Grouping/CoordinateAxes.x3d"'/>
</Transform>
<GeoOrigin DEF='ORIGIN' geoCoords='41.5 -71.5 0' geoSystem='"GD"'/>
</GeoLocation>
</Scene>
</X3D>
\ No newline at end of file
......@@ -20,10 +20,10 @@
<Inline DEF='StraitsOfMalaccaWayPoints' url='"StraitsOfMalaccaWayPoints.x3d" "https://savage.nps.edu/Savage/Locations/StraitsOfMalaccaLarge/StraitsOfMalaccaWayPoints.x3d"'/>
<Group>
<GeoLocation geoCoords='0.3471685463819618 100.89750038406439 0'>
<GeoOrigin DEF='ORIGIN' geoCoords='0.3471685463819618 100.89750038406439 0' geoSystem='"GD"'/>
<Transform DEF='CoordinateAxes' scale='50000 50000 50000'>
<Inline url='"../../Tools/Authoring/CoordinateAxesNSEW.x3d" "https://savage.nps.edu/Savage/Tools/Authoring/CoordinateAxes.x3d"'/>
</Transform>
<GeoOrigin DEF='ORIGIN' geoCoords='0.3471685463819618 100.89750038406439 0' geoSystem='"GD"'/>
</GeoLocation>
</Group>
</Scene>
......
......@@ -19,10 +19,10 @@
<Inline DEF='StraitsOfMalaccaLarge' url='"StraitsOfMalaccaLarge.x3d" "https://savage.nps.edu/Savage/Locations/StraitsOfMalaccaLarge/StraitsOfMalaccaLarge.x3d"'/>
<Group>
<GeoLocation geoCoords='0.3471685463819618 100.89750038406439 0'>
<GeoOrigin DEF='ORIGIN' geoCoords='0.3471685463819618 100.89750038406439 0' geoSystem='"GD"'/>
<Transform DEF='CoordinateAxes' scale='50000 50000 50000'>
<Inline url='"../../Tools/Authoring/CoordinateAxesNSEW.x3d" "https://savage.nps.edu/Savage/Tools/Authoring/CoordinateAxes.x3d"'/>
</Transform>
<GeoOrigin DEF='ORIGIN' geoCoords='0.3471685463819618 100.89750038406439 0' geoSystem='"GD"'/>
</GeoLocation>
</Group>
</Scene>
......
......@@ -20,16 +20,16 @@
<GeoOrigin DEF='ORIGIN' geoCoords='0.3471685463819618 100.89750038406439 0' geoSystem='"GD"'/>
</GeoViewpoint>
<GeoLocation DEF='ContainerShipRed' geoCoords='0.8869992941 92.8767804884 0'>
<GeoOrigin USE='ORIGIN'/>
<Transform DEF='ContainerShipRedAxis' scale='300 300 300'>
<Inline url='"../../ShipsCivilian/CargoShips/ContainerShipRed.x3d" "https://savage.nps.edu/Savage/ShipsCivilian/CargoShips/ContainerShipRed.x3d"'/>
</Transform>
<GeoOrigin USE='ORIGIN'/>
</GeoLocation>
<GeoLocation DEF='ContainerShipBlue' geoCoords='8.2849709007 96.2388926211 0'>
<GeoOrigin USE='ORIGIN'/>
<Transform DEF='ContainerShipBlueAxis' scale='300 300 300'>
<Inline url='"../../ShipsCivilian/CargoShips/ContainerShipBlue.x3d" "https://savage.nps.edu/Savage/ShipsCivilian/CargoShips/ContainerShipBlue.x3d"'/>
</Transform>
<GeoOrigin USE='ORIGIN'/>
</GeoLocation>
<GeoTransform geoCenter='0.3471685463819618 100.89750038406439 0' translation='0 2000 0'>
<Shape>
......
......@@ -19,10 +19,10 @@
<Inline DEF='StraitsOfMalaccaSmall' url='"StraitsOfMalaccaSmall.x3d" "https://savage.nps.edu/Savage/Locations/StraitsOfMalaccaSmall/StraitsOfMalaccaSmall.x3d"'/>
<Group>
<GeoLocation geoCoords='3.070985940057265 102.12856265864148 0'>
<GeoOrigin DEF='ORIGIN' geoCoords='3.070985940057265 102.12856265864148 0' geoSystem='"GD"'/>
<Transform DEF='CoordinateAxes' scale='30000 30000 30000'>
<Inline url='"../../Tools/Authoring/CoordinateAxesNSEW.x3d" "https://savage.nps.edu/Savage/Tools/Authoring/CoordinateAxes.x3d"'/>
</Transform>
<GeoOrigin DEF='ORIGIN' geoCoords='3.070985940057265 102.12856265864148 0' geoSystem='"GD"'/>
</GeoLocation>
</Group>
</Scene>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment