X3D Model Documentation: DragonFly.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=' DragonFly.x3d '/>
  6            <meta name='descriptioncontent='Dragon Fly to fly in the playround with sound effect.'/>
  7            <meta name='creatorcontent='Kok Keng Ng'/>
  8            <meta name='createdcontent='22 August 2002'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='rightscontent='You may reuse my creation without any constraint!'/>
 11            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/DragonFly.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: DRAGONFLYBody, DRAGONFLYTx, EYE, EYEApp, LEFTWings, WING, WingSound

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2
-->
 15       <Scene>
 16            <WorldInfo title='DragonFly.x3d'/>
 17            <Transform DEF='DRAGONFLYTx'>
 18                 <Group DEF='DRAGONFLYBody'>
 19                      <Transform translation='0 0 0.5'>
 20 
                         <!-- Shape EYE is a DEF node that has 1 USE node: USE_1 -->
                         <Shape DEF='EYE'>
 21                                <Sphere radius='0.55'/>
 22                                <Appearance>
 23                                     <Material diffuseColor='0.1 0.1 0.1'/>
 24                                </Appearance>
 25                           </Shape>
 26                      </Transform>
 27                      <Transform translation='0 0 -0.5'>
 28                           <Shape USE='EYE'/>
 29                      </Transform>
 30                      <Transform>
 31                           <Group>
 32                                <Transform>
 33                                     <Shape>
 34                                          <Sphere radius='0.37'/>
 35 
                                        <!-- Appearance EYEApp is a DEF node that has 1 USE node: USE_1 -->
                                        <Appearance DEF='EYEApp'>
 36                                               <Material diffuseColor='0.9 0.1 0.1'/>
 37                                          </Appearance>
 38                                     </Shape>
 39                                </Transform>
 40                                <Transform>
 41                                     <Transform/>
 42                                     <Transform rotation='0 0 1 -1.575translation='5 0 0'>
 43                                          <Shape>
 44                                               <Cone bottomRadius='0.35height='10'/>
 45                                               <Appearance USE='EYEApp'/>
 46                                          </Shape>
 47                                     </Transform>
 48                                </Transform>
 49                           </Group>
 50                      </Transform>
 51                 </Group>
 52                 <Group>
 53                      <Transform>
 54 
                         <!-- Group LEFTWings is a DEF node that has 1 USE node: USE_1 -->
                         <Group DEF='LEFTWings'>
 55                                <Transform>
 56 
                                   <!-- Group WING is a DEF node that has 1 USE node: USE_1 -->
                                   <Group DEF='WING'>
 57                                          <Transform>
 58                                               <Transform rotation='0 1 0 1.575scale='5 0.000001 0.8translation='1.5 0 4.7'>
 59                                                    <Shape>
 60                                                         <Sphere radius='1.2'/>
 61                                                         <Appearance>
 62                                                              <Material diffuseColor='0.9 0.1 0.1transparency='0.8'/>
 63                                                         </Appearance>
 64                                                    </Shape>
 65                                               </Transform>
 66                                          </Transform>
 67                                     </Group>
 68                                </Transform>
 69                                <Transform translation='2 0 0'>
 70                                     <Group USE='WING'/>
 71                                </Transform>
 72                           </Group>
 73                      </Transform>
 74                      <Transform rotation='1 0 0 3.1415'>
 75                           <Group USE='LEFTWings'/>
 76                      </Transform>
 77                 </Group>
 78            </Transform>
 79            <Transform>
 80                 <Sound maxBack='5maxFront='5minBack='0minFront='0'>
 81                      <AudioClip DEF='WingSoundloop='true'   url=' "wings2.wav" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/wings2.wav" '/>
 82                 </Sound>
 83            </Transform>
 84            <Transform/>
 85            <Transform/>
 86            <Transform rotation='0 1 0 1.575'>
 87                 <Viewpoint description='Dragon Fly (Top)orientation='1 0 0 -1.1position='0 3 1.2'/>
 88            </Transform>
 89            <Viewpoint description='Dragon Fly (Side)orientation='1 0 0 -0.87575position='0 20 20'/>
 90            <Transform/>
 91            <Transform/>
 92            <Transform/>
 93            <Background skyColor='0.25 0.5 0.95'/>
 94       </Scene>
 95  </X3D>
<!--

<!-- -->
<!-- to top DEF nodes index: DRAGONFLYBody, DRAGONFLYTx, EYE, EYEApp, LEFTWings, WING, WingSound

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2
-->
X3D Tooltips element index: Appearance, AudioClip, Background, Cone, Group, head, Material, meta, Scene, Shape, Sound, 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/PlayGround/DragonFlyIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/DragonFly.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. -->