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='1' name='Geospatial'/> |
6 | <meta name='title' content='A2_AnimatedGeoViewpoint.x3d'/> |
7 | <meta name='creator' content='Martin Reddy SRI, original example'/> |
8 | <meta name='creator' content='Don Brutzman NPS, X3D encoding'/> |
9 | <meta name='created' content='26 June 2000'/> |
10 | <meta name='modified' content='20 October 2019'/> |
11 | <meta name='description' content='Specification example shows animated GeoViewpoint, using GeoPositionInterpolator between latitude/longitude locations for London, Paris, and New York.'/> |
12 | <meta name='reference' content='http://www.geovrml.org/1.0/doc/examples.html'/> |
13 | <meta name='reference' content='originals/viewanim.wrl'/> |
14 | <meta name='reference' content='VRML 97 encoding http://www.geovrml.org/1.0/doc/examples/viewanim.wrl'/> |
15 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/Basic/Geospatial/A2_AnimatedGeoViewpoint.x3d'/> |
16 | <meta name='generator' content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/> |
17 | <meta name='license' content='../license.html'/> |
18 | </head> |
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='V' description='Animating GeoViewpoint' orientation='1 0 0 -1.57' position='51.5122 -0.065 10000000' containerField='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.05' geoGridOrigin='-90 -180 0' xDimension='11' xSpacing='36' zDimension='11' zSpacing='18' height='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='GPI' key='0.0 0.1 0.55 1.0' keyValue='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='TS' cycleInterval='8.0' loop='true'/> |
32 | <Background groundColor='0.3 0.3 0.3' skyColor='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 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 |
GPI
GeoPositionInterpolator set_fraction SFFloat |
then
|
GPI
GeoPositionInterpolator geovalue_changed SFVec3d |
V
GeoViewpoint set_position SFVec3d |
<!--
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)
-->
<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->