<?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 profile='Immersive' version='3.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='http://www.web3d.org/specifications/x3d-3.0.xsd'>
  <head>
    <meta content='http://www.nist.gov/vrml.html' name='reference'/>
    <meta content='http://xsun.sdct.itl.nist.gov/~mkass/vts/html/vrml.html' name='reference'/>
    <meta content='http://www.itl.nist.gov/div897/ctg/vrml/members.html' name='creator'/>
    <meta content='jumpcut_collision.x3d' name='title'/>
    <meta content='This file was provided by the National Institute of Standards and Technology, and is part of the X3D Conformance Test Suite, available at http://www.nist.gov/vrml.html The information contained within this file is provided for use in establishing conformance to the ISO VRML97 Specification. Conformance to this test does not imply recommendation or endorsement by the National Institute of Standards and Technology. This software can be redistributed and/or modified freely provided that any derivative works bear some notice that they are derived from it, and any modified versions bear some notice that they have been modified.' name='disclaimer'/>
    <meta content='Michael Kass NIST, Don Brutzman NPS' name='translator'/>
    <meta content='21 January 2001' name='translated'/>
    <meta content='23 January 2011' name='modified'/>
    <meta content='Test jumpcut transition with a Collision node. This world contains a collision node that should NOT send events during a jumpcut. The initial Viewpoint in this world is in front of a red Box geometry. A second Viewpoint exists BEHIND the red Box geometry. Indicating the Box with the pointing device should cause a "jumpcut" from the front to rear Viewpoint. During this jumcput, collision detection should be disabled. As a result, the Box geometry should remain a red color, indicating that no collision detection took place during the jumpcut. If the red Box turns yellow, then that indicates that collision detection occured during the jumpcut, and the browser fails the test.' name='description'/>
    <meta content='http://www.web3d.org/x3d/content/examples/ConformanceNist/BindableNodes/Viewpoint/jumpcut_collision.x3d' name='identifier'/>
    <meta content='Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html' name='generator'/>
    <meta content='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit' name='generator'/>
    <meta content='../../license.html' name='license'/>
  </head>
  <Scene>
    <NavigationInfo type='"EXAMINE" "WALK" "FLY" "ANY"'/>
    <Background groundAngle='1.57' groundColor='0 0.5 0 0 0.5 0' skyColor='0 0 1'/>
    <Viewpoint DEF='VIEW1' description='Front View' position='0 0 15'/>
    <Viewpoint DEF='VIEW2' description='Behind Origin' position='0 0 -20'/>
    <TimeSensor DEF='TIME0' cycleInterval='2'/>
    <ColorInterpolator DEF='COLOR_INTERP' key='0 0.5 1' keyValue='1 1 0 1 1 0 1 1 0'/>
    <TouchSensor DEF='TOUCH' description='touch to activate'/>
    <Collision DEF='COLLIDE1'>
      <Transform DEF='TRANS1'>
        <Shape>
          <Appearance>
            <Material DEF='BOX1' diffuseColor='1 0 0'/>
          </Appearance>
          <Box size='3 3 3'/>
        </Shape>
      </Transform>
    </Collision>
    <Transform DEF='TRANS2' translation='0 0 -100'>
      <Shape>
        <Appearance>
          <Material DEF='BOX2' diffuseColor='0 1 1'/>
        </Appearance>
        <Box size='50 50 50'/>
      </Shape>
    </Transform>
    <ROUTE fromField='isOver' fromNode='TOUCH' toField='set_bind' toNode='VIEW2'/>
    <ROUTE fromField='collideTime' fromNode='COLLIDE1' toField='startTime' toNode='TIME0'/>
    <ROUTE fromField='fraction_changed' fromNode='TIME0' toField='set_fraction' toNode='COLOR_INTERP'/>
    <ROUTE fromField='value_changed' fromNode='COLOR_INTERP' toField='set_diffuseColor' toNode='BOX1'/>
  </Scene>
</X3D>
