X3D Model Documentation: Bench.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='Immersive' 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=' Bench.x3d '/>
  6            <meta name='descriptioncontent='Bench of the Soccer Field'/>
  7            <meta name='creatorcontent='LT Christos Kalogrias - Hellenic Navy'/>
  8            <meta name='createdcontent='1 September 2003'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/Buildings/SoccerStadium/Bench.x3d '/>
 11            <meta name='generatorcontent=' https://www.web3d.org/x3d/content/README.X3D-Edit.html '/>
 12            <meta name='licensecontent='../../license.html'/>
 13       </head>
<!--

<!-- -->
<!-- to top DEF nodes index: Aloumni, BackIron, Base, Bench, HorIron, LargeGlass, Seat, SmallGlass, SmallSide, Vertiron

Index for Viewpoint node: Viewpoint_1
-->
 14       <Scene>
 15            <WorldInfo title='Bench.x3d'/>
 16            <Viewpoint description='BenchViewposition='0 1.8 8'/>
 17            <Transform DEF='Benchscale='0.6 0.8 1.3'>
 18 
               <!-- Transform Vertiron is a DEF node that has 1 USE node: USE_1 -->
               <Transform DEF='Vertirontranslation='-3.66 1.2 0'>
 19                      <Shape>
 20                           <Appearance>
 21 
                              <!-- Material Aloumni is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
                              <Material DEF='AloumniambientIntensity='0.9shininess='0.9specularColor='0.7 0.7 0.8'/>
 22                           </Appearance>
 23                           <Cylinder height='2.4radius='0.1'/>
 24                      </Shape>
 25                      <Transform translation='0 1.2 0'>
 26                           <Shape>
 27                                <Appearance>
 28                                     <Material USE='Aloumni'/>
 29                                </Appearance>
 30                                <Sphere radius='0.1'/>
 31                           </Shape>
 32                      </Transform>
 33                 </Transform>
 34                 <Transform translation='7.32 0 0'>
 35                      <Transform USE='Vertiron'/>
 36                 </Transform>
 37                 <Transform DEF='HorIronrotation='0 0 1 1.57translation='0 2.4 0'>
 38                      <Shape>
 39                           <Appearance>
 40                                <Material USE='Aloumni'/>
 41                           </Appearance>
 42                           <Cylinder height='7.32radius='0.1'/>
 43                      </Shape>
 44                 </Transform>
 45 
               <!-- Transform SmallSide is a DEF node that has 1 USE node: USE_1 -->
               <Transform DEF='SmallSiderotation='0 1 0 1.57translation='-3.66 0 0'>
 46                      <Shape DEF='BackIron'>
 47                           <Appearance>
 48                                <Material diffuseColor='0.5 0.5 0.5emissiveColor='0.5 0.5 0.5'/>
 49                           </Appearance>
 50                           <Extrusion creaseAngle='0.785crossSection='0.1000 0 0.0998 0.0063 0.0992 0.0125 0.0982 0.0187 0.0969 0.0249 0.0951 0.0309 0.0930 0.0368 0.0905 0.0426 0.0876 0.0482 0.0844 0.0536 0.0809 0.0588 0.0771 0.0637 0.0729 0.0685 0.0685 0.0729 0.0637 0.0771 0.0588 0.0809 0.0536 0.0844 0.0482 0.0876 0.0426 0.0905 0.0368 0.0930 0.0309 0.0951 0.0249 0.0969 0.0187 0.0982 0.0125 0.0992 0.0063 0.0998 0.0 0.1000 -0.0063 0.0998 -0.0125 0.0992 -0.0187 0.0982 -0.0249 0.0969 -0.0309 0.0951 -0.0368 0.0930 -0.0426 0.0905 -0.0482 0.0876 -0.0536 0.0844 -0.0588 0.0809 -0.0637 0.0771 -0.0685 0.0729 -0.0729 0.0685 -0.0771 0.0637 -0.0809 0.0588 -0.0844 0.0536 -0.0876 0.0482 -0.0905 0.0426 -0.0930 0.0368 -0.0951 0.0309 -0.0969 0.0249 -0.0982 0.0187 -0.0992 0.0125 -0.0998 0.0063 -0.1000 0.0000 -0.0998 -0.0063 -0.0992 -0.0125 -0.0982 -0.0187 -0.0969 -0.0249 -0.0951 -0.0309 -0.0930 -0.0368 -0.0905 -0.0426 -0.0876 -0.0482 -0.0844 -0.0536 -0.0809 -0.0588 -0.0771 -0.0637 -0.0729 -0.0685 -0.0685 -0.0729 -0.0637 -0.0771 -0.0588 -0.0809 -0.0536 -0.0844 -0.0482 -0.0876 -0.0426 -0.0905 -0.0368 -0.0930 -0.0309 -0.0951 -0.0249 -0.0969 -0.0187 -0.0982 -0.0125 -0.0992 -0.0063 -0.0998 -0.0 -0.1000 0.0063 -0.0998 0.0125 -0.0992 0.0187 -0.0982 0.0249 -0.0969 0.0309 -0.0951 0.0368 -0.0930 0.0426 -0.0905 0.0482 -0.0876 0.0536 -0.0844 0.0588 -0.0809 0.0637 -0.0771 0.0685 -0.0729 0.0729 -0.0685 0.0771 -0.0637 0.0809 -0.0588 0.0844 -0.0536 0.0876 -0.0482 0.0905 -0.0426 0.0930 -0.0368 0.0951 -0.0309 0.0969 -0.0249 0.0982 -0.0187 0.0992 -0.0125 0.0998 -0.0063 0.1000 -0.0spine='0 2.3906 0 0.1000 2.3984 0 0.2000 2.3998 0 0.3000 2.4000 0 0.4000 2.4000 0 0.5000 2.4000 0 0.6000 2.4000 0 0.7000 2.4000 0 0.8000 2.3998 0 0.9000 2.3984 0 1.0 2.3906 0 1.1000 2.3597 0 1.2000 2.2616 0 1.3000 1.9973 0 1.4000 1.3669 0 1.5000 0 0'/>
 51                      </Shape>
 52                      <Shape DEF='SmallGlass'>
 53                           <Appearance>
 54                                <Material ambientIntensity='0.9diffuseColor='0.6 0.6 0.6shininess='0.9specularColor='0.7 0.7 0.8transparency='0.7'/>
 55                           </Appearance>
 56                           <IndexedFaceSet creaseAngle='1.57solid='falsecoordIndex='0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 -1'>
 57                                <Coordinate point='0 2.3906 0 0.1000 2.3984 0 0.2000 2.3998 0 0.3000 2.4000 0 0.4000 2.4000 0 0.5000 2.4000 0 0.6000 2.4000 0 0.7000 2.4000 0 0.8000 2.3998 0 0.9000 2.3984 0 1.0 2.3906 0 1.1000 2.3597 0 1.2000 2.2616 0 1.3000 1.9973 0 1.4000 1.3669 0 1.5000 0 0 0 0 0 0 2.3906 0'/>
 58                           </IndexedFaceSet>
 59                      </Shape>
 60                 </Transform>
 61                 <Transform translation='7.32 0 0'>
 62                      <!-- Right BackPost -->
 63                      <Transform USE='SmallSide'/>
 64                 </Transform>
 65                 <Transform rotation='0 1 0 1.57translation='-3.66 0 0'>
 66                      <Shape DEF='LargeGlass'>
 67                           <Appearance>
 68                                <Material ambientIntensity='0.9diffuseColor='0.6 0.6 0.6shininess='0.9specularColor='0.7 0.7 0.8transparency='0.7'/>
 69                           </Appearance>
 70                           <IndexedFaceSet creaseAngle='1.57solid='falsecoordIndex='0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 -1'>
 71                                <Coordinate point='-0.85 2.3906 0 0.1000 2.3984 0 0.2000 2.3998 0 0.3000 2.4000 0 0.4000 2.4000 0 0.5000 2.4000 0 0.6000 2.4000 0 0.7000 2.4000 0 0.8000 2.3998 0 0.9000 2.3984 0 1.0 2.3906 0 1.1000 2.3597 0 1.2000 2.2616 0 1.3000 1.9973 0 1.4000 1.3669 0 1.5000 0 0 -0.85 2.3906 7.32 0.1000 2.3984 7.32 0.2000 2.3998 7.32 0.3000 2.4000 7.32 0.4000 2.4000 7.32 0.5000 2.4000 7.32 0.6000 2.4000 7.32 0.7000 2.4000 7.32 0.8000 2.3998 7.32 0.9000 2.3984 7.32 1.0 2.3906 7.32 1.1000 2.3597 7.32 1.2000 2.2616 7.32 1.3000 1.9973 7.32 1.4000 1.3669 7.32 1.5000 0 7.32'/>
 72                           </IndexedFaceSet>
 73                      </Shape>
 74                 </Transform>
 75            </Transform>
 76            <Transform rotation='0 0 1 1.57translation='0 0.5 -1.2'>
 77                 <Shape>
 78                      <Appearance>
 79                           <Material diffuseColor='0.2 0.2 0.2'/>
 80                      </Appearance>
 81                      <Cylinder height='4.392radius='0.1'/>
 82                 </Shape>
 83 
               <!-- Transform Base is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
               <Transform DEF='Baserotation='0 0 1 1.57translation='-0.25 0 0'>
 84                      <Shape>
 85                           <Appearance>
 86                                <Material diffuseColor='0.2 0.2 0.2'/>
 87                           </Appearance>
 88                           <Cylinder height='0.5radius='0.1'/>
 89                      </Shape>
 90                 </Transform>
 91                 <Transform translation='0 1.5 0'>
 92                      <Transform USE='Base'/>
 93                 </Transform>
 94                 <Transform translation='0 -1.5 0'>
 95                      <Transform USE='Base'/>
 96                 </Transform>
 97            </Transform>
 98 
          <!-- Transform Seat is a DEF node that has 6 USE nodes: USE_1, USE_2, USE_3, USE_4, USE_5, USE_6 -->
          <Transform DEF='Seatscale='0.3 0.3 0.3translation='0 1 -1.3'>
 99                 <Inline   url=' "./ViewerSeat.wrl" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/SoccerStadium/ViewerSeat.wrl" '/>
100            </Transform>
101            <Transform translation='0.6 0 0'>
102                 <Transform USE='Seat'/>
103            </Transform>
104            <Transform translation='1.2 0 0'>
105                 <Transform USE='Seat'/>
106            </Transform>
107            <Transform translation='1.8 0 0'>
108                 <Transform USE='Seat'/>
109            </Transform>
110            <Transform translation='-0.6 0 0'>
111                 <Transform USE='Seat'/>
112            </Transform>
113            <Transform translation='-1.2 0 0'>
114                 <Transform USE='Seat'/>
115            </Transform>
116            <Transform translation='-1.8 0 0'>
117                 <Transform USE='Seat'/>
118            </Transform>
119       </Scene>
120  </X3D>
<!--

<!-- -->
<!-- to top DEF nodes index: Aloumni, BackIron, Base, Bench, HorIron, LargeGlass, Seat, SmallGlass, SmallSide, Vertiron

Index for Viewpoint node: Viewpoint_1
-->
X3D Tooltips element index: Appearance, Coordinate, Cylinder, Extrusion, head, IndexedFaceSet, Inline, Material, meta, Scene, Shape, Sphere, Transform, 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/Savage/Buildings/SoccerStadium/BenchIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/Buildings/SoccerStadium/Bench.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. -->