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='licensecontent='../../license.html'/>
 12       </head>
<!--

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