X3D Model Documentation: MontereyPeninsulaCollegePoolOpArea.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2  <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
  3  <X3D profile='Immersive' version='3.3'  xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.3.xsd'>
  4       <head>
  5            <component level='1' name='DIS'/>
  6            <component level='1' name='Geospatial'/>
  7            <meta name='title' content='MontereyPeninsulaCollegePoolOpArea.x3d'/>
  8            <meta name='description' content='Operations area top-level scene for Monterey Peninsula College Pool, used by the AUV Workbench to build scenarios using unmanned vehicles.'/>
  9            <meta name='creator' content='Don Brutzman and Luciano Cerritos'/>
 10            <meta name='created' content='11 June 2012'/>
 11            <meta name='modified' content='20 October 2019'/>
 12            <meta name=' TODO ' content=' Confirm scale of pool and grid to match '/>
 13            <meta name='reference' content='OpenOceanOpArea.x3d'/>
 14            <meta name='identifier' content='https://savage.nps.edu/Savage/AuvWorkbench/OperatingAreas/MontereyPeninsulaCollegePoolOpArea.x3d'/>
 15            <meta name='generator' content='X3D-Edit, https://savage.nps.edu/X3D-Edit'/>
 16            <meta name='license' content='../../license.html'/>
 17       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top Index for DEF nodes: DEPRECATED, OffWhiteBackground, ORIGIN, PoolMontereyPeninsulaCollege, RotateSavageDefaultToX3DNorth, SandyShallowBottomBackground, ScaleFeetToMeters

Index for ExternProtoDeclare definition: GridXZ
-->
 18       <Scene>
 19            <!-- Must be geospatially oriented -->
 20            <WorldInfo title='MontereyPeninsulaCollegePoolOpArea.x3d'/>
 21            <GeoLocation geoCoords='36.588600158691406 -121.8853988647461 0.0' containerField='children'>
 22                 <!-- TODO GeoOrigin deprecated for X3D v3.3 -->
 23                 <GeoOrigin DEF='ORIGIN' geoCoords='36.588600158691406 -121.8853988647461 0.0'/>
 24                 <Background DEF='OffWhiteBackground' skyColor='0.9 0.9 1'/>
 25                 <!-- TODO Bad Xj3D bug? Correction rotation to bring the Background node to correct orientation under a GeoLocation node -->
 26                 <Transform rotation='0 1 0 2.815'>
 27                      <Background DEF='SandyShallowBottomBackground' groundAngle='0.05 1.52 1.56 1.570796' groundColor='0.2 0.2 0 0.3 0.3 0 0.5 0.5 0.3 0.1 0.3 0.4 0 0.2 0.4' skyAngle='0.05 0.1 1.309 1.571' skyColor='0.8 0.8 0.2 0.1 0.1 0.6 0.1 0.1 0.6 0.1 0.25 0.8 0.6 0.6 0.9'/>
 28                 </Transform>
 29            </GeoLocation>
 30            <!-- Note that the geoCoords must match the AUV Workbench c_geo.xml file in /configuration/template -->
 31            <GeoLocation geoCoords='36.5886 -121.8854 0.0' containerField='children'>
 32                 <GeoOrigin DEF='DEPRECATED' geoCoords='36.5886 -121.8854 0.0'/>
 33                 <!-- Must specify a rotation about the Y-axis to get a Savage model's coordinate system back to the X3D GeoLocation coordinate system for proper DIS operation when networked -->
 34                 <!-- Current default Savage model nose coordinate system is X-axis (east), must rotate about the Y-axis 90 degress (1.5708 radians) to align with north -->
 35                 <!-- Consult para. 25.3.3 GeoLocation for the Geospatial component's adjustment of X3D to GeoLoc coordinates -->
 36                 <Transform DEF='RotateSavageDefaultToX3DNorth' rotation='0 1 0 1.5708'>
 37                      <Inline DEF='PoolMontereyPeninsulaCollege'   url=' "../../Locations/MontereyPeninsulaCollege/PoolMontereyPeninsulaCollege.x3d" "https://savage.nps.edu/Savage/Locations/MontereyPeninsulaCollege/PoolMontereyPeninsulaCollege.x3d" "../../Locations/MontereyPeninsulaCollege/PoolMontereyPeninsulaCollege.wrl" "https://savage.nps.edu/Savage/Locations/MontereyPeninsulaCollege/PoolMontereyPeninsulaCollege.wrl" '/>
 38                      <ExternProtoDeclare name='GridXZ'   url=' "../../../Savage/Tools/Authoring/GridXZPrototype.x3d#GridXZ" "https://savage.nps.edu/Savage/Tools/Authoring/GridXZPrototype.x3d#GridXZ" "../../../Savage/Tools/Authoring/GridXZPrototype.wrl#GridXZ" "https://savage.nps.edu/Savage/Tools/Authoring/GridXZPrototype.wrl#GridXZ" '>
 39                           <field name='description' type='SFString' accessType='initializeOnly'/>
 40                           <field name='labelColor' type='SFColor' accessType='inputOutput'/>
 41                           <field name='scale' type='SFVec3f' accessType='inputOutput'/>
 42                           <field name='originLabel' type='MFString' accessType='inputOutput'/>
 43                           <field name='WestLabel' type='MFString' accessType='inputOutput'/>
 44                           <field name='NorthWestLabel' type='MFString' accessType='inputOutput'/>
 45                           <field name='NorthLabel' type='MFString' accessType='inputOutput'/>
 46                           <field name='NorthEastLabel' type='MFString' accessType='inputOutput'/>
 47                           <field name='EastLabel' type='MFString' accessType='inputOutput'/>
 48                           <field name='SouthEastLabel' type='MFString' accessType='inputOutput'/>
 49                           <field name='SouthLabel' type='MFString' accessType='inputOutput'/>
 50                           <field name='SouthWestLabel' type='MFString' accessType='inputOutput'/>
 51                      </ExternProtoDeclare>
 52                      <Transform DEF='ScaleFeetToMeters' scale='0.3048 0.3048 0.3048' translation='10 0 10'>
 53                           <ProtoInstance name='GridXZ'>
 54                                <fieldValue name='description' value='GridXZ for AUV in Open Ocean'/>
 55                                <fieldValue name='labelColor' value='1.0 1.0 1.0'/>
 56                                <fieldValue name='scale' value='10 10 10'/>
 57                                <fieldValue name='originLabel' value='"origin" "0 0 0"'/>
 58                                <fieldValue name='WestLabel' value='"West" "-Y"'/>
 59                                <fieldValue name='NorthWestLabel' value='"1000 0 -500"'/>
 60                                <fieldValue name='NorthLabel' value='"North" "+X"'/>
 61                                <fieldValue name='NorthEastLabel' value='"500 0 500"'/>
 62                                <fieldValue name='EastLabel' value='"East" "+Y"'/>
 63                                <fieldValue name='SouthEastLabel' value='"-500 0 500"'/>
 64                                <fieldValue name='SouthLabel' value='"South" "-X"'/>
 65                                <fieldValue name='SouthWestLabel' value='"-500 0 -500"'/>
 66                           </ProtoInstance>
 67                      </Transform>
 68                 </Transform>
 69            </GeoLocation>
 70       </Scene>
 71  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top Index for DEF nodes: DEPRECATED, OffWhiteBackground, ORIGIN, PoolMontereyPeninsulaCollege, RotateSavageDefaultToX3DNorth, SandyShallowBottomBackground, ScaleFeetToMeters

Index for ExternProtoDeclare definition: GridXZ
-->
X3D Tooltips element index: Background, component, ExternProtoDeclare, field, fieldValue, GeoLocation, GeoOrigin, head, Inline, meta, ProtoInstance, Scene, Transform, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

-->
<!-- Online at
https://savage.nps.edu/Savage/AuvWorkbench/OperatingAreas/MontereyPeninsulaCollegePoolOpAreaIndex.html -->
<!-- Version control at
https://gitlab.nps.edu/Savage/Savage/AuvWorkbench/OperatingAreas/MontereyPeninsulaCollegePoolOpArea.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)
    <ProtoInstance name='ProtoName'> <field name='fieldName'/> </ProtoInstance> -->

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