#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 META "title" "SphericalMineExample.x3d" META "creator" "Don Brutzman" META "created" "26 June 2000" META "modified" "28 November 2019" META "identifier" "https://savage.nps.edu/Savage/Weapons/UnderwaterMines/SphericalMineExample.x3d" META "description" "Example use of SphericalMine prototype." META "generator" "X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit" META "license" "../../license.html" # [Scene] ========== ========== ========== # shape X Y Z R H # grid indices WorldInfo { title "SphericalMineExample.x3d" } EXTERNPROTO SphericalMine [ # [appinfo] Spherical floating mine moored to bottom initializeOnly SFString description # [appinfo] Description for each mine contact. inputOutput SFColor color # [appinfo] Mine color can be used to indicate status (found/unknown/disabled/) tactic etc. inputOutput SFVec3f translation # [appinfo] Location of mine center in local world coordinates. inputOutput SFVec3f scale # [appinfo] Scale factor to change spherical mine size default diameter = 1m. initializeOnly SFVec3f bboxCenter # [appinfo] Bounding box for collision detection of mine. inputOutput MFVec3f tetherPoints # [appinfo] Top and bottom endpoints of line tether that anchors this mine to the bottom. outputOnly SFBool proximityIsActive # [appinfo] proximityIsActive can be used to activate information or interaction when the viewer nears the mine. inputOutput SFVec3f proximitySize # [appinfo] proximitySize provides overall box dimensions for proximity; thus (10 10 10) yields approximate radius 5 to 7 meters. ][ "../../Weapons/UnderwaterMines/SphericalMinePrototype.x3d#SphericalMine" "https://savage.nps.edu/Savage/Weapons/UnderwaterMines/SphericalMinePrototype.x3d#SphericalMine" "../../Weapons/UnderwaterMines/SphericalMinePrototype.wrl#SphericalMine" "https://savage.nps.edu/Savage/Weapons/UnderwaterMines/SphericalMinePrototype.wrl#SphericalMine" ] Viewpoint { description "Three mines" orientation 0 1 0 2.5 position 24 -15 -15 } SphericalMine { description "Spherical Mine #1" translation 5 -20 15 tetherPoints [ 0 0 0 0 -5 0 ] } SphericalMine { description "Spherical Mine 2" translation 5 -15 10 tetherPoints [ 0 0 0 0 -10 0 ] } SphericalMine { description "Spherical Mine #3" translation 5 -10 5 tetherPoints [ 0 0 0 0 -15 0 ] }