X3D Model Documentation: BeachTanks.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='Interactive' 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=' BeachTanks.x3d '/>
  6            <meta name='descriptioncontent='NPS beach-site old sewage treatment tanks, dimensions (127, 20, 35) feet = (38.3, 6.1, 10.7) meters.'/>
  7            <meta name='creatorcontent='Don Brutzman'/>
  8            <meta name='translatorcontent=' Xeena VRML importer, X3D-Edit 3.1, https://www.web3d.org/x3d/content/README.X3D-Edit.html '/>
  9            <meta name='createdcontent='1 July 2001'/>
 10            <meta name='translatedcontent='12 August 2003'/>
 11            <meta name='modifiedcontent='20 October 2019'/>
 12            <meta name='referencecontent='BeachTanks.original.wrl'/>
 13            <meta name='referencecontent='SingleTankDimensions.png'/>
 14            <meta name=' warning content=' Xj3D player has problems with USE nodes not rendering '/>
 15            <meta name='Imagecontent='BeachTanksXj3dUseNodesNotRendering.png'/>
 16            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/AuvWorkbench/OperatingAreas/BeachTanks.x3d '/>
 17            <meta name='generatorcontent='Cosmo Worlds V2.0'/>
 18            <meta name='generatorcontent='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 19            <meta name='generatorcontent=' Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html '/>
 20            <meta name='licensecontent='../../license.html'/>
 21       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: AnimationClock, CrossWalk, CrossWalkCenterLeft, CrossWalkCenterRight, CrossWalkLowerLeft, CrossWalkLowerRight, CrossWalkUpperLeft, CrossWalkUpperRight, dirt4, hex, MaterialDefault, TankFloor, Viewpoints, WalkwayLongFar, WalkwayLongNear, WalkwaysLong, WallBack, WallFar, WallFarUnscaled, WallFront, WallLeftBack, WallLeftFront, WallLeftMiddle, WallNearCenter, WallRightBack, WallRightFront, WallSection, WaterHeightInterpolator, WaterLevelAnimation, WaterSurface

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, Viewpoint_3, Viewpoint_4, Viewpoint_5, Viewpoint_6
-->
 22       <Scene>
 23            <WorldInfo title='NPS Beach Tanks'/>
 24            <PointLight location='0 1.62486 1.36244'/>
 25            <!-- Authoring hint: these axes are aligned within local coordinate system <Transform DEF='CoordinateAxesAdjustedScale' scale='1 1 1'> <Inline DEF='CoordinateAxes' "url='../../../Savage/Tools/Authoring/CoordinateAxes.x3d" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter03Grouping/CoordinateAxes.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Tools/Authoring/CoordinateAxes.x3d" "../../../X3dForWebAuthors/Chapter03Grouping/CoordinateAxes.wrl" "../../../Savage/Tools/Authoring/CoordinateAxes.wrl" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter03Grouping/CoordinateAxes.wrl" "https://www.web3d.org/x3d/content/examples/Savage/Tools/Authoring/CoordinateAxes.wrl'/>" </Transform> -->
 26            <!-- ==================== -->
 27            <Transform scale='4.6 4.6 4.6translation='22 -6.0 12.6'>
 28                 <Group DEF='Viewpoints'>
 29                      <Viewpoint description='towards ocean 0orientation='-0.00186 0.89443 0.44721 3.134131position='0.05 8 -6'/>
 30                      <Viewpoint description='towards oceanorientation='0 0.925611 0.378476 3.13775position='0.0472176 7.51329 -6.11978'/>
 31                      <Viewpoint description='towards hotelorientation='-0.260603 -0.929755 -0.260081 1.64157position='-8.52449 5.69685 1.02696'/>
 32                      <Viewpoint description='towards buildingorientation='-0.999652 -0.0250519 -0.00823059 0.635059position='-0.114891 6.43827 9.05423'/>
 33                      <Viewpoint description='towards sand dunesorientation='-0.261841 0.928458 0.263449 1.65106position='8.77076 5.35957 1.40753'/>
 34                      <Viewpoint description='standing on plankorientation='-0.179786 -0.967204 -0.179427 1.60213position='-2.51286 1.76634 1.40119'/>
 35                 </Group>
 36                 <Transform DEF='WallFartranslation='-0.231212 0 -0.445523'>
 37 
                    <!-- Transform WallFarUnscaled is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 -->
                    <Transform DEF='WallFarUnscaledrotation='0 0 1 4.71239scale='0.25 0.25 0.25translation='0.25 0.7625 3.14552'>
 38                           <Shape>
 39                                <Appearance>
 40 
                                   <!-- Material MaterialDefault is a DEF node that has 1 USE node: USE_1 -->
                                   <Material DEF='MaterialDefault'/>
 41 
                                   <!-- ImageTexture dirt4 is a DEF node that has 1 USE node: USE_1 -->
                                   <ImageTexture DEF='dirt4'   url=' "dirt4.png " "dirt4.gif " "https://www.web3d.org/x3d/content/examples/Savage/AuvWorkbench/OperatingAreas/dirt4.png " "https://www.web3d.org/x3d/content/examples/Savage/AuvWorkbench/OperatingAreas/dirt4.gif " '/>
 42                                </Appearance>
 43                                <IndexedFaceSet creaseAngle='0.5coordIndex='0 1 3 2 -1 4 5 7 6 -1 6 7 1 0 -1 2 3 5 4 -1 6 0 2 4 -1 1 7 5 3 -1texCoordIndex='0 1 2 3 -1 0 1 2 3 -1 0 1 2 3 -1 0 1 2 3 -1 0 1 2 3 -1 0 1 2 3 -1'>
 44                                     <Coordinate point='-3.05 19.35 0.1 -3.05 -19.35 0.1 3.05 19.35 0.1 3.05 -19.35 0.1 3.05 19.35 -0.1 3.05 -19.35 -0.1 -3.05 19.35 -0.1 -3.05 -19.35 -0.1'/>
 45                                     <TextureCoordinate point='0 1 0 0.0 1 0 1 1.0'/>
 46                                </IndexedFaceSet>
 47                           </Shape>
 48                      </Transform>
 49                 </Transform>
 50                 <Transform DEF='WallNearCentertranslation='-0.231309 0 -3.17052'>
 51                      <Transform USE='WallFarUnscaled'/>
 52                 </Transform>
 53 
               <!-- Transform WallSection is a DEF node that has 5 USE nodes: USE_1, USE_2, USE_3, USE_4, USE_5 -->
               <Transform DEF='WallSectionrotation='0.57735 0.57735 0.57735 2.09439scale='0.25 0.25 0.25translation='-4.79385 0.762498 1.3375'>
 54                      <!-- WallRightMiddle -->
 55                      <Shape>
 56                           <Appearance>
 57                                <Material USE='MaterialDefault'/>
 58                                <ImageTexture USE='dirt4'/>
 59                           </Appearance>
 60                           <IndexedFaceSet creaseAngle='0.5solid='falsecoordIndex='0 1 3 2 -1 4 5 7 6 -1 6 7 1 0 -1 2 3 5 4 -1 6 0 2 4 -1 1 7 5 3 -1texCoordIndex='0 1 2 3 -1 0 1 2 3 -1 0 1 2 3 -1 0 1 2 3 -1 0 1 2 3 -1 0 1 2 3 -1'>
 61                                <Coordinate point='-3.05 5.35 0.1 -3.05 -5.35 0.1 3.05 5.35 0.1 3.05 -5.35 0.1 3.05 5.35 -0.1 3.05 -5.35 -0.1 -3.05 5.35 -0.1 -3.05 -5.35 -0.1'/>
 62                                <TextureCoordinate point='0 1 0 0.0 1 0 1 1.0'/>
 63                           </IndexedFaceSet>
 64                      </Shape>
 65                 </Transform>
 66                 <Transform DEF='WallFronttranslation='-0.231994 0 -5.89578'>
 67                      <Transform USE='WallFarUnscaled'/>
 68                 </Transform>
 69                 <Transform DEF='WallBacktranslation='-0.230357 0 2.27924'>
 70                      <Transform USE='WallFarUnscaled'/>
 71                 </Transform>
 72                 <Transform DEF='WallLeftBacktranslation='9.62471 0 2.72476'>
 73                      <Transform USE='WallSection'/>
 74                 </Transform>
 75                 <Transform DEF='WallLeftMiddletranslation='9.62386 0 0'>
 76                      <Transform USE='WallSection'/>
 77                 </Transform>
 78                 <Transform DEF='WallLeftFronttranslation='9.62317 0 -2.72525'>
 79                      <Transform USE='WallSection'/>
 80                 </Transform>
 81                 <Transform DEF='WallRightBacktranslation='0 0 2.72476'>
 82                      <Transform USE='WallSection'/>
 83                 </Transform>
 84                 <Transform DEF='WallRightFronttranslation='0 0 -2.72525'>
 85                      <Transform USE='WallSection'/>
 86                 </Transform>
 87                 <Transform DEF='WalkwaysLongtranslation='0 -0.025 0'>
 88                      <Transform DEF='WalkwayLongNearrotation='1 0 0 1.57079scale='0.25 0.325231 0.25translation='0.0169573 1.55 -0.0232847'>
 89                           <Shape>
 90                                <Appearance>
 91                                     <Material ambientIntensity='0.230769diffuseColor='0 1 0shininess='0.93specularColor='0.53 0.53 0.53'/>
 92 
                                   <!-- ImageTexture hex is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
                                   <ImageTexture DEF='hex'   url=' "hex.jpg " "https://www.web3d.org/x3d/content/examples/Savage/AuvWorkbench/OperatingAreas/hex.jpg " '/>
 93                                </Appearance>
 94                                <Box size='38.7 2.07 0.2'/>
 95                           </Shape>
 96                      </Transform>
 97                      <Transform DEF='WalkwayLongFarrotation='1 0 0 4.71239scale='0.25 0.52247 0.25translation='0.0186882 1.55 2.7021'>
 98                           <Shape>
 99                                <Appearance>
100                                     <Material ambientIntensity='0.230769diffuseColor='0.52 0.32 0.25shininess='0.93specularColor='0.53 0.53 0.53'/>
101                                     <ImageTexture USE='hex'/>
102                                </Appearance>
103                                <Box size='38.7 0.77 0.2'/>
104                           </Shape>
105                      </Transform>
106                 </Transform>
107                 <Transform DEF='CrossWalkUpperLeftscale='1.25695 1 1.0translation='-0.613655 0 0'>
108 
                    <!-- Transform CrossWalk is a DEF node that has 5 USE nodes: USE_1, USE_2, USE_3, USE_4, USE_5 -->
                    <Transform DEF='CrossWalkrotation='0.577349 0.57735 0.577351 4.18879scale='0.247522 0.25 0.25translation='2.39002 1.55 4.12235'>
109                           <Shape>
110                                <Appearance>
111                                     <Material ambientIntensity='0diffuseColor='0.3 0.3 0.3emissiveColor='0.15 0.15 0.15specularColor='0.5 0.5 0.5'/>
112                                     <ImageTexture USE='hex'/>
113                                </Appearance>
114                                <IndexedFaceSet creaseAngle='0.5solid='falsecoordIndex='15 14 4 5 13 12 7 6 -1 6 7 1 0 -1 2 3 5 4 -1 0 1 9 8 -1 9 10 11 8 -1 10 3 2 11 -1 9 1 7 12 -1 10 13 5 3 -1 11 2 4 14 -1 6 0 8 15 -1 17 16 18 19 -1 16 17 10 9 -1 18 16 9 12 -1 19 18 12 13 -1 17 19 13 10 -1 20 21 22 23 -1 21 20 8 11 -1 22 21 11 14 -1 23 22 14 15 -1 20 23 15 8 -1texCoordIndex='6 4 0 1 5 4 2 3 -1 0 1 2 3 -1 0 1 2 3 -1 0 1 5 4 -1 5 7 6 4 -1 7 3 2 6 -1 4 0 1 5 -1 6 7 2 3 -1 7 2 3 6 -1 0 1 5 4 -1 6 4 5 7 -1 4 6 6 4 -1 5 4 4 5 -1 7 5 5 7 -1 6 7 7 6 -1 5 7 6 4 -1 7 5 5 7 -1 6 7 7 6 -1 4 6 6 4 -1 5 4 4 5 -1'>
115                                     <Coordinate point='-5.35 0.61 0.1 -5.35 -0.61 0.1 5.35 0.61 0.1 5.35 -0.61 0.1 5.35 0.61 -0.1 5.35 -0.61 -0.1 -5.35 0.61 -0.1 -5.35 -0.61 -0.1 -1.05193 0.61 0.1 -1.05193 -0.61 0.1 0.836004 -0.61 0.1 0.835993 0.61 0.1 -1.05193 -0.61 -0.1 0.841128 -0.610626 -0.0989307 0.835993 0.61 -0.1 -1.05193 0.61 -0.1 -1.05199 -0.956541 0.100583 0.835941 -0.956541 0.100583 -1.05199 -0.956541 -0.0994172 0.841065 -0.957167 -0.0983479 -1.05193 0.942793 0.0999999 0.83599 0.942793 0.0999999 0.835989 0.942793 -0.1 -1.05193 0.942793 -0.1'/>
116                                     <TextureCoordinate point='0 1 0 0.0 1 0 1 1 0.4 1 0.4 0 0.6 1 0.6 0'/>
117                                </IndexedFaceSet>
118                           </Shape>
119                      </Transform>
120                 </Transform>
121                 <Transform DEF='CrossWalkUpperRighttranslation='-4.76171 0 0.00510687'>
122                      <Transform USE='CrossWalk'/>
123                 </Transform>
124                 <Transform DEF='CrossWalkCenterLeftscale='1 1 0.893756translation='-0.00564504 0 -2.26582'>
125                      <Transform USE='CrossWalk'/>
126                 </Transform>
127                 <Transform DEF='CrossWalkCenterRightscale='1 1 0.893756translation='-4.76735 0 -2.26071'>
128                      <Transform USE='CrossWalk'/>
129                 </Transform>
130                 <Transform DEF='CrossWalkLowerLeftscale='1 1 0.942275translation='-0.00696254 0 -5.41092'>
131                      <Transform USE='CrossWalk'/>
132                 </Transform>
133                 <Transform DEF='CrossWalkLowerRightscale='1 1 0.942275translation='-4.76867 0 -5.40581'>
134                      <Transform USE='CrossWalk'/>
135                 </Transform>
136                 <Transform DEF='TankFloorrotation='-1.0 0 0 1.57079scale='0.246032 0.253973 0.25translation='0 0.0249995 1.33348'>
137                      <Shape>
138                           <Appearance>
139                                <Material ambientIntensity='0.116667diffuseColor='0.28 0.42 0.6emissiveColor='0.14 0.22 0.31shininess='0.54specularColor='0.32 0.4 0.4'/>
140                           </Appearance>
141                           <Box size='38.7 32.1 0.2'/>
142                      </Shape>
143                 </Transform>
144 
               <!-- ROUTE information for WaterSurface node:  [from WaterHeightInterpolator.value_changed to set_translation ] -->
               <Transform DEF='WaterSurfacerotation='0 0.707107 0.707107 3.14159scale='0.246032 0.253973 0.25translation='-0.0156405 1.26788 1.35101'>
145                      <Shape>
146                           <Appearance>
147                                <Material ambientIntensity='0diffuseColor='0.5 0.5 0.5shininess='0.02specularColor='0.05 0.13 1.0transparency='0.5'/>
148                           </Appearance>
149                           <Box size='38.7 32.1 0.2'/>
150                      </Shape>
151                      <Group DEF='WaterLevelAnimation'>
152 
                         <!-- ROUTE information for AnimationClock node:  [from fraction_changed to WaterHeightInterpolator.set_fraction ] -->
                         <TimeSensor DEF='AnimationClockcycleInterval='2enabled='falseloop='true'/>
153 
                         <!-- ROUTE information for WaterHeightInterpolator node:  [from AnimationClock.fraction_changed to set_fraction ] [from value_changed to WaterSurface.set_translation ] -->
                         <PositionInterpolator DEF='WaterHeightInterpolatorkey='0 0.025 0.05 0.075 0.1 0.125 0.15 0.175 0.2 0.225 0.25 0.275 0.3 0.325 0.35 0.375 0.4 0.425 0.45 0.475 0.5 0.525 0.55 0.575 0.6 0.625 0.65 0.675 0.7 0.725 0.75 0.775 0.8 0.825 0.85 0.875 0.9 0.925 0.95 0.975 1.0keyValue='-0.0156404 1.20497 1.35101 -0.0156404 1.1656 1.35101 -0.0156403 1.12632 1.35101 -0.0156403 1.08711 1.35101 -0.0156402 1.04791 1.35101 -0.0156402 1.00868 1.35101 -0.0156402 0.969374 1.35101 -0.0156401 0.929956 1.35101 -0.0156401 0.890379 1.35101 -0.01564 0.850598 1.35101 -0.01564 0.810572 1.35101 -0.01564 0.765219 1.35101 -0.0156399 0.71176 1.35101 -0.0156398 0.653609 1.35101 -0.0156398 0.594176 1.35101 -0.0156397 0.536871 1.35101 -0.0156397 0.485108 1.35101 -0.0156396 0.442297 1.35101 -0.0156396 0.411849 1.35101 -0.0156396 0.397177 1.35101 -0.0156396 0.40169 1.35101 -0.0156396 0.41967 1.35101 -0.0156396 0.442842 1.35101 -0.0156397 0.470786 1.35101 -0.0156397 0.503079 1.35101 -0.0156397 0.539302 1.35101 -0.0156398 0.579033 1.35101 -0.0156398 0.621851 1.35101 -0.0156399 0.667336 1.35101 -0.0156399 0.715066 1.35101 -0.01564 0.76462 1.35101 -0.01564 0.815577 1.35101 -0.0156401 0.867517 1.35101 -0.0156401 0.920018 1.35101 -0.0156402 0.972659 1.35101 -0.0156402 1.02502 1.35101 -0.0156403 1.07668 1.35101 -0.0156404 1.12722 1.35101 -0.0156404 1.17621 1.35101 -0.0156405 1.22324 1.35101 -0.0156405 1.26788 1.35101'/>
154                           < ROUTE  fromNode='AnimationClock' fromField='fraction_changed' toNode='WaterHeightInterpolator' toField='set_fraction'/>
155                           < ROUTE  fromNode='WaterHeightInterpolator' fromField='value_changed' toNode='WaterSurface' toField='set_translation'/>
156                      </Group>
157                 </Transform>
158            </Transform>
159       </Scene>
160  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: AnimationClock, CrossWalk, CrossWalkCenterLeft, CrossWalkCenterRight, CrossWalkLowerLeft, CrossWalkLowerRight, CrossWalkUpperLeft, CrossWalkUpperRight, dirt4, hex, MaterialDefault, TankFloor, Viewpoints, WalkwayLongFar, WalkwayLongNear, WalkwaysLong, WallBack, WallFar, WallFarUnscaled, WallFront, WallLeftBack, WallLeftFront, WallLeftMiddle, WallNearCenter, WallRightBack, WallRightFront, WallSection, WaterHeightInterpolator, WaterLevelAnimation, WaterSurface

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, Viewpoint_3, Viewpoint_4, Viewpoint_5, Viewpoint_6
-->
X3D Tooltips element index: Appearance, Box, Coordinate, Group, head, ImageTexture, IndexedFaceSet, Material, meta, PointLight, PositionInterpolator, ROUTE, Scene, Shape, TextureCoordinate, TimeSensor, Transform, Viewpoint, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

Event Graph ROUTE Table entries with 2 ROUTE connections total, showing X3D event-model relationships for this scene.

Each row shows an event cascade that may occur during a single timestamp interval between frame renderings, as part of the X3D execution model.

AnimationClock
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(1)
WaterHeightInterpolator
PositionInterpolator
set_fraction
SFFloat
then
 
 
 
WaterHeightInterpolator
PositionInterpolator
value_changed
SFVec3f

ROUTE
event to
(2)
WaterSurface
Transform
set_translation
SFVec3f

Additional guidance on X3D animation can be found in the 10-Step Animation Design Process and Event Tracing hint sheets. Have fun with X3D! 😀

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/Savage/AuvWorkbench/OperatingAreas/BeachTanksIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/AuvWorkbench/OperatingAreas/BeachTanks.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. -->