X3D Model Documentation: A2_AnimatedGeoViewpoint.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            <component level='1name='Geospatial'/>
  6            <meta name='titlecontent='A2_AnimatedGeoViewpoint.x3d'/>
  7            <meta name='creatorcontent='Martin Reddy SRI, original example'/>
  8            <meta name='creatorcontent='Don Brutzman NPS, X3D encoding'/>
  9            <meta name='createdcontent='26 June 2000'/>
 10            <meta name='modifiedcontent='20 October 2019'/>
 11            <meta name='descriptioncontent='Specification example shows animated GeoViewpoint, using GeoPositionInterpolator between latitude/longitude locations for London, Paris, and New York.'/>
 12            <meta name='referencecontent='http://www.geovrml.org/1.0/doc/examples.html'/>
 13            <meta name='referencecontent='originals/viewanim.wrl'/>
 14            <meta name='referencecontent='VRML 97 encoding http://www.geovrml.org/1.0/doc/examples/viewanim.wrl'/>
 15            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/Basic/Geospatial/A2_AnimatedGeoViewpoint.x3d'/>
 16            <meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
 17            <meta name='licensecontent='../license.html'/>
 18       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->

<!-- to top Index for DEF nodes: GPI, TS, V
-->
 19       <Scene>
 20            <WorldInfo title='A2_AnimatedGeoViewpoint.x3d'/>
 21            <Group>
 22 
               <!-- ROUTE information for V node:  [from GPI.geovalue_changed to set_position ] -->
               <GeoViewpoint DEF='Vdescription='Animating GeoViewpointorientation='1 0 0 -1.57position='51.5122 -0.065 10000000containerField='children'/>
 23                 <Shape>
 24                      <Appearance>
 25                           <Material diffuseColor='0.8 1.0 0.3'/>
 26                           <ImageTexture   url=' "images/earth.jpg " "https://www.web3d.org/x3d/content/examples/Basic/images/earth.jpg " "http://www.geovrml.org/1.0/doc/images/earth.jpg " '/>
 27                      </Appearance>
 28                      <GeoElevationGrid creaseAngle='1.05geoGridOrigin='-90 -180 0xDimension='11xSpacing='36zDimension='11zSpacing='18height='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0'/>
 29                 </Shape>
 30 
               <!-- ROUTE information for GPI node:  [from TS.fraction_changed to set_fraction ] [from geovalue_changed to V.set_position ] -->
               <GeoPositionInterpolator DEF='GPIkey='0.0 0.1 0.55 1.0keyValue='51.5122 -0.065 10000000 48.865 2.35 10000000 40.6698 -73.943849 10000000 51.5122 -0.065 10000000'/>
 31 
               <!-- ROUTE information for TS node:  [from fraction_changed to GPI.set_fraction ] -->
               <TimeSensor DEF='TScycleInterval='8.0loop='true'/>
 32                 <Background groundColor='0.3 0.3 0.3skyColor='0.3 0.3 0.3'/>
 33            </Group>
 34            < ROUTE  fromNode='TS' fromField='fraction_changed' toNode='GPI' toField='set_fraction'/>
 35            < ROUTE  fromNode='GPI' fromField='geovalue_changed' toNode='V' toField='set_position'/>
 36       </Scene>
 37  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->

<!-- to top Index for DEF nodes: GPI, TS, V
-->
X3D Tooltips element index: Appearance, Background, component, GeoElevationGrid, GeoPositionInterpolator, GeoViewpoint, Group, head, ImageTexture, Material, meta, ROUTE, Scene, Shape, TimeSensor, WorldInfo, X3D, accessType and type, XML data types, field types

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

TS
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(1)
GPI
GeoPositionInterpolator
set_fraction
SFFloat
then
 
 
 
GPI
GeoPositionInterpolator
geovalue_changed
SFVec3d

ROUTE
event to
(2)
V
GeoViewpoint
set_position
SFVec3d
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/Basic/Geospatial/A2_AnimatedGeoViewpointIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Basic/Geospatial/A2_AnimatedGeoViewpoint.x3d -->

<!-- Color legend: X3D terminology <X3dNode DEF='idName' field='value'/> matches XML terminology <XmlElement DEF='idName' attribute='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. -->