X3D Model Documentation: TurkishFlag.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=' TurkishFlag.x3d '/>
  6            <meta name='descriptioncontent='Waving Turkish Flag'/>
  7            <meta name='creatorcontent='Ozan APAYDIN'/>
  8            <meta name='createdcontent='8 August 2001'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/FrigateYavuzTurkey/TurkishFlag.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>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: Flag, FlagCoor, MoveFlag, timer

Index for Viewpoint node: Viewpoint_1
-->
 14       <Scene>
 15            <WorldInfo title='TurkishFlag.x3d'/>
 16            <Viewpoint description='FlagViewposition='0 0 20'/>
 17            <Group>
 18                 <Transform translation='-2.5 -2.0 0.0'>
 19                      <Shape>
 20                           <IndexedFaceSet DEF='Flagconvex='falsesolid='falsecoordIndex='0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 0'>
 21 
                              <!-- ROUTE information for FlagCoor node:  [from MoveFlag.value_changed to set_point ] -->
                              <Coordinate DEF='FlagCoorpoint='0.0 0.0 0.0 0.5 0.0 0.0 1.0 0.0 0.0 1.5 0.0 0.0 2.0 0.0 0.0 2.5 0.0 0.0 3.0 0.0 0.0 3.5 0.0 0.0 4.0 0.0 0.0 4.5 0.0 0.0 5.0 0.0 0.0 5.5 0.0 0.0 6.0 0.0 0.0 6.5 0.0 0.0 7.0 0.0 0.0 7.5 0.0 0.0 7.5 0.5 0.0 7.5 1.0 0.0 7.5 1.5 0.0 7.5 2.0 0.0 7.5 2.5 0.0 7.5 3.0 0.0 7.5 3.5 0.0 7.5 4.0 0.0 7.5 4.5 0.0 7.5 5.0 0.0 7.0 5.0 0.0 6.5 5.0 0.0 6.0 5.0 0.0 5.5 5.0 0.0 5.0 5.0 0.0 4.5 5.0 0.0 4.0 5.0 0.0 3.5 5.0 0.0 3.0 5.0 0.0 2.5 5.0 0.0 2.0 5.0 0.0 1.5 5.0 0.0 1.0 5.0 0.0 0.5 5.0 0.0 0.0 5.0 0.0 0.0 4.5 0.0 0.0 4.0 0.0 0.0 3.5 0.0 0.0 3.0 0.0 0.0 2.5 0.0 0.0 2.0 0.0 0.0 1.5 0.0 0.0 1.0 0.0 0.0 0.5 0.0'/>
 22                           </IndexedFaceSet>
 23                           <Appearance>
 24                                <Material shininess='0.8'/>
 25                                <ImageTexture repeatS='falserepeatT='false'   url=' "TurkishFlag.gif " "https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/FrigateYavuzTurkey/TurkishFlag.gif " '/>
 26                                <TextureTransform scale='1.0 1.3translation='0.0 0.05'/>
 27                           </Appearance>
 28                      </Shape>
 29                      <Shape>
 30                           <IndexedFaceSet solid='falsecoordIndex='0 1 2 3 0'>
 31                                <Coordinate point='-0.3 0.0 0.0 0.0 0.0 0.0 0.0 5.0 0.0 -0.3 5.0 0.0'/>
 32                           </IndexedFaceSet>
 33                           <Appearance>
 34                                <Material diffuseColor='1.0 1.0 1.0'/>
 35                           </Appearance>
 36                      </Shape>
 37 
                    <!-- ROUTE information for timer node:  [from fraction_changed to MoveFlag.set_fraction ] -->
                    <TimeSensor DEF='timercycleInterval='4.0loop='true'/>
 38 
                    <!-- ROUTE information for MoveFlag node:  [from timer.fraction_changed to set_fraction ] [from value_changed to FlagCoor.set_point ] -->
                    <CoordinateInterpolator DEF='MoveFlagkey='0.0 0.25 0.5 0.75 1.0keyValue='0.0 0.0 0.0 0.5 0.0 0.87 1.0 0.0 1.0 1.5 0.0 0.87 2.0 0.0 0.0 2.5 0.0 -0.87 3.0 0.0 -1.0 3.5 0.0 -0.87 4.0 0.0 0.0 4.5 0.0 0.87 5.0 0.0 1.0 5.5 0.0 0.87 6.0 0.0 0.0 6.5 0.0 -0.87 7.0 0.0 -1.0 7.5 0.0 -0.87 7.5 0.5 -0.87 7.5 1.0 -0.87 7.5 1.5 -0.87 7.5 2.0 -0.87 7.5 2.5 -0.87 7.5 3.0 -0.87 7.5 3.5 -0.87 7.5 4.0 -0.87 7.5 4.5 -0.87 7.5 5.0 -0.87 7.0 5.0 -1.0 6.5 5.0 -0.87 6.0 5.0 0.0 5.5 5.0 0.87 5.0 5.0 1.0 4.5 5.0 0.87 4.0 5.0 0.0 3.5 5.0 -0.87 3.0 5.0 -1.0 2.5 5.0 -0.87 2.0 5.0 0.0 1.5 5.0 0.87 1.0 5.0 1.0 0.5 5.0 0.87 0.0 5.0 0.0 0.0 4.5 0.0 0.0 4.0 0.0 0.0 3.5 0.0 0.0 3.0 0.0 0.0 2.5 0.0 0.0 2.0 0.0 0.0 1.5 0.0 0.0 1.0 0.0 0.0 0.5 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.5 0.0 -0.87 1.0 0.0 -1.0 1.5 0.0 -0.87 2.0 0.0 0.0 2.5 0.0 0.87 3.0 0.0 1.0 3.5 0.0 0.87 4.0 0.0 0.0 4.5 0.0 -0.87 5.0 0.0 -1.0 5.5 0.0 -0.87 6.0 0.0 0.0 6.5 0.0 0.87 7.0 0.0 1.0 7.5 0.0 0.87 7.5 0.5 0.87 7.5 1.0 0.87 7.5 1.5 0.87 7.5 2.0 0.87 7.5 2.5 0.87 7.5 3.0 0.87 7.5 3.5 0.87 7.5 4.0 0.87 7.5 4.5 0.87 7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.87 1.0 5.0 1.0 0.5 5.0 0.87 0.0 5.0 0.0 0.0 4.5 0.0 0.0 4.0 0.0 0.0 3.5 0.0 0.0 3.0 0.0 0.0 2.5 0.0 0.0 2.0 0.0 0.0 1.5 0.0 0.0 1.0 0.0 0.0 0.5 0.0 0.0 0.0 0.0'/>
 39                 </Transform>
 40            </Group>
 41            < ROUTE  fromNode='timer' fromField='fraction_changed' toNode='MoveFlag' toField='set_fraction'/>
 42            < ROUTE  fromNode='MoveFlag' fromField='value_changed' toNode='FlagCoor' toField='set_point'/>
 43       </Scene>
 44  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: Flag, FlagCoor, MoveFlag, timer

Index for Viewpoint node: Viewpoint_1
-->
X3D Tooltips element index: Appearance, Coordinate, CoordinateInterpolator, Group, head, ImageTexture, IndexedFaceSet, Material, meta, ROUTE, Scene, Shape, TextureTransform, TimeSensor, Transform, Viewpoint, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

Event Graph ROUTE Table entries with 2 ROUTE connections total, showing X3D event-model relationships for this scene.

Each row shows an event cascade that may occur during a single timestamp interval between frame renderings, as part of the X3D execution model.

timer
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(1)
MoveFlag
CoordinateInterpolator
set_fraction
SFFloat
then
 
 
 
MoveFlag
CoordinateInterpolator
value_changed
MFVec3f

ROUTE
event to
(2)
FlagCoor
Coordinate
set_point
MFVec3f

Additional guidance on X3D animation can be found in the 10-Step Animation Design Process and Event Tracing hint sheets. Have fun with X3D! 😀

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/FrigateYavuzTurkey/TurkishFlagIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/FrigateYavuzTurkey/TurkishFlag.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. -->