X3D Model Documentation: Sofa.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=' Sofa.x3d '/>
  6            <meta name='descriptioncontent='Sofa'/>
  7            <meta name='creatorcontent='Seksit Siripala'/>
  8            <meta name='createdcontent='10 September 2002'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/Buildings/HouseSeksitSiripala/Sofa.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: arm, leg, woodarm
-->
 14       <Scene>
 15            <WorldInfo title='Sofa.x3d'/>
 16            <Transform translation='0.0 0.0 3.0'>
 17 
               <!-- Shape leg is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 -->
               <Shape DEF='leg'>
 18                      <Appearance>
 19                           <Material diffuseColor='0.2 0.1 0.0'/>
 20                      </Appearance>
 21                      <Cylinder height='0.5radius='0.2'/>
 22                 </Shape>
 23            </Transform>
 24            <Transform translation='0.0 0.0 -3.0'>
 25                 <Shape USE='leg'/>
 26            </Transform>
 27            <Transform translation='-2.0 0.0 -3.0'>
 28                 <Shape USE='leg'/>
 29            </Transform>
 30            <Transform translation='-2.0 0.0 3.0'>
 31                 <Shape USE='leg'/>
 32            </Transform>
 33            <Transform rotation='0.0 0.0 1.0 0.1translation='-1.0 0.3 0.0'>
 34                 <Shape>
 35                      <Appearance>
 36                           <Material diffuseColor='0.1 0.2 0.5'/>
 37                      </Appearance>
 38                      <Box size='2.5 0.5 7.0'/>
 39                 </Shape>
 40            </Transform>
 41            <Transform rotation='0.0 0.0 1.0 0.1translation='-1.0 0.5 3.5'>
 42 
               <!-- Group arm is a DEF node that has 1 USE node: USE_1 -->
               <Group DEF='arm'>
 43                      <Shape>
 44                           <Appearance>
 45                                <Material diffuseColor='0.1 0.2 0.5'/>
 46                           </Appearance>
 47                           <Box size='2.5 0.3 0.3'/>
 48                      </Shape>
 49                      <Transform rotation='0.0 0.0 1.0 -1.5translation='0.0 0.2 0.0'>
 50                           <Shape>
 51                                <Appearance>
 52                                     <Material diffuseColor='0.1 0.2 0.5'/>
 53                                </Appearance>
 54                                <Cylinder height='3.0radius='0.2'/>
 55                           </Shape>
 56                      </Transform>
 57                 </Group>
 58            </Transform>
 59            <Transform rotation='0.0 0.0 1.0 -1.4translation='-1.0 0.7 3.5'>
 60 
               <!-- Shape woodarm is a DEF node that has 1 USE node: USE_1 -->
               <Shape DEF='woodarm'>
 61                      <Appearance>
 62                           <Material diffuseColor='0.2 0.1 0.0'/>
 63                      </Appearance>
 64                      <Cylinder height='3.2radius='0.1'/>
 65                 </Shape>
 66            </Transform>
 67            <Transform rotation='0.0 0.0 1.0 -1.4translation='-1.0 0.7 -3.5'>
 68                 <Shape USE='woodarm'/>
 69            </Transform>
 70            <Transform rotation='0.0 0.0 1.0 0.1translation='-1.0 0.5 -3.5'>
 71                 <Group USE='arm'/>
 72            </Transform>
 73            <Transform rotation='0.0 0.0 1.0 0.4translation='-2.2 0.8 0.0'>
 74                 <Shape>
 75                      <Appearance>
 76                           <Material diffuseColor='0.1 0.2 0.5'/>
 77                      </Appearance>
 78                      <Box size='0.3 1.5 6.5'/>
 79                 </Shape>
 80            </Transform>
 81            <Transform rotation='0.0 0.0 1.0 0.1translation='-1.0 0.4 0.0'>
 82                 <Shape>
 83                      <Appearance>
 84                           <Material diffuseColor='0.1 0.2 0.5'/>
 85                      </Appearance>
 86                      <Box size='2.5 0.5 6.5'/>
 87                 </Shape>
 88                 <Transform rotation='1.0 0.0 0.0 1.5707964translation='1.15 0.0 0.0'>
 89                      <Shape>
 90                           <Appearance>
 91                                <Material diffuseColor='0.1 0.2 0.5'/>
 92                           </Appearance>
 93                           <Cylinder height='6.5radius='0.25'/>
 94                      </Shape>
 95                 </Transform>
 96            </Transform>
 97       </Scene>
 98  </X3D>
<!--

<!-- -->
<!-- to top DEF nodes index: arm, leg, woodarm
-->
X3D Tooltips element index: Appearance, Box, Cylinder, Group, head, 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/HouseSeksitSiripala/SofaIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/Buildings/HouseSeksitSiripala/Sofa.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. -->