X3D Model Documentation: Hut.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=' Hut.x3d '/>
  6            <meta name='descriptioncontent='Hut for the playground - look around or rest here if you want.'/>
  7            <meta name='creatorcontent='Kok Keng Ng'/>
  8            <meta name='createdcontent='20 September 2002'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/Hut.x3d '/>
 11            <meta name='generatorcontent='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 12            <meta name='licensecontent='../../license.html'/>
 13       </head>
<!--

<!-- -->
<!-- to top DEF nodes index: HURFloorPanel, HUTBar, HUTBar2, HUTFloor, HUTPanel, HUTPillars, HUTRoof, PILLAR, roof1, ROOFApp, ROOFPart1, ROOFPart2, ROOFPart3, ROOFPart4, wood, WOOD2App

Index for Viewpoint node: Viewpoint_1
-->
 14       <Scene>
 15            <WorldInfo title='Hut.x3d'/>
 16            <Viewpoint description='Hut vieworientation='0 1 0 1.575position='1.5 0.5 -2'/>
 17            <Transform scale='0.5 0.5 0.5translation='0 0 0.25'>
 18                 <Group DEF='HUTRoof'>
 19                      <Transform DEF='roof1center='0 4 0rotation='1 0 0 1scale='1 1 0.01translation='0 3.5 -3.35'>
 20 
                         <!-- Shape ROOFPart1 is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 -->
                         <Shape DEF='ROOFPart1'>
 21                                <Cone bottomRadius='4.5height='5.25'/>
 22                                <Appearance DEF='ROOFApp'>
 23                                     <Material diffuseColor='1 0.2 0.2'/>
 24 
                                   <!-- ImageTexture wood is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 -->
                                   <ImageTexture DEF='wood'   url=' "wood.jpg " "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/wood.jpg " '/>
 25                                </Appearance>
 26                           </Shape>
 27                      </Transform>
 28                      <Transform DEF='ROOFPart2center='0 4 -9rotation='1 0 0 -1scale='1 1 0.02translation='0 3.4 3.25'>
 29                           <Shape USE='ROOFPart1'/>
 30                      </Transform>
 31                      <Transform DEF='ROOFPart3center='0 4 0rotation='0 0 1 -1scale='0.02 1 1translation='1.2 3.5 -4.5'>
 32                           <Shape USE='ROOFPart1'/>
 33                      </Transform>
 34                      <Transform DEF='ROOFPart4center='0 4 0rotation='0 0 1 1scale='0.02 1 1translation='-1.2 3.5 -4.5'>
 35                           <Shape USE='ROOFPart1'/>
 36                      </Transform>
 37                 </Group>
 38            </Transform>
 39            <Transform>
 40                 <Group DEF='HUTPillars'>
 41                      <Transform translation='-2 0 0'>
 42 
                         <!-- Shape PILLAR is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 -->
                         <Shape DEF='PILLAR'>
 43                                <Box size='0.2 4 0.2'/>
 44                                <Appearance>
 45                                     <Material diffuseColor='0.8 0.6 0'/>
 46                                     <ImageTexture USE='wood'/>
 47                                </Appearance>
 48                           </Shape>
 49                      </Transform>
 50                      <Transform translation='2 0 0'>
 51                           <Shape USE='PILLAR'/>
 52                      </Transform>
 53                      <Transform translation='-2 0 -4'>
 54                           <Shape USE='PILLAR'/>
 55                      </Transform>
 56                      <Transform translation='2 0 -4'>
 57                           <Shape USE='PILLAR'/>
 58                      </Transform>
 59                 </Group>
 60            </Transform>
 61            <Transform>
 62 
               <!-- Group HUTPanel is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
               <Group DEF='HUTPanel'>
 63                      <Transform translation='-1.5 -0.5 0'>
 64 
                         <!-- Shape HUTBar is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 -->
                         <Shape DEF='HUTBar'>
 65                                <Box size='0.8 1 0.1'/>
 66 
                              <!-- Appearance WOOD2App is a DEF node that has 1 USE node: USE_1 -->
                              <Appearance DEF='WOOD2App'>
 67                                     <ImageTexture USE='wood'/>
 68                                     <Material diffuseColor='0.9 0.7 0.3'/>
 69                                </Appearance>
 70                           </Shape>
 71                      </Transform>
 72                      <Transform translation='-0.5 -.5 0'>
 73                           <Shape USE='HUTBar'/>
 74                      </Transform>
 75                      <Transform translation='0.5 -0.5 0'>
 76                           <Shape USE='HUTBar'/>
 77                      </Transform>
 78                      <Transform translation='1.5 -0.5 0'>
 79                           <Shape USE='HUTBar'/>
 80                      </Transform>
 81                      <Transform>
 82 
                         <!-- Shape HUTBar2 is a DEF node that has 6 USE nodes: USE_1, USE_2, USE_3, USE_4, USE_5, USE_6 -->
                         <Shape DEF='HUTBar2'>
 83                                <Appearance USE='WOOD2App'/>
 84                                <Box size='3.8 0.2 0.2'/>
 85                           </Shape>
 86                      </Transform>
 87                      <Transform translation='0 -1.1 0'>
 88                           <Shape USE='HUTBar2'/>
 89                      </Transform>
 90                      <Transform/>
 91                      <Transform/>
 92                 </Group>
 93            </Transform>
 94            <Transform rotation='0 1 0 1.575translation='2 0 -2'>
 95                 <Group USE='HUTPanel'/>
 96            </Transform>
 97            <Transform translation='0 0 -4'>
 98                 <Group USE='HUTPanel'/>
 99            </Transform>
100            <Transform>
101                 <Group DEF='HUTFloor'>
102                      <Transform translation='0 -1.1 -0.6'>
103 
                         <!-- Shape HURFloorPanel is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 -->
                         <Shape DEF='HURFloorPanel'>
104                                <Box size='3.8 0.1 0.9'/>
105                                <Appearance>
106                                     <Material diffuseColor='0.9 0.9 0.2'/>
107                                     <ImageTexture USE='wood'/>
108                                </Appearance>
109                           </Shape>
110                      </Transform>
111                      <Transform translation='0 -1.1 -1.55'>
112                           <Shape USE='HURFloorPanel'/>
113                      </Transform>
114                      <Transform translation='0 -1.1 -2.5'>
115                           <Shape USE='HURFloorPanel'/>
116                      </Transform>
117                      <Transform translation='0 -1.1 -3.45'>
118                           <Shape USE='HURFloorPanel'/>
119                      </Transform>
120                      <Transform/>
121                      <Transform/>
122                 </Group>
123            </Transform>
124            <Transform rotation='0 1 0 1.575translation='-2 -1.1 -2'>
125                 <Shape USE='HUTBar2'/>
126            </Transform>
127            <Transform rotation='0 1 0 1.575scale='0.3 1 1translation='-2 0 -0.675'>
128                 <Shape USE='HUTBar2'/>
129            </Transform>
130            <Transform rotation='0 1 0 1.575scale='0.33 1 1translation='-2 0 -3.275'>
131                 <Shape USE='HUTBar2'/>
132            </Transform>
133            <Transform rotation='0 0 1 1.575scale='0.33 1 1translation='-2.0 -0.525 -2.55'>
134                 <Shape USE='HUTBar2'/>
135            </Transform>
136            <Transform rotation='0 0 1 1.575scale='0.33 1 1translation='-2.0 -0.525 -1.35'>
137                 <Shape USE='HUTBar2'/>
138            </Transform>
139            <Transform/>
140            <Transform/>
141            <Transform/>
142       </Scene>
143  </X3D>
<!--

<!-- -->
<!-- to top DEF nodes index: HURFloorPanel, HUTBar, HUTBar2, HUTFloor, HUTPanel, HUTPillars, HUTRoof, PILLAR, roof1, ROOFApp, ROOFPart1, ROOFPart2, ROOFPart3, ROOFPart4, wood, WOOD2App

Index for Viewpoint node: Viewpoint_1
-->
X3D Tooltips element index: Appearance, Box, Cone, Group, head, ImageTexture, Material, meta, Scene, Shape, 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/PlayGround/HutIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/Hut.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. -->