X3D Model Documentation: BlockTower.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=' BlockTower.x3d '/>
  6            <meta name='creatorcontent='Hwee Ping Ng'/>
  7            <meta name='createdcontent='20 August 2004'/>
  8            <meta name='modifiedcontent='20 October 2019'/>
  9            <meta name='descriptioncontent='Condominum block tower.'/>
 10            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/Buildings/ZenCondominium/BlockTower.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: beam, block, Body, bottom, bottomwin, Ceiling, Ceiling_Left_Front, Column, roundbeam, roundwin, roundwinlow, structure, test, upperwin, window
-->
 14       <Scene>
 15            <!-- This NavigationInfo node is added to many scenes, making examination of objects easier. -->
 16            <WorldInfo title='BlockTower.x3d'/>
 17            <Transform scale='0.4 0.4 0.4translation='-1 0.8 -3'>
 18 
               <!-- Group block is a DEF node that has 1 USE node: USE_1 -->
               <Group DEF='block'>
 19                      <Transform translation='-2.3 1.8 0'>
 20 
                         <!-- Shape roundbeam is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 -->
                         <Shape DEF='roundbeam'>
 21                                <Cylinder height='0.6radius='2.3'/>
 22                                <Appearance>
 23                                     <Material diffuseColor='1 0.61 0.22'/>
 24                                </Appearance>
 25                           </Shape>
 26                      </Transform>
 27                      <Transform translation='-2.3 3.5 0'>
 28                           <Shape USE='roundbeam'/>
 29                      </Transform>
 30                      <Transform translation='-2.3 7.3 0'>
 31                           <Shape USE='roundbeam'/>
 32                      </Transform>
 33                      <Transform translation='-2.3 9 0'>
 34                           <Shape USE='roundbeam'/>
 35                      </Transform>
 36                      <Transform translation='-2.3 2.75 0'>
 37 
                         <!-- Shape roundwin is a DEF node that has 1 USE node: USE_1 -->
                         <Shape DEF='roundwin'>
 38                                <Cylinder height='0.9radius='2.3'/>
 39                                <Appearance>
 40                                     <Material diffuseColor='1 1 0.3transparency='0.2'/>
 41                                </Appearance>
 42                           </Shape>
 43                      </Transform>
 44                      <Transform translation='-2.3 8.25 0'>
 45                           <Shape USE='roundwin'/>
 46                      </Transform>
 47                      <Transform translation='-2.3 2.2 0'>
 48 
                         <!-- Shape roundwinlow is a DEF node that has 1 USE node: USE_1 -->
                         <Shape DEF='roundwinlow'>
 49                                <Cylinder height='0.2radius='2.3'/>
 50                                <Appearance>
 51                                     <Material diffuseColor='1 1 0.49'/>
 52                                </Appearance>
 53                           </Shape>
 54                      </Transform>
 55                      <Transform translation='-2.3 7.7 0'>
 56                           <Shape USE='roundwinlow'/>
 57                      </Transform>
 58 
                    <!-- Group structure is a DEF node that has 1 USE node: USE_1 -->
                    <Group DEF='structure'>
 59 
                         <!-- Group Column is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 -->
                         <Group DEF='Column'>
 60 
                              <!-- Shape beam is a DEF node that has 1 USE node: USE_1 -->
                              <Shape DEF='beam'>
 61                                     <Appearance>
 62                                          <Material diffuseColor='1 0.61 0.22'/>
 63                                     </Appearance>
 64                                     <Box size='3.3 0.6 4'/>
 65                                </Shape>
 66                                <Group>
 67                                     <Transform translation='0 1.8 0'>
 68                                          <Shape USE='beam'/>
 69                                     </Transform>
 70                                </Group>
 71                           </Group>
 72 
                         <!-- Group window is a DEF node that has 5 USE nodes: USE_1, USE_2, USE_3, USE_4, USE_5 -->
                         <Group DEF='window'>
 73                                <Transform translation='0 1 -0.1'>
 74 
                                   <!-- Shape upperwin is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
                                   <Shape DEF='upperwin'>
 75                                          <Box size='1 1 3.8'/>
 76                                          <Appearance>
 77                                               <Material transparency='0.2'/>
 78                                          </Appearance>
 79                                     </Shape>
 80                                </Transform>
 81                                <Group>
 82                                     <Transform translation='1.1 1 -0.1'>
 83                                          <Shape USE='upperwin'/>
 84                                     </Transform>
 85                                     <Transform translation='-1.1 1 -0.1'>
 86                                          <Shape USE='upperwin'/>
 87                                     </Transform>
 88                                </Group>
 89                                <Group>
 90                                     <Transform translation='0 0.35 -0.1'>
 91 
                                        <!-- Shape bottomwin is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
                                        <Shape DEF='bottomwin'>
 92                                               <Appearance>
 93                                                    <Material/>
 94                                               </Appearance>
 95                                               <Box size='1 0.25 3.8'/>
 96                                          </Shape>
 97                                     </Transform>
 98                                </Group>
 99                                <Group>
100                                     <Transform translation='1.1 0.35 -0.1'>
101                                          <Shape USE='bottomwin'/>
102                                     </Transform>
103                                     <Transform translation='-1.1 0.35 -0.1'>
104                                          <Shape USE='bottomwin'/>
105                                     </Transform>
106                                </Group>
107                           </Group>
108                           <Group DEF='Body'>
109                                <Transform translation='-4.5 0 0'>
110                                     <Group USE='Column'/>
111                                </Transform>
112                                <Transform translation='-4.5 0 0'>
113                                     <Group USE='window'/>
114                                </Transform>
115                                <Transform translation='-4.5 1.8 0'>
116                                     <Group USE='window'/>
117                                </Transform>
118                                <Transform translation='0 1.8 0'>
119                                     <Group USE='window'/>
120                                </Transform>
121                                <Transform translation='-4.5 3.5 0'>
122                                     <Group USE='Column'/>
123                                </Transform>
124                                <Transform translation='0 3.5 0'>
125                                     <Group USE='Column'/>
126                                </Transform>
127                                <Transform translation='-4.5 3.5 0'>
128                                     <Group USE='window'/>
129                                </Transform>
130                                <Transform translation='0 3.5 0'>
131                                     <Group USE='window'/>
132                                </Transform>
133                           </Group>
134                           <Group>
135                                <Transform translation='1.7 1.9 0'/>
136                           </Group>
137                      </Group>
138                      <Transform translation='0 5.5 0'>
139                           <Group USE='structure'/>
140                      </Transform>
141                      <Transform translation='-2.3 -0.01 0'>
142 
                         <!-- Shape bottom is a DEF node that has 1 USE node: USE_1 -->
                         <Shape DEF='bottom'>
143                                <Box size='1.3 0.63 4'/>
144                                <Appearance>
145                                     <Material diffuseColor='1 0.61 0.22'/>
146                                </Appearance>
147                           </Shape>
148                      </Transform>
149                      <Transform translation='-2.3 10.8 -0'>
150                           <Shape USE='bottom'/>
151                      </Transform>
152                 </Group>
153            </Transform>
154            <Transform scale='0.4 0.4 0.4translation='-1 0.8 -1.6'>
155                 <Group USE='block'/>
156            </Transform>
157 
          <!-- Group test is a DEF node that has 1 USE node: USE_1 -->
          <Group DEF='test'>
158                 <Transform rotation='0 1 0 3.14scale='1 0.345 1.175translation='-1.3 0.7 -5.3'>
159                      <Inline   url=' "result.x3d" "result.wrl" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/ZenCondominium/result.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/ZenCondominium/result.wrl" '/>
160                 </Transform>
161            </Group>
162            <Transform rotation='0 1 0 3.14translation='-3.77 0 -4.6'>
163                 <Group USE='test'/>
164            </Transform>
165            <Transform translation='-3.42 2.9 -2'>
166                 <Shape>
167                      <Box size='0.1 4.48 1.5'/>
168                 </Shape>
169            </Transform>
170            <Transform scale='0.8 0.8 0.8translation='-3.5 0.6 0'>
171 
               <!-- Group Ceiling is a DEF node that has 1 USE node: USE_1 -->
               <Group DEF='Ceiling'>
172                      <Group DEF='Ceiling_Left_Front'>
173                           <Transform translation='0 0 -1'>
174                                <Shape>
175                                     <Appearance>
176                                          <Material diffuseColor='1 0.61 0.22'/>
177                                     </Appearance>
178                                     <Extrusion convex='falsecreaseAngle='0.785crossSection='0 0 4 0 4 -1.15 4.35 -1.8 4 -2.4 4 -3.75 0 -3.75 0 -2.6 -0.35 -1.95 0 -1.25 0 0solid='falsespine='0 0 0 0 0.1 0'/>
179                                </Shape>
180                           </Transform>
181                      </Group>
182                 </Group>
183            </Transform>
184            <Transform scale='0.8 0.8 0.8translation='-3.5 5.17 0'>
185                 <Group USE='Ceiling'/>
186            </Transform>
187       </Scene>
188  </X3D>
<!--

<!-- -->
<!-- to top DEF nodes index: beam, block, Body, bottom, bottomwin, Ceiling, Ceiling_Left_Front, Column, roundbeam, roundwin, roundwinlow, structure, test, upperwin, window
-->
X3D Tooltips element index: Appearance, Box, Cylinder, Extrusion, Group, head, Inline, Material, meta, Scene, Shape, Transform, 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/ZenCondominium/BlockTowerIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/Buildings/ZenCondominium/BlockTower.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. -->