X3D Model Documentation: OrientationInterpolatorFishExample.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2  <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
  3  <X3D profile='Immersive' version='3.3 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.3.xsd'>
  4       <head>
  5            <meta name='titlecontent='OrientationInterpolatorFishExample.x3d'/>
  6            <meta name='descriptioncontent='Run-time modification of fishes position and orientation using PositionInterpolator and OrientationInterpolator.'/>
  7            <meta name='creatorcontent='Ildeniz Duman'/>
  8            <meta name='createdcontent='1 June 1998'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='referencecontent='https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/KelpForestExhibit/Garibaldi.x3d'/>
 11            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter07EventAnimationInterpolation/OrientationInterpolatorFishExample.x3d'/>
 12            <meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
 13            <meta name='licensecontent='../license.html'/>
 14       </head>
<!--

<!-- to top Index for DEF node:

Index for Viewpoint node: Viewpoint_1

Index for ExternProtoDeclare definitions: CircleFish, WhereAmI
-->
 15       <Scene>
 16            <WorldInfo title='OrientationInterpolatorFishExample.x3d'/>
 17            <ExternProtoDeclare name='CircleFish'   url=' "OrientationInterpolatorFishPrototype.x3d#CircleFish" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter07EventAnimationInterpolation/OrientationInterpolatorFishPrototype.x3d#CircleFish" "OrientationInterpolatorPrototype.wrl#CircleFish" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter07EventAnimationInterpolation/OrientationInterpolatorPrototype.wrl#CircleFish" '>
 18                 <field name='skinTextureUrltype='MFStringaccessType='inputOutput'/>
 19                 <field name='fishScaletype='SFVec3faccessType='inputOutput'/>
 20                 <field name='fishColortype='SFColoraccessType='inputOutput'/>
 21                 <field name='finColortype='SFColoraccessType='inputOutput'/>
 22                 <field name='positionKeytype='MFFloataccessType='inputOutput'/>
 23                 <field name='positionKeyValuetype='MFVec3faccessType='inputOutput'/>
 24                 <field name='orientationKeytype='MFFloataccessType='inputOutput'/>
 25                 <field name='orientationKeyValuetype='MFRotationaccessType='inputOutput'/>
 26                 <field name='orbitTimetype='SFTimeaccessType='inputOutput'/>
 27            </ExternProtoDeclare>
 28            <ExternProtoDeclare name='WhereAmI'   url=' "../Chapter14Prototypes/WhereAmIPrototype.x3d#WhereAmI" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter14Prototypes/WhereAmIPrototype.x3d#WhereAmI" "../Chapter14Prototypes/WhereAmIPrototype.wrl#WhereAmI" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter14Prototypes/WhereAmI.wrl#WhereAmI" '/>
 29            <ProtoInstance name='WhereAmI'/>
 30            <Background skyColor='1 1 1'/>
 31            <Viewpoint description='Book Vieworientation='0.001 1 0.001 2.36position='1.05 0.01 -0.48'/>
 32            <ProtoInstance name='CircleFish'>
 33                 <fieldValue name='skinTextureUrlvalue=' "GaribaldiPatch.jpg" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/KelpForestExhibit/GaribaldiPatch.jpg"'/>
 34                 <fieldValue name='fishScalevalue='1.0 0.39 0.4'/>
 35                 <fieldValue name='finColorvalue='0.9 0.66 0.4'/>
 36                 <fieldValue name='fishColorvalue='.97 .75 .3'/>
 37                 <fieldValue name='positionKeyvalue='0.0 0.4 0.7 0.95 1.0'/>
 38                 <fieldValue name='positionKeyValuevalue='0.0 0.0 0.0 0.5 0.0 0.0 0.0 0.0 0.0 0.5 0.0 0.0 0.2 0.0 0.0'/>
 39                 <fieldValue name='orientationKeyvalue='0.0 .33 .67 1.0'/>
 40                 <fieldValue name='orientationKeyValuevalue='0.0 1.0 0.0 90 0.0 1.0 0.0 60 0.0 1.0 0.0 120 0.0 1.0 0.0 90'/>
 41                 <fieldValue name='orbitTimevalue='80.0'/>
 42            </ProtoInstance>
 43            <Transform>
 44                 <Shape>
 45                      <Appearance>
 46                           <Material emissiveColor='0.8 0.8 0.8'/>
 47                      </Appearance>
 48                      <IndexedLineSet coordIndex='0 1 2 3 4 0 -1'>
 49                           <Coordinate point='0.0 0.0 0.0 0.5 0.0 0.0 0.0 0.0 0.0 0.5 0.0 0.0 0.2 0.0 0.0'/>
 50                      </IndexedLineSet>
 51                 </Shape>
 52            </Transform>
 53       </Scene>
 54  </X3D>
<!--

<!-- to top Index for DEF node:

Index for Viewpoint node: Viewpoint_1

Index for ExternProtoDeclare definitions: CircleFish, WhereAmI
-->
X3D Tooltips element index: Appearance, Background, Coordinate, ExternProtoDeclare, field, fieldValue, head, IndexedLineSet, Material, meta, ProtoInstance, Scene, Shape, Transform, Viewpoint, WorldInfo, X3D, accessType and type, XML data types, field types

Event Graph ROUTE Table with 0 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.


ProtoInstance
WhereAmI
No ROUTE connection found for output events from this node.
This ProtoInstance contains SFNode/MFNode fieldValue declarations with
direct access to other nodes, and thus has potential to produce run-time animation. 


ProtoInstance
CircleFish
No ROUTE connection found for output events from this node.
This ProtoInstance contains SFNode/MFNode fieldValue declarations with
direct access to other nodes, and thus has potential to produce run-time animation. 
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/X3dForWebAuthors/Chapter07EventAnimationInterpolation/OrientationInterpolatorFishExampleIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter07EventAnimationInterpolation/OrientationInterpolatorFishExample.x3d -->

<!-- Color legend: X3D terminology <X3dNode field='value'/> matches XML terminology <XmlElement attribute='value'/>
(Light-blue background: event-based behavior node or statement) (Grey background inside box: inserted documentation) (Magenta background: X3D Extensibility)
    <ProtoInstance name='ProtoName'> <field name='fieldName'/> </ProtoInstance> -->

to top <!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->