<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN"   "http://www.web3d.org/specifications/x3d-3.0.dtd">
<X3D version='3.0profile='Immersivexmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation=' http://www.web3d.org/specifications/x3d-3.0.xsd '>
<head>
<meta name='titlecontent='TestViewpointJump.x3d'/>
<meta name='descriptioncontent='Conformance Test for Viewpoint: immediate switching (jump=true) and smooth animation (jump=false). Press PgUp/PgDn or touch geometry to change viewpoints.'/>
<meta name='warningcontent='Cosmo Player 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='creatorcontent='Jeffrey Weekley and Don Brutzman'/>
<meta name='createdcontent='25 July 2001'/>
<meta name='modifiedcontent='13 March 2005'/>
<meta name='versioncontent='1.0'/>
<meta name='referencecontent=' http://www.web3d.org/technicalinfo/specifications/vrml97/part1/nodesRef.html#Viewpoint '/>
<meta name='subjectcontent='Viewpoint conformance test'/>
<meta name='identifiercontent=' http://www.web3d.org/x3d/content/examples/Basic/development/TestViewpointJump.x3d '/>
<meta name='generatorcontent='X3D-Edit, http://www.web3d.org/x3d/content/README.X3D-Edit.html'/>
<meta name='licensecontent='../../license.html'/>
</head>
<!--

Index for DEF nodes: Box, BoxTouchSensor, Cone, ConeTouchSensor, ConeView, CubeView, Cylinder, CylinderTouchSensor, CylinderView, Geometry, Sphere, SphereTouchSensor, SphereView
-->
<Scene>
<Viewpoint description='Initial viewpoint, default jump (jump true)position='0 0 7.5'/>
<!-- ConeView ROUTE:  [from ConeTouchSensor.isActive to set_bind ] -->
<Viewpoint DEF='ConeViewdescription='Red Cone (jump true)orientation='0 -1 0 1position='-4.6 1.4 1.9'/>
<!-- SphereView ROUTE:  [from SphereTouchSensor.isActive to set_bind ] -->
<Viewpoint DEF='SphereViewdescription='Blue Sphere (jump false)jump='falseorientation='0 1 0 .7572position='4.7 -1.2 3.3'/>
<!-- CubeView ROUTE:  [from BoxTouchSensor.isActive to set_bind ] -->
<Viewpoint DEF='CubeViewdescription='Magenta Cube (jump true)orientation='0 -1 0 1.0529position=' -6.1 -1.5 2.7'/>
<!-- CylinderView ROUTE:  [from CylinderTouchSensor.isActive to set_bind ] -->
<Viewpoint DEF='CylinderViewdescription='White Cylinder (jump false)jump='falseorientation='0 1 0 1position='5.6 1.4 2.8'/>
<Group DEF='Geometry'>
<Transform DEF='Boxtranslation='-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"solid='true'>
<FontStyle justify='"MIDDLE" "MIDDLE"size='0.25'/>
</Text>
<Appearance>
<Material diffuseColor='0.4 0.8 0.6shininess='0.8'/>
</Appearance>
</Shape>
</Billboard>
</Transform>
<!-- BoxTouchSensor ROUTE:  [from isActive to CubeView.set_bind ] -->
<TouchSensor DEF='BoxTouchSensordescription='click to bind this viewpoint'/>
<ROUTE fromNode='BoxTouchSensorfromField='isActivetoNode='CubeViewtoField='set_bind'/>
</Transform>
<Transform DEF='Spheretranslation='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"solid='true'>
<FontStyle justify='"MIDDLE" "MIDDLE"size='0.25'/>
</Text>
<Appearance>
<Material diffuseColor='0.4 0.8 0.6shininess='0.8'/>
</Appearance>
</Shape>
</Billboard>
</Transform>
<!-- SphereTouchSensor ROUTE:  [from isActive to SphereView.set_bind ] -->
<TouchSensor DEF='SphereTouchSensordescription='click for blue sphere viewpoint'/>
<ROUTE fromNode='SphereTouchSensorfromField='isActivetoNode='SphereViewtoField='set_bind'/>
</Transform>
<Transform DEF='Conetranslation='-1.5 1.25 0'>
<Shape>
<Cone bottomRadius='0.5height='1'/>
<Appearance>
<Material diffuseColor='1 0 0'/>
</Appearance>
</Shape>
<Transform translation='0 1 0'>
<Billboard>
<Shape>
<Text string='"Red Cone Viewpoint" "jump=true"solid='true'>
<FontStyle justify='"MIDDLE" "MIDDLE"size='0.25'/>
</Text>
<Appearance>
<Material diffuseColor='0.4 0.8 0.6shininess='0.8'/>
</Appearance>
</Shape>
</Billboard>
</Transform>
<!-- ConeTouchSensor ROUTE:  [from isActive to ConeView.set_bind ] -->
<TouchSensor DEF='ConeTouchSensordescription='click for red cone viewpoint'/>
<ROUTE fromNode='ConeTouchSensorfromField='isActivetoNode='ConeViewtoField='set_bind'/>
</Transform>
<Transform DEF='Cylindertranslation='1.5 1.25 0'>
<Shape>
<Cylinder height='1radius='0.5'/>
<Appearance>
<Material diffuseColor='1 1 1'/>
</Appearance>
</Shape>
<Transform translation='0 1 0'>
<Billboard>
<Shape>
<Text string='"White Cylinder Viewpoint" "jump=false"solid='true'>
<FontStyle justify='"MIDDLE" "MIDDLE"size='0.25'/>
</Text>
<Appearance>
<Material diffuseColor='0.4 0.8 0.6shininess='0.8'/>
</Appearance>
</Shape>
</Billboard>
</Transform>
<!-- CylinderTouchSensor ROUTE:  [from isActive to CylinderView.set_bind ] -->
<TouchSensor DEF='CylinderTouchSensordescription='click for white cylinder viewpoint'/>
<ROUTE fromNode='CylinderTouchSensorfromField='isActivetoNode='CylinderViewtoField='set_bind'/>
</Transform>
</Group>
</Scene>
</X3D>
<!--

Index for DEF nodes: Box, BoxTouchSensor, Cone, ConeTouchSensor, ConeView, CubeView, Cylinder, CylinderTouchSensor, CylinderView, Geometry, Sphere, SphereTouchSensor, SphereView
-->

<!-- Tag color codes: <Node DEF='NodeName' attribute='value'/> -->