X3D Model Documentation: PoolView.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=' PoolView.x3d '/>
  6            <meta name='descriptioncontent='Display swimming pool with deck chairs, tables, umbrella, and water fixture'/>
  7            <meta name='creatorcontent='Ms Ng, Hwee Ping'/>
  8            <meta name='createdcontent='2 August 2004'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/Buildings/ZenCondominium/PoolView.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: body, Column, DeckChair, leg, Marble, MidArch, MiniLayer, side, support1, support2, Table, Top, Umbrella, UmbTop, WaterArch, wheel

Index for Viewpoint node: Viewpoint_1
-->
 14       <Scene>
 15            <WorldInfo title='PoolView.x3d'/>
 16            <Transform>
 17                 <Shape>
 18                      <Box size='7 0.2 10'/>
 19                      <Appearance>
 20                           <Material diffuseColor='0 0 1'/>
 21                           <ImageTexture   url=' "pool.jpg " "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/pool.jpg " '/>
 22                      </Appearance>
 23                 </Shape>
 24            </Transform>
 25            <PointLight/>
 26            <Transform scale='0.7 0.7 0.7translation='-7 0.55 0'>
 27 
               <!-- Group DeckChair is a DEF node that has 9 USE nodes: USE_1, USE_2, USE_3, USE_4, USE_5, USE_6, USE_7, USE_8, USE_9 -->
               <Group DEF='DeckChair'>
 28                      <Transform>
 29                           <Shape DEF='body'>
 30                                <Extrusion crossSection='3 0.1 3 0.2 0 0.2 -0.25 0.1 -0.5 0 -0.9 -0.5 -1.2 -1 -1.1 -1 -0.8 -0.5 -0.4 0 0 0.1 3 0.1spine='0 0 0 0 0 2'/>
 31                                <Appearance>
 32                                     <Material diffuseColor='1 1 1transparency='0.2'/>
 33                                </Appearance>
 34                           </Shape>
 35                      </Transform>
 36                      <Transform>
 37 
                         <!-- Shape leg is a DEF node that has 1 USE node: USE_1 -->
                         <Shape DEF='leg'>
 38                                <Extrusion crossSection='-1.2 0.3 -1.2 0.45 -1.1 0.45 -1.1 0.35 2.9 0.35 2.9 0.7 3 0.7 3 0.3 -1.2 0.3spine='0 0 0 0 0 0.1'/>
 39                                <Appearance>
 40                                     <Material diffuseColor='0.6 0.6 0.6'/>
 41                                </Appearance>
 42                           </Shape>
 43                      </Transform>
 44                      <Transform translation='0 0 2'>
 45                           <Shape USE='leg'/>
 46                      </Transform>
 47 
                    <!-- Transform support1 is a DEF node that has 1 USE node: USE_1 -->
                    <Transform DEF='support1center='0 -0.6 0.01rotation='1 0 0 1.57translation='-0.8 0.6 -0.5'>
 48                           <Shape>
 49                                <Box size='0.1 0.1 0.65'/>
 50                                <Appearance>
 51                                     <Material diffuseColor='0.6 0.6 0.6'/>
 52                                </Appearance>
 53                           </Shape>
 54                      </Transform>
 55                      <Transform translation='0 0 1.8'>
 56                           <Transform USE='support1'/>
 57                      </Transform>
 58 
                    <!-- Transform support2 is a DEF node that has 1 USE node: USE_1 -->
                    <Transform DEF='support2rotation='1 0 0 1.57translation='2.4 -0.26 0.06'>
 59                           <Shape>
 60                                <Box size='0.1 0.1 0.1'/>
 61                                <Appearance>
 62                                     <Material diffuseColor='0.6 0.6 0.6'/>
 63                                </Appearance>
 64                           </Shape>
 65                      </Transform>
 66                      <Transform translation='0 0 1.98'>
 67                           <Transform USE='support2'/>
 68                      </Transform>
 69                      <Transform>
 70 
                         <!-- Shape side is a DEF node that has 1 USE node: USE_1 -->
                         <Shape DEF='side'>
 71                                <Appearance>
 72                                     <Material diffuseColor='0.3 0.3 0.3'/>
 73                                </Appearance>
 74                                <Extrusion crossSection='3 0.1 3 0.2 0 0.2 -0.25 0.1 -0.5 0 -0.9 -0.5 -1.2 -1 -1.1 -1 -0.8 -0.5 -0.4 0 0 0.1 3 0.1spine='0 0 0 0 0 0.08'/>
 75                           </Shape>
 76                      </Transform>
 77                      <Transform translation='0 0 2'>
 78                           <Shape USE='side'/>
 79                      </Transform>
 80 
                    <!-- Transform wheel is a DEF node that has 1 USE node: USE_1 -->
                    <Transform DEF='wheelcenter='-1.4 -0.7 0.04scale='0.17 0.17 0.12'>
 81                           <Shape>
 82                                <Sphere/>
 83                                <Appearance>
 84                                     <Material diffuseColor='1 0 0'/>
 85                                </Appearance>
 86                           </Shape>
 87                      </Transform>
 88                      <Transform translation='0 0 2'>
 89                           <Transform USE='wheel'/>
 90                      </Transform>
 91                      <Transform translation='-0.8 -0.3 1.02'>
 92                           <Shape>
 93                                <Box size='0.07 0.07 2.05'/>
 94                                <Appearance>
 95                                     <Material diffuseColor='0.6 0.6 0.6'/>
 96                                </Appearance>
 97                           </Shape>
 98                      </Transform>
 99                 </Group>
100            </Transform>
101            <Transform scale='0.7 0.7 0.7translation='-7 0.55 2.5'>
102                 <Group USE='DeckChair'/>
103            </Transform>
104            <Transform scale='0.7 0.7 0.7translation='-7 0.55 -2.5'>
105                 <Group USE='DeckChair'/>
106            </Transform>
107            <Transform rotation='0 1 0 1.57scale='0.7 0.7 0.7translation='-2 0.55 8.5'>
108                 <Group USE='DeckChair'/>
109            </Transform>
110            <Transform rotation='0 1 0 1.7scale='0.7 0.7 0.7translation='2 0.55 8.5'>
111                 <Group USE='DeckChair'/>
112            </Transform>
113            <Transform rotation='0 -1 0 1.57scale='0.7 0.7 0.7translation='-2 0.55 -8.5'>
114                 <Group USE='DeckChair'/>
115            </Transform>
116            <Transform rotation='0 -1 0 1.57scale='0.7 0.7 0.7translation='0.5 0.55 -8.5'>
117                 <Group USE='DeckChair'/>
118            </Transform>
119            <Transform rotation='0 -1 0 1.57scale='0.7 0.7 0.7translation='3 0.55 -8.5'>
120                 <Group USE='DeckChair'/>
121            </Transform>
122            <Transform rotation='0 1 0 3.14scale='0.7 0.7 0.7translation='7 0.5 2.5'>
123                 <Group USE='DeckChair'/>
124            </Transform>
125            <Transform rotation='0 1 0 3scale='0.7 0.7 0.7translation='6.6 0.5 6'>
126                 <Group USE='DeckChair'/>
127            </Transform>
128            <Transform scale='0.75 0.75 0.75translation='3 2.5 0'>
129 
               <!-- Group WaterArch is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
               <Group DEF='WaterArch'>
130                      <Shape DEF='UmbTop'>
131                           <Extrusion crossSection='0 1 1.2 1 1.2 0.56 2.8 0.56 2.8 1 4 1 4 0 0 0 0 1spine='0 0 0 0 0 0.7'/>
132                           <Appearance>
133                                <Material diffuseColor='0 0 1'/>
134 
                              <!-- ImageTexture Marble is a DEF node that has 1 USE node: USE_1 -->
                              <ImageTexture DEF='Marble'   url=' "marble-19b-zoom.jpg " "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/pool.jpg " '/>
135                           </Appearance>
136                      </Shape>
137 
                    <!-- Group Column is a DEF node that has 1 USE node: USE_1 -->
                    <Group DEF='Column'>
138                           <Transform translation='0.6 -1.1 0.35'>
139 
                              <!-- Shape MidArch is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 -->
                              <Shape DEF='MidArch'>
140                                     <Box size='1.2 0.2 0.7'/>
141                                     <Appearance>
142                                          <Material diffuseColor='0.76 0.906 0.672'/>
143                                     </Appearance>
144                                </Shape>
145                           </Transform>
146                           <Transform translation='0.6 -1.23 0.35'>
147 
                              <!-- Shape MiniLayer is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
                              <Shape DEF='MiniLayer'>
148                                     <Box size='1.2 0.05 0.7'/>
149                                     <Appearance>
150                                          <Material diffuseColor='0 0 0'/>
151                                     </Appearance>
152                                </Shape>
153                           </Transform>
154                           <Transform translation='0.6 -1.34 0.35'>
155                                <Shape USE='MidArch'/>
156                           </Transform>
157                           <Transform translation='0.6 -1.47 0.35'>
158                                <Shape USE='MiniLayer'/>
159                           </Transform>
160                           <Transform translation='0.6 -1.58 0.35'>
161                                <Shape USE='MidArch'/>
162                           </Transform>
163                           <Transform translation='0.6 -1.71 0.35'>
164                                <Shape USE='MiniLayer'/>
165                           </Transform>
166                           <Transform translation='0.6 -1.82 0.35'>
167                                <Shape USE='MidArch'/>
168                           </Transform>
169                           <Transform translation='0.6 -2.52 0.35'>
170                                <Shape>
171                                     <Box size='1.2 1.2 0.7'/>
172                                     <Appearance>
173                                          <ImageTexture USE='Marble'/>
174                                     </Appearance>
175                                </Shape>
176                           </Transform>
177                      </Group>
178                      <Transform translation='2.8 0 0'>
179                           <Group USE='Column'/>
180                      </Transform>
181                      <Transform translation='-0.1 -0.5 0.35'>
182                           <Shape>
183                                <Box size='0.3 0.5 0.5'/>
184                           </Shape>
185                      </Transform>
186                 </Group>
187            </Transform>
188            <Transform scale='0.75 0.75 0.75translation='3 2.5 -1.6'>
189                 <Group USE='WaterArch'/>
190            </Transform>
191            <Transform scale='0.75 0.75 0.75translation='3 2.5 -3.2'>
192                 <Group USE='WaterArch'/>
193            </Transform>
194            <Transform translation='-7 5.2 -4'>
195 
               <!-- Group Umbrella is a DEF node that has 1 USE node: USE_1 -->
               <Group DEF='Umbrella'>
196                      <Transform DEF='Top'>
197                           <Shape>
198                                <IndexedFaceSet solid='falsecoordIndex='0 1 2 -1 0 2 3 -1 0 3 4 -1 0 4 1 -1'>
199                                     <Coordinate point='0 0 0 -2 -2 2 2 -2 2 2 -2 -2 -2 -2 -2'/>
200                                </IndexedFaceSet>
201                                <Appearance>
202                                     <Material diffuseColor='1 0 0'/>
203                                </Appearance>
204                           </Shape>
205                      </Transform>
206                      <Transform rotation='0 0 1 3.14translation='0 -2.7 0'>
207                           <Shape>
208                                <Cylinder height='5.2radius='0.1'/>
209                           </Shape>
210                      </Transform>
211                 </Group>
212            </Transform>
213            <Transform translation='4 5.2 -8.5'>
214                 <Group USE='Umbrella'/>
215            </Transform>
216            <DirectionalLight direction='4 0 5'/>
217            <DirectionalLight direction='0 6 0'/>
218            <Transform scale='0.7 0.7 0.7translation='0.6 0.95 8.5'>
219 
               <!-- Group Table is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
               <Group DEF='Table'>
220                      <Transform>
221                           <Shape>
222                                <Cylinder height='0.1'/>
223                                <Appearance>
224                                     <Material transparency='0.2'/>
225                                </Appearance>
226                           </Shape>
227                      </Transform>
228                      <Transform translation='0 -.65 0'>
229                           <Shape>
230                                <Box size='0.1 1.3 0.1'/>
231                           </Shape>
232                      </Transform>
233                      <Transform translation='0 -1.3 0'>
234                           <Shape>
235                                <Cylinder height='0.1radius='0.3'/>
236                                <Appearance>
237                                     <Material diffuseColor='1 0 0'/>
238                                </Appearance>
239                           </Shape>
240                      </Transform>
241                 </Group>
242            </Transform>
243            <Transform scale='0.7 0.7 0.7translation='-6 0.95 5.5'>
244                 <Group USE='Table'/>
245            </Transform>
246            <Transform scale='0.7 0.7 0.7translation='-6 0.95 -3.5'>
247                 <Group USE='Table'/>
248            </Transform>
249            <Viewpoint description='Block Towerorientation='-0.495 0.854 0.163 0.7545position='32.3 17.2 63.5'/>
250       </Scene>
251  </X3D>
<!--

<!-- -->
<!-- to top DEF nodes index: body, Column, DeckChair, leg, Marble, MidArch, MiniLayer, side, support1, support2, Table, Top, Umbrella, UmbTop, WaterArch, wheel

Index for Viewpoint node: Viewpoint_1
-->
X3D Tooltips element index: Appearance, Box, Coordinate, Cylinder, DirectionalLight, Extrusion, Group, head, ImageTexture, IndexedFaceSet, Material, meta, PointLight, 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/ZenCondominium/PoolViewIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/Buildings/ZenCondominium/PoolView.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. -->