<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
<X3D profile='Interactive' version='3.3 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation =' https://www.web3d.org/specifications/x3d-3.3.xsd '>
<head>
<meta name='titlecontent='Nested.x3d'/>
<meta name='descriptioncontent='Multiple nested sensors: this world illustrates the use of nested sensors where one sensor covers shapes in an inner Transform group, and another sensor covers shapes in an outer Transform group.'/>
<meta name='creatorcontent='John L. Moreland'/>
<meta name='translatorcontent='Don Brutzman'/>
<meta name='createdcontent='1 July 1998'/>
<meta name='translatedcontent='2 February 2014'/>
<meta name='modifiedcontent='20 October 2019'/>
<meta name='referencecontent='originals/nested.wrl'/>
<meta name='referencecontent=' http://www.siggraph.org/s98 '/>
<meta name='referencecontent=' http://www.siggraph.org/s98/conference/courses/18.html '/>
<meta name='referencecontent=' http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/slides/mt0172.htm '/>
<meta name='referencecontent=' http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/vrml97.htm '/>
<meta name='referencecontent=' https://www.web3d.org/x3d/content/examples/X3dResources.html '/>
<meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Nested.x3d '/>
<meta name='generatorcontent='Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html'/>
<meta name='generatorcontent='X3D-Edit, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../license.html'/>
</head>
<!--

Index for DEF nodes : Appear, Block, Segment1Ss, Segment1Tf, Segment2Ss, Segment2Tf, TopTf

Index for Viewpoint image : Viewpoint_1
-->
<Scene>
<WorldInfo info='"Copyright (c) 1998, John L. Moreland"title='Nested sensors'/>
<NavigationInfo/>
<Viewpoint description='Entry vieworientation='1.0 0.0 0.0 -0.25position='0.0 1.0 2.0'/>
<Transform DEF='TopTfbboxCenter='0 0 0bboxSize='-1 -1 -1'>
<!-- ROUTE information for Segment1Tf node:  [from Segment1Ss.rotation_changed to set_rotation ] -->
<Transform DEF='Segment1Tfcenter='0.0 -0.25 0.0translation='0.0 0.25 0.0bboxCenter='0 0 0bboxSize='-1 -1 -1'>
<!-- ROUTE information for Segment1Ss node:  [from rotation_changed to Segment1Tf.set_rotation ] -->
<SphereSensor DEF='Segment1Ss'/>
<Transform DEF='Blockscale='0.1 0.5 0.1bboxCenter='0 0 0bboxSize='-1 -1 -1'>
<Shape bboxCenter='0 0 0bboxSize='-1 -1 -1'>
<Appearance DEF='Appear'>
<Material diffuseColor='1.0 1.0 0.0'/>
</Appearance>
<Sphere radius='0.5'/>
</Shape>
</Transform>
<Transform translation='0.0 0.25 0.0bboxCenter='0 0 0bboxSize='-1 -1 -1'>
<Shape bboxCenter='0 0 0bboxSize='-1 -1 -1'>
<Appearance USE='Appear'/>
<Sphere radius='0.05'/>
</Shape>
</Transform>
<!-- ROUTE information for Segment2Tf node:  [from Segment2Ss.rotation_changed to set_rotation ] -->
<Transform DEF='Segment2Tfcenter='0.0 0.25 0.0bboxCenter='0 0 0bboxSize='-1 -1 -1'>
<!-- ROUTE information for Segment2Ss node:  [from rotation_changed to Segment2Tf.set_rotation ] -->
<SphereSensor DEF='Segment2Ss'/>
<Transform translation='0.0 0.5 0.0bboxCenter='0 0 0bboxSize='-1 -1 -1'>
<Transform USE='Block'/>
</Transform>
</Transform>
</Transform>
</Transform>
<ROUTE fromNode='Segment1SsfromField='rotation_changedtoNode='Segment1TftoField='set_rotation'/>
<ROUTE fromNode='Segment2SsfromField='rotation_changedtoNode='Segment2TftoField='set_rotation'/>
<Shape bboxCenter='0 0 0bboxSize='-1 -1 -1'>
<Appearance>
<Material/>
</Appearance>
<Box size='2.0 0.02 2.0solid='true'/>
</Shape>
</Scene>
</X3D>
<!--

Index for DEF nodes : Appear, Block, Segment1Ss, Segment1Tf, Segment2Ss, Segment2Tf, TopTf

Index for Viewpoint image : Viewpoint_1
-->

<!-- Color key: <X3dNode DEF='idName' field='value'/> matches <XmlElement DEF='idName' attribute='value'/>
(Light blue background: behavior node) (Grey background: inserted documentation) (Magenta background: X3D Extensibility)
-->

<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources and X3D Scene Authoring Hints. -->