X3D Model Documentation: CollisionExample.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            <meta name='titlecontent='CollisionExample.x3d'/>
  6            <meta name='descriptioncontent='Illustrate Collision node operation: set Collision enabled="true" to block user navigation through the Kelp Forest tank glass.'/>
  7            <meta name='creatorcontent='Don Brutzman and Leonard Daly'/>
  8            <meta name='createdcontent='1 June 1998'/>
  9            <meta name='translatedcontent='13 June 2004'/>
 10            <meta name='modifiedcontent='27 July 2024'/>
 11            <meta name='infocontent='Contained Inline scene has profile Immersive'/>
 12            <meta name='referencecontent='http://faculty.nps.edu/brutzman/kelp'/>
 13            <meta name='referencecontent='http://faculty.nps.edu/brutzman/kelp/KelpForestDesignPaper.pdf'/>
 14            <meta name='subjectcontent='Kelp Forest 3D models'/>
 15            <meta name='accessRightscontent='Revisions Copyright (c) 2006, Daly Realism and Don Brutzman. Original content has permissions for free use. Please provide credit to the Naval Postgraduate School (NPS) Modeling Virtual Environments and Simulation (MOVES) Institute.'/>
 16            <meta name='referencecontent='https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/KelpForestExhibit/KelpForestMain.x3d'/>
 17            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter04ViewingNavigation/CollisionExample.x3d'/>
 18            <meta name='generatorcontent='X3D-Edit 4.0, https://savage.nps.edu/X3D-Edit'/>
 19            <meta name='licensecontent='../license.html'/>
 20       </head>
<!--

<!-- -->
<!-- to top Index for DEF nodes: CollisionProxy, CollisionProxyVisualization

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, Viewpoint_3
-->
 21       <Scene>
 22            <WorldInfo title='CollisionExample.x3d'/>
 23            <NavigationInfo speed='3type='"FLY" "WALK" "ANY"'/>
 24            <Viewpoint description='Outside Tank, Outside Collision Geometry, Blockedposition='0 2 40'/>
 25            <Viewpoint description='Outside Tank, Below Collision Geometry, Can Fly Inposition='0 -4 15'/>
 26            <Viewpoint description='Inside Tankorientation='0.21 0.97 -0.14 1.202position='-1.37 -6.94 0.22'/>
 27            <Collision>
 28                 <Shape containerField='proxy'>
 29                      <!-- Proxy geometry is not rendered, so we follow it with a duplicate USE node to help see it -->
 30 
                    <!-- Cylinder CollisionProxy is a DEF node that has 1 USE node: USE_1 -->
                    <Cylinder DEF='CollisionProxybottom='falseheight='6radius='12top='false'/>
 31                 </Shape>
 32                 <Shape DEF='CollisionProxyVisualization'>
 33                      <Cylinder USE='CollisionProxy'/>
 34                      <Appearance>
 35                           <Material transparency='0.5'/>
 36                      </Appearance>
 37                 </Shape>
 38                 <Inline   url=' "../KelpForestExhibit/KelpTank.x3d" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/KelpForestExhibit/KelpTank.x3d" "../KelpForestExhibit/KelpTank.wrl" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/KelpForestExhibit/KelpTank.wrl" '/>
 39            </Collision>
 40       </Scene>
 41  </X3D>
<!--

<!-- -->
<!-- to top Index for DEF nodes: CollisionProxy, CollisionProxyVisualization

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, Viewpoint_3
-->
X3D Tooltips element index: Appearance, Collision, Cylinder, head, Inline, Material, meta, NavigationInfo, Scene, Shape, Viewpoint, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter04ViewingNavigation/CollisionExampleIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter04ViewingNavigation/CollisionExample.x3d -->

<!-- Color-coding legend: X3D terminology <X3dNode  DEF='idNamefield='value'/> matches XML terminology <XmlElement  DEF='idNameattribute='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. -->