X3D Model Documentation: TopFront.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=' TopFront.x3d '/>
  6            <meta name='descriptioncontent='Sketch of front portion of top body'/>
  7            <meta name='createdcontent='1 September 2004'/>
  8            <meta name='modifiedcontent='20 October 2019'/>
  9            <meta name='creatorcontent='Tay Yeong Kiang Winston'/>
 10            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/HovercraftSnr6Singapore/TopFront.x3d '/>
 11            <meta name='generatorcontent='X3D-Edit, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 12            <meta name='licensecontent='../../license.html'/>
 13       </head>
<!--

<!-- -->
<!-- to top DEF nodes index: BFrame, BottomFrame, CentreFrame, CFront, Edge, Front, LeftFrame, LeftGlass, RFrame, RightFrame, Top, TopFrame, TopSeg, WindowSeg
-->
 14       <Scene>
 15            <WorldInfo title='TopFront.x3d'/>
 16 
          <!-- Group TopSeg is a DEF node that has 1 USE node: USE_1 -->
          <Group DEF='TopSeg'>
 17                 <Transform translation='1.5 2.5 0'>
 18                      <Shape DEF='Top'>
 19                           <Appearance>
 20                                <Material ambientIntensity='0.25diffuseColor='0.315152 0.07457 0.0shininess='0.036364specularColor='0.508861 0.684007 0.326263'/>
 21                           </Appearance>
 22                           <Box size='3.01 .4 4'/>
 23                      </Shape>
 24                 </Transform>
 25                 <Transform rotation='0 0 1 0.3translation='3.6 0 0'>
 26                      <Group DEF='WindowSeg'>
 27 
                         <!-- Shape BottomFrame is a DEF node that has 1 USE node: USE_1 -->
                         <Shape DEF='BottomFrame'>
 28                                <Appearance>
 29                                     <Material ambientIntensity='0.25diffuseColor='0.315152 0.07457 0.0shininess='0.036364specularColor='0.508861 0.684007 0.326263'/>
 30                                </Appearance>
 31                                <Box size='0.4 0.4 4'/>
 32                           </Shape>
 33                           <Transform translation='0 1.25 0.9'>
 34 
                              <!-- Shape LeftGlass is a DEF node that has 1 USE node: USE_1 -->
                              <Shape DEF='LeftGlass'>
 35                                     <Appearance>
 36                                          <Material ambientIntensity='0.240602diffuseColor='0.526888 0.525905 0.603564shininess='0.636364specularColor='0.651092 0.441837 0.42173transparency='0.285714'/>
 37                                     </Appearance>
 38                                     <Box size='0.1 2.4 1.5'/>
 39                                </Shape>
 40                           </Transform>
 41                           <Transform translation='0 1.25 -0.9'>
 42                                <Shape USE='LeftGlass'/>
 43                           </Transform>
 44                           <Transform translation='0 1.25 0'>
 45 
                              <!-- Shape CentreFrame is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
                              <Shape DEF='CentreFrame'>
 46                                     <Appearance>
 47                                          <Material ambientIntensity='0.25diffuseColor='0.315152 0.07457 0.0shininess='0.036364specularColor='0.508861 0.684007 0.326263'/>
 48                                     </Appearance>
 49                                     <Box size='0.4 2.5 0.4'/>
 50                                </Shape>
 51                           </Transform>
 52                           <Transform DEF='TopFrametranslation='0 2.5 0'>
 53                                <Shape USE='BottomFrame'/>
 54                           </Transform>
 55                           <Transform DEF='LeftFrametranslation='0 1.25 1.8'>
 56                                <Shape USE='CentreFrame'/>
 57                           </Transform>
 58                           <Transform DEF='RightFrametranslation='0 1.25 -1.8'>
 59                                <Shape USE='CentreFrame'/>
 60                           </Transform>
 61                      </Group>
 62                 </Transform>
 63            </Group>
 64            <Transform rotation='0 1 0 3.14'>
 65                 <Group USE='TopSeg'/>
 66            </Transform>
 67            <Transform rotation='1 0 0 -0.3translation='0 0 2.6'>
 68                 <Group DEF='Front'>
 69 
                    <!-- Group CFront is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
                    <Group DEF='CFront'>
 70                           <Transform translation='0 1.25 0'>
 71                                <Shape>
 72                                     <Appearance>
 73                                          <Material ambientIntensity='0.240602diffuseColor='0.526888 0.525905 0.603564shininess='0.636364specularColor='0.651092 0.441837 0.42173transparency='0.285714'/>
 74                                     </Appearance>
 75                                     <Box size='1.9 2.4 0.1'/>
 76                                </Shape>
 77                           </Transform>
 78 
                         <!-- Shape BFrame is a DEF node that has 1 USE node: USE_1 -->
                         <Shape DEF='BFrame'>
 79                                <Appearance>
 80                                     <Material ambientIntensity='0.25diffuseColor='0.315152 0.07457 0.0shininess='0.036364specularColor='0.508861 0.684007 0.326263'/>
 81                                </Appearance>
 82                                <Box size='2 0.4 0.4'/>
 83                           </Shape>
 84                           <Transform translation='0 2.5 0'>
 85                                <Shape USE='BFrame'/>
 86                           </Transform>
 87                           <Transform translation='0.8 1.25 0'>
 88 
                              <!-- Shape RFrame is a DEF node that has 1 USE node: USE_1 -->
                              <Shape DEF='RFrame'>
 89                                     <Appearance>
 90                                          <Material ambientIntensity='0.25diffuseColor='0.315152 0.07457 0.0shininess='0.036364specularColor='0.508861 0.684007 0.326263'/>
 91                                     </Appearance>
 92                                     <Box size='0.4 2.5 0.4'/>
 93                                </Shape>
 94                           </Transform>
 95                           <Transform translation='-0.8 1.25 0'>
 96                                <Shape USE='RFrame'/>
 97                           </Transform>
 98                      </Group>
 99                      <Transform translation='2 0 0'>
100                           <Group USE='CFront'/>
101                      </Transform>
102                      <Transform translation='-2 0 0'>
103                           <Group USE='CFront'/>
104                      </Transform>
105                 </Group>
106            </Transform>
107            <Transform translation='-3 -0.1 2'>
108 
               <!-- Shape Edge is a DEF node that has 1 USE node: USE_1 -->
               <Shape DEF='Edge'>
109                      <Extrusion crossSection='0 0 -0.9 0 0 0.9 0 0scale='1 1 0.643 0.643 0.001 0.001spine='0 0 0 0 1 0 0 2.8 0'/>
110                      <Appearance>
111                           <Material ambientIntensity='0.25diffuseColor='0.315152 0.07457 0.0shininess='0.036364specularColor='0.508861 0.684007 0.326263'/>
112                      </Appearance>
113                 </Shape>
114            </Transform>
115            <Transform rotation='0 1 0 1.57translation='3 -0.1 2'>
116                 <Shape USE='Edge'/>
117            </Transform>
118       </Scene>
119  </X3D>
<!--

<!-- -->
<!-- to top DEF nodes index: BFrame, BottomFrame, CentreFrame, CFront, Edge, Front, LeftFrame, LeftGlass, RFrame, RightFrame, Top, TopFrame, TopSeg, WindowSeg
-->
X3D Tooltips element index: Appearance, Box, Extrusion, 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/ShipsMilitary/HovercraftSnr6Singapore/TopFrontIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/HovercraftSnr6Singapore/TopFront.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. -->