X3D Model Documentation: RobotHead.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=' RobotHead.x3d '/>
  6            <meta name='descriptioncontent="JetFire's Robotic Head."/>
  7            <meta name='creatorcontent='Kreg L. Kelly'/>
  8            <meta name='translatorcontent='Kreg L. Kelly'/>
  9            <meta name='createdcontent='22 September 2002'/>
 10            <meta name='modifiedcontent='20 October 2019'/>
 11            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/Robots/JetFireTransformerToy/RobotHead.x3d '/>
 12            <meta name='generatorcontent='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 13            <meta name='licensecontent='../../license.html'/>
 14       </head>
<!--

<!-- -->
<!-- to top DEF nodes index: Cannon, CannonColor, CannonTurret, MyBlueGrey
-->
 15       <Scene>
 16            <WorldInfo title='RobotHead.x3d'/>
 17            <Background groundAngle='1.309 1.5702groundColor='0.5 0.3 0.3 0.5 0.3 0.3 0.5 0.4 0.4skyAngle='1.309 1.572skyColor='0 0.2 0.7 0 0.5 1 1 1 1'/>
 18            <Transform>
 19                 <Shape>
 20 
                    <!-- Appearance MyBlueGrey is a DEF node that has 1 USE node: USE_1 -->
                    <Appearance DEF='MyBlueGrey'>
 21                           <Material diffuseColor='.7 .8 .8'/>
 22                      </Appearance>
 23                      <IndexedFaceSet solid='falsecoordIndex='0 1 2 3 4 5 6 7 8 -1 0 1 10 9 -1 1 2 11 10 -1 2 3 12 11 -1 3 4 13 12 -1 4 5 14 13 -1 5 6 15 14 -1 6 7 16 15 -1 7 8 17 16 -1 8 0 9 17 -1 18 19 20 21 -1 21 20 22 23 -1 23 22 26 27 -1 27 26 25 28 -1 20 24 25 26 22 -1 21 23 27 28 29 -1 20 24 25 31 30 -1 31 25 28 32 -1 21 33 32 28 29 -1 48 47 44 43 -1 47 46 45 44 -1 42 19 20 30 -1 43 42 30 31 -1 48 43 31 34 35 36 37 38 39 40 41 -1 41 5 48 -1 1 56 63 -1 63 56 55 54 53 52 51 50 49 32 -1 62 63 58 59 -1 62 59 60 61 -1 57 32 21 18 -1 58 63 32 57 -1 57 18 19 42 -1 59 58 43 44 -1 60 59 44 45 -1 61 60 45 46 -1 62 61 46 47 -1 63 62 47 48 -1 5 41 56 1 -1 41 40 55 56 -1 40 39 54 55 -1 39 38 53 54 -1 38 37 52 53 -1 37 36 51 52 -1 36 35 50 51 -1 35 34 49 50 -1'>
 24                           <Coordinate point='0.33 0 -0.495 0.165 0.055 -0.275 0.1166 0.1375 -0.1375 0 0.275 -0 -0.1166 0.1375 -0.1375 -0.165 0.055 -0.275 -0.33 0 -0.495 -0.44 0 -1.155 0.44 0 -1.155 0.33 0.55 -0.495 0.165 0.55 -0.22 0.1166 0.55 -0.11 0 0.55 -0 -0.1166 0.55 -0.11 -0.165 0.55 -0.22 -0.33 0.55 -0.495 -0.44 0.55 -1.155 0.44 0.55 -1.155 0.275 1.1 0.3 -0.275 1.1 0.3 -0.275 1.155 0.33 0.275 1.155 0.33 -0.275 1.375 -0.275 0.275 1.375 -0.275 -0.3025 1.32 -1.32 -0.3025 1.32 -1.347 -0.275 1.375 -1.32 0.275 1.375 -1.32 0.3025 1.32 -1.347 0.3025 1.32 -1.32 -0.4675 1.25 -0.275 -0.495 1.25 -1.35 0.495 1.25 -1.35 0.4675 1.25 -0.275 -0.495 1.21 -1.375 -0.495 1.151 -1.466 -0.495 1.081 -1.536 -0.495 0.99 -1.66 -0.495 0.458 -1.536 -0.495 0.389 -1.466 -0.495 0.33 -1.375 -0.4125 0.275 -0.66 -0.385 1.045 -0.275 -0.385 0.825 -0.275 -0.275 0.825 0.3 -0.165 0.33 0.245 -0.165 0.33 0.19 -0.2475 0.44 0.025 -0.3025 0.44 -1.35 0.495 1.21 -1.375 0.495 1.151 -1.466 0.495 1.081 -1.536 0.495 0.99 -1.66 0.495 0.458 -1.536 0.495 0.389 -1.466 0.495 0.33 -1.375 0.4125 0.275 -0.66 0.385 1.045 -0.275 0.385 0.825 -0.275 0.275 0.825 0.3 0.165 0.33 0.245 0.165 0.33 0.19 0.2475 0.44 0.025 0.3025 0.44 -1.35'/>
 25                      </IndexedFaceSet>
 26                 </Shape>
 27            </Transform>
 28            <Transform scale='.35 .35 .35translation='0 0 -0.8'>
 29                 <Shape>
 30                      <Appearance USE='MyBlueGrey'/>
 31                      <Extrusion creaseAngle='0.785crossSection='1.00 0.00 0.92 -0.38 0.71 -0.71 0.38 -0.92 0.00 -1.00 -0.38 -0.92 -0.71 -0.71 -0.92 -0.38 -1.00 -0.00 -0.92 0.38 -0.71 0.71 -0.38 0.92 0.00 1.00 0.38 0.92 0.71 0.71 0.92 0.38 1.00 0.00spine='0 -1 0 0 1 0'/>
 32                 </Shape>
 33            </Transform>
 34            <Transform translation='0 0.925 -0.275'>
 35                 <Shape>
 36                      <Appearance>
 37                           <Material diffuseColor='1 0 0transparency='.5'/>
 38                      </Appearance>
 39                      <Box size='.6 0.255 0.8'/>
 40                 </Shape>
 41            </Transform>
 42            <Transform scale='0.4 1 1translation='0.495 0.84 -1.12'>
 43 
               <!-- Shape CannonTurret is a DEF node that has 1 USE node: USE_1 -->
               <Shape DEF='CannonTurret'>
 44 
                    <!-- Appearance CannonColor is a DEF node that has 1 USE node: USE_1 -->
                    <Appearance DEF='CannonColor'>
 45                           <Material diffuseColor='.2 .2 .2shininess='0.75'/>
 46                      </Appearance>
 47                      <Sphere radius='0.4'/>
 48                 </Shape>
 49            </Transform>
 50            <Transform scale='0.4 1 1translation='-0.495 0.84 -1.12'>
 51                 <Shape USE='CannonTurret'/>
 52            </Transform>
 53            <Transform rotation='1 0 0 1.82scale='0.75 0.65 0.75translation='-0.575 0.65 -0.3'>
 54 
               <!-- Shape Cannon is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 -->
               <Shape DEF='Cannon'>
 55                      <Appearance USE='CannonColor'/>
 56                      <Extrusion creaseAngle='0.785crossSection='1.00 0.00 0.92 -0.38 0.71 -0.71 0.38 -0.92 0.00 -1.00 -0.38 -0.92 -0.71 -0.71 -0.92 -0.38 -1.00 -0.00 -0.92 0.38 -0.71 0.71 -0.38 0.92 0.00 1.00 0.38 0.92 0.71 0.71 0.92 0.38 1.00 0.00scale='0.1 0.1 0.15 0.15 0.05 0.05spine='0 -1 0 0 -0.5 0 0 1 0'/>
 57                 </Shape>
 58                 <!-- Upright Cannon Position = Translation = -0.575 1.6 -0.8 Rotation = 1 0 0 0.25 -->
 59            </Transform>
 60            <Transform rotation='1 0 0 1.32scale='0.75 0.65 0.75translation='-0.575 1.2 -0.3'>
 61                 <Shape USE='Cannon'/>
 62                 <!-- Upright Cannon position = Translation = -0.575 1.6 -1.4 Rotation = 1 0 0 -0.25 -->
 63            </Transform>
 64            <Transform rotation='1 0 0 1.32scale='0.75 0.65 0.75translation='0.575 1.2 -0.3'>
 65                 <Shape USE='Cannon'/>
 66                 <!-- Upright Cannon Position = Translation = 0.575 1.6 -1.4 Rotation = 1 0 0 -0.25 -->
 67            </Transform>
 68            <Transform rotation='1 0 0 1.82scale='0.75 0.65 0.75translation='0.575 0.65 -0.3'>
 69                 <Shape USE='Cannon'/>
 70                 <!-- Upright Cannon position = Translation = 0.575 1.6 -0.8 Rotation = 1 0 0 0.25 -->
 71            </Transform>
 72       </Scene>
 73  </X3D>
<!--

<!-- -->
<!-- to top DEF nodes index: Cannon, CannonColor, CannonTurret, MyBlueGrey
-->
X3D Tooltips element index: Appearance, Background, Box, Coordinate, Extrusion, head, IndexedFaceSet, Material, meta, Scene, Shape, Sphere, 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/Robots/JetFireTransformerToy/RobotHeadIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/Robots/JetFireTransformerToy/RobotHead.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. -->