<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
<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
'
>
<head>
<meta name='title' content='
TestViewpointJump.x3d
'/>
<meta name='description' content='Conformance Test for Viewpoint: immediate switching (jump=true) and smooth animation (jump=false). Press PgUp/PgDn or touch geometry to change viewpoints.'/>
<meta name=' warning ' content=' CosmoPlayer 2.1.1 fails when "Animate transition between viewpoints"
option is turned off. First, try this test by opening the Control Panel, selecting "Animate transition between viewpoints". Use Page Down key to switch between viewpoints. You should smoothly transition between viewpoints. Next, turn the "Animate transition bewtween viewpoints"
option off. Use Page Down key to switch between viewpoints. You should see a jump to the objects labeled "jump=true"
and an animated transition to the objects labeled "jump=false". '/>
<meta name='creator' content='Jeffrey Weekley and Don Brutzman'/>
<meta name='created' content='25 July 2001'/>
<meta name='modified' content='20 October 2019'/>
<meta name='reference' content='
https://www.web3d.org/technicalinfo/specifications/vrml97/part1/nodesRef.html#Viewpoint
'/>
<meta name='subject' content='Viewpoint conformance test'/>
<meta name='identifier' content='
https://www.web3d.org/x3d/content/examples/Basic/development/TestViewpointJump.x3d
'/>
<meta name='generator' content='X3D-Edit 3.3,
https://savage.nps.edu/X3D-Edit'/>
<meta name='license' content='
../license.html'/>
</head>
<!--
<!--
Event Graph ROUTE Table
shows event connections
-->
<!--
Index for DEF nodes:
Box,
BoxTouchSensor,
Cone,
ConeTouchSensor,
ConeView,
CubeView,
Cylinder,
CylinderTouchSensor,
CylinderView,
Geometry,
Sphere,
SphereTouchSensor,
SphereView
Index for Viewpoint nodes:
Viewpoint_1,
ConeView,
CubeView,
CylinderView,
SphereView
-->
<Scene>
<WorldInfo title='TestViewpointJump.x3d'/>
<Viewpoint description='Initial viewpoint, default jump (jump true)' position='0 0 7.5'/>
<!-- default value for field is jump='true' -->
<Group DEF='Geometry'>
<Transform DEF='Box' translation='-1.5 -1.5 0'>
<Shape>
<Box size='1 1 1'/>
<Appearance>
<Material diffuseColor='1 0 1'/>
</Appearance>
</Shape>
<Transform translation='0 1 0'>
<Billboard>
<Shape>
<Text string='"Magenta Cube Viewpoint" "jump=true"'>
<FontStyle justify='"MIDDLE" "MIDDLE"' size='0.25'/>
</Text>
<Appearance>
<Material diffuseColor='0.4 0.8 0.6' shininess='0.8'/>
</Appearance>
</Shape>
</Billboard>
</Transform>
<
ROUTE
fromNode='
BoxTouchSensor' fromField='isActive' toNode='
CubeView' toField='set_bind'/>
</Transform>
<Transform DEF='Sphere' translation='1.5 -1.5 0'>
<Shape>
<Sphere radius='0.5'/>
<Appearance>
<Material diffuseColor='0 0 1'/>
</Appearance>
</Shape>
<Transform translation='0 1 0'>
<Billboard>
<Shape>
<Text string='"Blue Sphere Viewpoint" "jump=false"'>
<FontStyle justify='"MIDDLE" "MIDDLE"' size='0.25'/>
</Text>
<Appearance>
<Material diffuseColor='0.4 0.8 0.6' shininess='0.8'/>
</Appearance>
</Shape>
</Billboard>
</Transform>
<
ROUTE
fromNode='
SphereTouchSensor' fromField='isActive' toNode='
SphereView' toField='set_bind'/>
</Transform>
<Transform DEF='Cone' translation='-1.5 1.25 0'>
<Shape>
<Cone bottomRadius='0.5' height='1'/>
<Appearance>
<Material diffuseColor='1 0 0'/>
</Appearance>
</Shape>
<Transform translation='0 1 0'>
<Billboard>
<Shape>
<Text string='"Red Cone Viewpoint" "jump=true"'>
<FontStyle justify='"MIDDLE" "MIDDLE"' size='0.25'/>
</Text>
<Appearance>
<Material diffuseColor='0.4 0.8 0.6' shininess='0.8'/>
</Appearance>
</Shape>
</Billboard>
</Transform>
<
ROUTE
fromNode='
ConeTouchSensor' fromField='isActive' toNode='
ConeView' toField='set_bind'/>
</Transform>
<Transform DEF='Cylinder' translation='1.5 1.25 0'>
<Shape>
<Cylinder height='1' radius='0.5'/>
<Appearance>
<Material diffuseColor='1 1 1'/>
</Appearance>
</Shape>
<Transform translation='0 1 0'>
<Billboard>
<Shape>
<Text string='"White Cylinder Viewpoint" "jump=false"'>
<FontStyle justify='"MIDDLE" "MIDDLE"' size='0.25'/>
</Text>
<Appearance>
<Material diffuseColor='0.4 0.8 0.6' shininess='0.8'/>
</Appearance>
</Shape>
</Billboard>
</Transform>
<
ROUTE
fromNode='
CylinderTouchSensor' fromField='isActive' toNode='
CylinderView' toField='set_bind'/>
</Transform>
</Group>
</Scene>
</X3D>
<!--
<!--
Event Graph ROUTE Table
shows event connections
-->
<!--
Index for DEF nodes:
Box,
BoxTouchSensor,
Cone,
ConeTouchSensor,
ConeView,
CubeView,
Cylinder,
CylinderTouchSensor,
CylinderView,
Geometry,
Sphere,
SphereTouchSensor,
SphereView
Index for Viewpoint nodes:
Viewpoint_1,
ConeView,
CubeView,
CylinderView,
SphereView
-->
-->
<!--
Online at
https://www.web3d.org/x3d/content/examples/Basic/development/TestViewpointJumpIndex.html
-->
<!--
Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Basic/development/TestViewpointJump.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)
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->