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='title' content='OrientationInterpolatorFishExample.x3d'/> |
6 | <meta name='description' content='Run-time modification of fishes position and orientation using PositionInterpolator and OrientationInterpolator.'/> |
7 | <meta name='creator' content='Ildeniz Duman'/> |
8 | <meta name='created' content='1 June 1998'/> |
9 | <meta name='modified' content='20 October 2019'/> |
10 | <meta name='reference' content='https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/KelpForestExhibit/Garibaldi.x3d'/> |
11 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter07EventAnimationInterpolation/OrientationInterpolatorFishExample.x3d'/> |
12 | <meta name='generator' content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/> |
13 | <meta name='license' content='../license.html'/> |
14 | </head> |
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='skinTextureUrl' type='MFString' accessType='inputOutput'/> |
19 | <field name='fishScale' type='SFVec3f' accessType='inputOutput'/> |
20 | <field name='fishColor' type='SFColor' accessType='inputOutput'/> |
21 | <field name='finColor' type='SFColor' accessType='inputOutput'/> |
22 | <field name='positionKey' type='MFFloat' accessType='inputOutput'/> |
23 | <field name='positionKeyValue' type='MFVec3f' accessType='inputOutput'/> |
24 | <field name='orientationKey' type='MFFloat' accessType='inputOutput'/> |
25 | <field name='orientationKeyValue' type='MFRotation' accessType='inputOutput'/> |
26 | <field name='orbitTime' type='SFTime' accessType='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 View' orientation='0.001 1 0.001 2.36' position='1.05 0.01 -0.48'/> |
32 | <ProtoInstance name='CircleFish'> |
33 | <fieldValue name='skinTextureUrl' value=' "GaribaldiPatch.jpg" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/KelpForestExhibit/GaribaldiPatch.jpg"'/> |
34 | <fieldValue name='fishScale' value='1.0 0.39 0.4'/> |
35 | <fieldValue name='finColor' value='0.9 0.66 0.4'/> |
36 | <fieldValue name='fishColor' value='.97 .75 .3'/> |
37 | <fieldValue name='positionKey' value='0.0 0.4 0.7 0.95 1.0'/> |
38 | <fieldValue name='positionKeyValue' value='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='orientationKey' value='0.0 .33 .67 1.0'/> |
40 | <fieldValue name='orientationKeyValue' value='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='orbitTime' value='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> |
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. |
<!--
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>
-->
<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->