#X3D V3.3 utf8 PROFILE Immersive # [X3D] version=3.3 # [X3D] noNamespaceSchemaLocation=https://www.web3d.org/specifications/x3d-3.3.xsd # X3D-to-ClassicVRML XSL translation autogenerated by X3dToClassicVrmlEncoding.xslt and X3dToVrml97.xslt # https://www.web3d.org/x3d/content/X3dToClassicVrmlEncoding.xslt # https://www.web3d.org/x3d/content/X3dToVrml97.xslt # Transformation using XSLT processor: Saxonica # head COMPONENT DIS:1 COMPONENT Geospatial:1 META "title" "MontereyPeninsulaCollegePoolOpArea.x3d" META "description" "Operations area top-level scene for Monterey Peninsula College Pool, used by the AUV Workbench to build scenarios using unmanned vehicles." META "creator" "Don Brutzman and Luciano Cerritos" META "created" "11 June 2012" META "modified" "20 October 2019" META "TODO" "Confirm scale of pool and grid to match" META "reference" "OpenOceanOpArea.x3d" META "identifier" "https://savage.nps.edu/Savage/AuvWorkbench/OperatingAreas/MontereyPeninsulaCollegePoolOpArea.x3d" META "generator" "X3D-Edit, https://savage.nps.edu/X3D-Edit" META "license" "../../license.html" # [Scene] ========== ========== ========== # Must be geospatially oriented WorldInfo { title "MontereyPeninsulaCollegePoolOpArea.x3d" } GeoLocation { # TODO GeoOrigin deprecated for X3D v3.3 geoOrigin DEF ORIGIN GeoOrigin { geoCoords [ 36.588600158691406 -121.8853988647461 0.0 ] } # TODO Bad Xj3D bug? Correction rotation to bring the Background node to correct orientation under a GeoLocation node geoCoords [ 36.588600158691406 -121.8853988647461 0.0 ] children [ # TODO GeoOrigin deprecated for X3D v3.3 DEF OffWhiteBackground Background { skyColor [ 0.9 0.9 1 ] } # TODO Bad Xj3D bug? Correction rotation to bring the Background node to correct orientation under a GeoLocation node Transform { rotation 0 1 0 2.815 children [ DEF SandyShallowBottomBackground Background { 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 ] } ] } ] } # Note that the geoCoords must match the AUV Workbench c_geo.xml file in /configuration/template GeoLocation { geoOrigin DEF DEPRECATED GeoOrigin { geoCoords [ 36.5886 -121.8854 0.0 ] } # 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 # 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 # Consult para. 25.3.3 GeoLocation for the Geospatial component's adjustment of X3D to GeoLoc coordinates geoCoords [ 36.5886 -121.8854 0.0 ] children [ # 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 # 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 # Consult para. 25.3.3 GeoLocation for the Geospatial component's adjustment of X3D to GeoLoc coordinates DEF RotateSavageDefaultToX3DNorth Transform { rotation 0 1 0 1.5708 children [ DEF PoolMontereyPeninsulaCollege Inline { 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" ] } EXTERNPROTO GridXZ [ initializeOnly SFString description inputOutput SFColor labelColor inputOutput SFVec3f scale inputOutput MFString originLabel inputOutput MFString WestLabel inputOutput MFString NorthWestLabel inputOutput MFString NorthLabel inputOutput MFString NorthEastLabel inputOutput MFString EastLabel inputOutput MFString SouthEastLabel inputOutput MFString SouthLabel inputOutput MFString SouthWestLabel ][ "../../../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" ] DEF ScaleFeetToMeters Transform { scale 0.3048 0.3048 0.3048 translation 10 0 10 children [ GridXZ { description "GridXZ for AUV in Open Ocean" labelColor 1.0 1.0 1.0 scale 10 10 10 originLabel [ "origin" "0 0 0" ] WestLabel [ "West" "-Y" ] NorthWestLabel [ "1000 0 -500" ] NorthLabel [ "North" "+X" ] NorthEastLabel [ "500 0 500" ] EastLabel [ "East" "+Y" ] SouthEastLabel [ "-500 0 500" ] SouthLabel [ "South" "-X" ] SouthWestLabel [ "-500 0 -500" ] } ] } ] } ] }