X3D Model Documentation: BeckyRoadOverpass.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2 
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
  3  <X3D profile='Interchange' version='3.0 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.0.xsd'>
  4       <head>
  5            <meta name='titlecontent='BeckyRoadOverpass.x3d'/>
  6            <meta name='creatorcontent='Becky and Don Brutzman'/>
  7            <meta name='createdcontent='10 September 2000'/>
  8            <meta name='modifiedcontent='20 October 2019'/>
  9            <meta name='descriptioncontent='Sixth grade project to build a highway overpass.'/>
 10            <meta name='Imagecontent='BeckyRoadOverpass.png'/>
 11            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/Basic/course/BeckyRoadOverpass.x3d'/>
 12            <meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
 13            <meta name='licensecontent='../license.html'/>
 14       </head>
<!--

<!-- -->

<!-- to top Index for DEF nodes: Column, ColumnA, ColumnB, ColumnC, ColumnD, GreyAppearance, Road, WhiteAppearance, WhiteLine

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, Viewpoint_3
-->
 15       <Scene>
 16            <WorldInfo title='BeckyRoadOverpass.x3d'/>
 17            <Viewpoint description='Front view, 4 inches above groundposition='0 4 20'/>
 18            <Viewpoint description='Side view, 6 inches above groundorientation='0 1 0 1.57position='25 6 0'/>
 19            <Viewpoint description='Top-down view, 20 inches aboveorientation='1 0 0 -1.57position='0 28 0'/>
 20            <Background groundAngle='1.309 1.570796groundColor='0.1 0.1 0 0.4 0.25 0.2 0.6 0.6 0.6skyAngle='1.309 1.571skyColor='0 0.2 0.7 0 0.5 1 1 1 1'/>
 21            <!-- Upper road surface is elevated y=8 inches in the air -->
 22            <Transform translation='0 8 0'>
 23 
               <!-- Group Road is a DEF node that has 1 USE node: USE_1 -->
               <Group DEF='Road'>
 24                      <Shape>
 25                           <!-- Road model is x=20 inches long by z=7 inches wide, with posterboard y=0.25 inches thick -->
 26                           <Box size='20 0.2 7'/>
 27                           <!-- Road surface color is grey -->
 28 
                         <!-- Appearance GreyAppearance is a DEF node that has 1 USE node: USE_1 -->
                         <Appearance DEF='GreyAppearance'>
 29                                <Material diffuseColor='0.4 0.4 0.4'/>
 30                           </Appearance>
 31                      </Shape>
 32                      <Transform translation='0 0.2 0.3'>
 33 
                         <!-- Shape WhiteLine is a DEF node that has 1 USE node: USE_1 -->
                         <Shape DEF='WhiteLine'>
 34                                <Box size='20 0.01 0.4'/>
 35                                <Appearance DEF='WhiteAppearance'>
 36                                     <Material diffuseColor='1 1 1emissiveColor='0.5 0.5 0.5'/>
 37                                </Appearance>
 38                           </Shape>
 39                      </Transform>
 40                      <Transform translation='0 0.2 -0.3'>
 41                           <Shape USE='WhiteLine'/>
 42                      </Transform>
 43                 </Group>
 44            </Transform>
 45            <!-- Lower road is on the ground at y=0 inches, rotated 90 degrees around y axis -->
 46            <Transform rotation='0 1 0 1.57translation='0 0.1 0'>
 47                 <Group USE='Road'/>
 48            </Transform>
 49            <!-- Vertical center of y=8 inch tall pillar is y=4 inches in the air -->
 50            <!-- Center of each column matches top-down diagram -->
 51            <Transform DEF='ColumnAtranslation='-6 4 -2'>
 52 
               <!-- Shape Column is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 -->
               <Shape DEF='Column'>
 53                      <Cylinder height='8'/>
 54                      <Appearance USE='GreyAppearance'/>
 55                 </Shape>
 56            </Transform>
 57            <Transform DEF='ColumnBtranslation='6 4 -2'>
 58                 <Shape USE='Column'/>
 59            </Transform>
 60            <Transform DEF='ColumnCtranslation='-6 4 2'>
 61                 <Shape USE='Column'/>
 62            </Transform>
 63            <Transform DEF='ColumnDtranslation='6 4 2'>
 64                 <Shape USE='Column'/>
 65            </Transform>
 66       </Scene>
 67  </X3D>
<!--

<!-- -->

<!-- to top Index for DEF nodes: Column, ColumnA, ColumnB, ColumnC, ColumnD, GreyAppearance, Road, WhiteAppearance, WhiteLine

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, Viewpoint_3
-->
X3D Tooltips element index: Appearance, Background, Box, Cylinder, Group, head, Material, meta, Scene, Shape, Transform, Viewpoint, WorldInfo, X3D, accessType and type, XML data types, field types

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/Basic/course/BeckyRoadOverpassIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Basic/course/BeckyRoadOverpass.x3d -->

<!-- Color 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)
-->

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