X3D Model Documentation: AnimatedViewpointRecorderSample.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=' AnimatedViewpointRecorderSample.x3d '/>
  6            <meta name='descriptioncontent='Example output from AnimatedViewpointRecorderExample showing results from four separate, previously computed, animated viewpoint recordings.'/>
  7            <meta name='creatorcontent='Don Brutzman, Ken Curtin, Duane Davis, Christos Kalogrias'/>
  8            <meta name='createdcontent='9 November 2003'/>
  9            <meta name='modifiedcontent='28 November 2019'/>
 10            <meta name='referencecontent=' AnimatedViewpointRecorderPrototype.x3d '/>
 11            <meta name='referencecontent=' AnimatedViewpointRecorderExample.x3d '/>
 12            <meta name='subjectcontent='recording animated viewpoint tour'/>
 13            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/Tools/Authoring/AnimatedViewpointRecorderSample.x3d '/>
 14            <meta name='licensecontent='../../license.html'/>
 15       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: AnimatedViewpointRecorderOrientation0, AnimatedViewpointRecorderPosition0, AnimatedViewpointRecorderTimer0, AnimatedViewpointRecorderViewpoint0, HelloWorld

Index for Viewpoint node: AnimatedViewpointRecorderViewpoint0
-->
 16       <Scene>
 17            <WorldInfo title='AnimatedViewpointRecorderSample.x3d'/>
 18            <Inline DEF='HelloWorld'   url=' "../../../HelloWorld.x3d" "https://www.web3d.org/x3d/content/examples/Basic/HelloWorld.x3d" "../../../HelloWorld.wrl" "https://www.web3d.org/x3d/content/examples/Basic/HelloWorld.wrl" '/>
 19            <!-- ********** start recorded Animated Tour 0 using .x3d syntax ********** -->
 20            <Group>
 21 
               <!-- ROUTE information for AnimatedViewpointRecorderViewpoint0 node:  [from AnimatedViewpointRecorderPosition0.value_changed to position ] [from AnimatedViewpointRecorderOrientation0.value_changed to orientation ] [from bindTime to AnimatedViewpointRecorderTimer0.startTime ] -->
               <Viewpoint DEF='AnimatedViewpointRecorderViewpoint0description='Animated Tour 0orientation='1 0 0 -0.000690534position='0 0.00675263 10'/>
 22                 <!-- samplingInterval=0.1 seconds, default TimeSensor loop=true -->
 23 
               <!-- ROUTE information for AnimatedViewpointRecorderTimer0 node:  [from AnimatedViewpointRecorderViewpoint0.bindTime to startTime ] [from fraction_changed to AnimatedViewpointRecorderPosition0.set_fraction ] [from fraction_changed to AnimatedViewpointRecorderOrientation0.set_fraction ] -->
               <TimeSensor DEF='AnimatedViewpointRecorderTimer0cycleInterval='6.407loop='true'/>
 24 
               <!-- ROUTE information for AnimatedViewpointRecorderPosition0 node:  [from AnimatedViewpointRecorderTimer0.fraction_changed to set_fraction ] [from value_changed to AnimatedViewpointRecorderViewpoint0.position ] -->
               <PositionInterpolator DEF='AnimatedViewpointRecorderPosition0key='0 0.01717 0.03418 0.05135 0.06836 0.08538 0.10254 0.11956 0.13657 0.15374 0.17075 0.18792 0.20493 0.22194 0.23911 0.25613 0.27329 0.29031 0.30732 0.32449 0.3415 0.35851 0.37568 0.3927 0.40986 1keyValue='0 0.00675263 10 0 0.884067 9.96085 0 2.67779 9.63481 0 4.76304 8.79281 0 6.80765 7.32502 0 8.50591 5.25829 0 9.61809 2.73724 0 10 0.00103736 0 9.61675 -2.74195 0 8.48232 -5.29625 0 6.68996 -7.43266 0 4.32236 -9.01761 0 1.62865 -9.86648 0 -1.19496 -9.92834 0 -3.94716 -9.18803 0 -6.3587 -7.71796 0 -8.27764 -5.61075 0 -9.51627 -3.07256 0 -9.99581 -0.289271 0 -9.67145 2.54224 0 -8.57491 5.14498 0 -6.79438 7.33731 0 -4.44863 8.95597 0 -1.76712 9.84261 0 1.0812 9.94136 0 -1 7'/>
 25 
               <!-- ROUTE information for AnimatedViewpointRecorderOrientation0 node:  [from AnimatedViewpointRecorderTimer0.fraction_changed to set_fraction ] [from value_changed to AnimatedViewpointRecorderViewpoint0.orientation ] -->
               <OrientationInterpolator DEF='AnimatedViewpointRecorderOrientation0key='0 0.01717 0.03418 0.05135 0.06836 0.08538 0.10254 0.11956 0.13657 0.15374 0.17075 0.18792 0.20493 0.22194 0.23911 0.25613 0.27329 0.29031 0.30732 0.32449 0.3415 0.35851 0.37568 0.3927 0.40986 1keyValue='1 0 0 -0.000690534 1 0 0 -0.0885223 1 0 0 -0.271086 1 0 0 -0.496447 1 0 0 -0.748806 1 0 0 -1.01711 1 0 0 -1.29353 1 0 0 -1.57069 1 0 0 -1.84855 1 0 0 -2.12895 1 0 0 -2.40873 1 0 0 -2.69462 1 0 0 -2.978 1 0 -0 -3.26137 1 0 -0 -3.54735 1 0 -0 -3.83073 1 0 -0 -4.1167 1 0 -0 -4.40008 1 0 -0 -4.68346 1 0 -0 -4.96943 1 0 -0 -5.25281 1 0 -0 -5.53619 1 0 -0 -5.82216 1 0 -0 -6.10554 -1 0 0 -6.17486 1 0 0 -0'/>
 26                 <Group>
 27                      < ROUTE  fromNode='AnimatedViewpointRecorderViewpoint0' fromField='bindTime' toNode='AnimatedViewpointRecorderTimer0' toField='startTime'/>
 28                      < ROUTE  fromNode='AnimatedViewpointRecorderTimer0' fromField='fraction_changed' toNode='AnimatedViewpointRecorderPosition0' toField='set_fraction'/>
 29                      < ROUTE  fromNode='AnimatedViewpointRecorderTimer0' fromField='fraction_changed' toNode='AnimatedViewpointRecorderOrientation0' toField='set_fraction'/>
 30                      < ROUTE  fromNode='AnimatedViewpointRecorderPosition0' fromField='value_changed' toNode='AnimatedViewpointRecorderViewpoint0' toField='position'/>
 31                      < ROUTE  fromNode='AnimatedViewpointRecorderOrientation0' fromField='value_changed' toNode='AnimatedViewpointRecorderViewpoint0' toField='orientation'/>
 32                 </Group>
 33            </Group>
 34       </Scene>
 35  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: AnimatedViewpointRecorderOrientation0, AnimatedViewpointRecorderPosition0, AnimatedViewpointRecorderTimer0, AnimatedViewpointRecorderViewpoint0, HelloWorld

Index for Viewpoint node: AnimatedViewpointRecorderViewpoint0
-->
X3D Tooltips element index: Group, head, Inline, meta, OrientationInterpolator, PositionInterpolator, ROUTE, Scene, TimeSensor, Viewpoint, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

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

     
The following ROUTE chain begins an event-routing loop! Loop occurs at nodeDepth=4.
 
ROUTE AnimatedViewpointRecorderViewpoint0.bindTime TO AnimatedViewpointRecorderTimer0.startTime
AnimatedViewpointRecorderViewpoint0
Viewpoint
bindTime
SFTime

ROUTE
event to
(1)
AnimatedViewpointRecorderTimer0
TimeSensor
startTime
SFTime
then
 
 
 
AnimatedViewpointRecorderTimer0
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(2)
AnimatedViewpointRecorderPosition0
PositionInterpolator
set_fraction
SFFloat
then
 
 
 
AnimatedViewpointRecorderPosition0
PositionInterpolator
value_changed
SFVec3f

ROUTE
event to
(3)
AnimatedViewpointRecorderViewpoint0
Viewpoint
position
SFVec3f
then
 
 
 
AnimatedViewpointRecorderViewpoint0
Viewpoint
bindTime
SFTime

ROUTE
event to
(4)
AnimatedViewpointRecorderTimer0
TimeSensor
startTime
SFTime
then
 
 
 
AnimatedViewpointRecorderTimer0
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(5)
AnimatedViewpointRecorderPosition0
PositionInterpolator
set_fraction
SFFloat
  then
 
 
 
AnimatedViewpointRecorderTimer0
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(5)
AnimatedViewpointRecorderOrientation0
OrientationInterpolator
set_fraction
SFFloat
  then
 
 
 
AnimatedViewpointRecorderTimer0
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(2)
AnimatedViewpointRecorderOrientation0
OrientationInterpolator
set_fraction
SFFloat
then
 
 
 
AnimatedViewpointRecorderOrientation0
OrientationInterpolator
value_changed
SFRotation

ROUTE
event to
(3)
AnimatedViewpointRecorderViewpoint0
Viewpoint
orientation
SFRotation
then
 
 
 
AnimatedViewpointRecorderViewpoint0
Viewpoint
bindTime
SFTime

ROUTE
event to
(4)
AnimatedViewpointRecorderTimer0
TimeSensor
startTime
SFTime
then
 
 
 
AnimatedViewpointRecorderTimer0
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(5)
AnimatedViewpointRecorderPosition0
PositionInterpolator
set_fraction
SFFloat
  then
 
 
 
AnimatedViewpointRecorderTimer0
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(5)
AnimatedViewpointRecorderOrientation0
OrientationInterpolator
set_fraction
SFFloat


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/Tools/Authoring/AnimatedViewpointRecorderSampleIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/Tools/Authoring/AnimatedViewpointRecorderSample.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. -->