<?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 name='titlecontent='5deepnesting.x3d'/>
<meta name='Imagecontent='5deepnesting-front.jpg'/>
<meta name='referencecontent=' http://www.nist.gov/vrml.html '/>
<meta name='referencecontent=' http://www.itl.nist.gov/div897/ctg/vrml/vrml.html '/>
<meta name='creatorcontent=' http://www.itl.nist.gov/div897/ctg/vrml/members.html '/>
<meta name='disclaimercontent=' 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. '/>
<meta name='infocontent=' Correct definition and compliance of this conformance scene is maintained by the X3D Working Group, http://www.web3d.org/working-groups/x3d '/>
<meta name='translatorcontent='Michael Kass NIST, Don Brutzman NPS'/>
<meta name='translatedcontent='21 January 2001'/>
<meta name='modifiedcontent='4 June 2004'/>
<meta name='revisionscontent='Don Brutzman'/>
<meta name='descriptioncontent='This is a test of browser ability to nest 5 PROTO node within each other. 5 PROTO node, consisting of a "ringshaped" Extrusion geometry are nested, one within the other, within the other. Each Extrusion geometry in each PROTO has a different diffuseColor. The result should appear as 5 ringshaped geometry, with the top ring colored red, below it a blue, then green, then yellow, then a purple ring.'/>
<meta name='identifiercontent=' http://www.web3d.org/x3d/content/examples/ConformanceNist/Miscellaneous/PROTO/5deepnesting.x3d '/>
<meta name='generatorcontent='Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html'/>
<meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../../license.html'/>
</head>
<!--

Index for ProtoDeclare definitions : Proto1, Proto2, Proto3, Proto4, Proto5

Index for DEF nodes : _0, BACK1, BACK2, BACK3, BACK4, BACK5, OAK, TOUCH1, TOUCH2, TOUCH3, TOUCH4, TOUCH5

Index for Viewpoint image : Viewpoint_1
-->
<Scene>
<ProtoDeclare name='Proto1'>
<ProtoBody>
<ProtoDeclare name='Proto2'>
<ProtoBody>
<ProtoDeclare name='Proto3'>
<ProtoBody>
<ProtoDeclare name='Proto4'>
<ProtoBody>
<ProtoDeclare name='Proto5'>
<ProtoBody>
<Group>
<!-- TOUCH5 ROUTE:  [from isOver to BACK5.set_bind ] -->
<TouchSensor DEF='TOUCH5description='touch to activate 5'/>
<!-- BACK5 ROUTE:  [from TOUCH5.isOver to set_bind ] -->
<Background DEF='BACK5groundColor='0.5 0 0.5skyColor='0.5 0 0.5'/>
<Transform scale='1.2 1.2 1.2translation='0 0 1'>
<Shape>
<Appearance>
<Material diffuseColor='1 0 1'/>
</Appearance>
<Extrusion creaseAngle='1crossSection='1 0 0.92388 0.382683 0.707107 0.707106 0.382684 0.923879 1.26759e-006 1 -0.382682 0.92388 -0.707105 0.707108 -0.923879 0.382685 -1 2.53518e-006 -0.923881 -0.382681 -0.707109 -0.707105 -0.382687 -0.923878 -3.80277e-006 -1 0.38268 -0.923881 0.707104 -0.70711 0.923878 -0.382688 1 0orientation='0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0scale='0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6solid='falsespine='1 0 0 0.92388 0.382683 0 0.707107 0.707106 0 0.382684 0.923879 0 1.26759e-006 1 0 -0.382682 0.92388 0 -0.707105 0.707108 0 -0.923879 0.382685 0 -1 2.53518e-006 0 -0.923881 -0.382681 0 -0.707109 -0.707105 0 -0.382687 -0.923878 0 -3.80277e-006 -1 0 0.38268 -0.923881 0 0.707104 -0.70711 0 0.923878 -0.382688 0 1 0 0'/>
</Shape>
</Transform>
</Group>
<ROUTE fromNode='TOUCH5fromField='isOvertoNode='BACK5toField='set_bind'/>
</ProtoBody>
</ProtoDeclare>
<Group>
<!-- TOUCH4 ROUTE:  [from isOver to BACK4.set_bind ] -->
<TouchSensor DEF='TOUCH4description='touch to activate 4'/>
<!-- BACK4 ROUTE:  [from TOUCH4.isOver to set_bind ] -->
<Background DEF='BACK4groundColor='0.5 0.5 0skyColor='0.5 0.5 0'/>
<Transform scale='1.2 1.2 1.2translation='0 0 0.75'>
<Shape>
<Appearance>
<Material diffuseColor='1 1 0'/>
</Appearance>
<Extrusion creaseAngle='1crossSection='1 0 0.92388 0.382683 0.707107 0.707106 0.382684 0.923879 1.26759e-006 1 -0.382682 0.92388 -0.707105 0.707108 -0.923879 0.382685 -1 2.53518e-006 -0.923881 -0.382681 -0.707109 -0.707105 -0.382687 -0.923878 -3.80277e-006 -1 0.38268 -0.923881 0.707104 -0.70711 0.923878 -0.382688 1 0orientation='0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0scale='0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4solid='falsespine='1 0 0 0.92388 0.382683 0 0.707107 0.707106 0 0.382684 0.923879 0 1.26759e-006 1 0 -0.382682 0.92388 0 -0.707105 0.707108 0 -0.923879 0.382685 0 -1 2.53518e-006 0 -0.923881 -0.382681 0 -0.707109 -0.707105 0 -0.382687 -0.923878 0 -3.80277e-006 -1 0 0.38268 -0.923881 0 0.707104 -0.70711 0 0.923878 -0.382688 0 1 0 0'/>
</Shape>
<ProtoInstance name='Proto5'/>
</Transform>
</Group>
<ROUTE fromNode='TOUCH4fromField='isOvertoNode='BACK4toField='set_bind'/>
</ProtoBody>
</ProtoDeclare>
<Group>
<!-- TOUCH3 ROUTE:  [from isOver to BACK3.set_bind ] -->
<TouchSensor DEF='TOUCH3description='touch to activate 3'/>
<!-- BACK3 ROUTE:  [from TOUCH3.isOver to set_bind ] -->
<Background DEF='BACK3groundColor='0 0 0.5skyColor='0 0 0.5'/>
<Transform scale='1.2 1.2 1.2translation='0 0 0.75'>
<Shape>
<Appearance>
<Material diffuseColor='0 0 1'/>
</Appearance>
<Extrusion creaseAngle='1crossSection='1 0 0.92388 0.382683 0.707107 0.707106 0.382684 0.923879 1.26759e-006 1 -0.382682 0.92388 -0.707105 0.707108 -0.923879 0.382685 -1 2.53518e-006 -0.923881 -0.382681 -0.707109 -0.707105 -0.382687 -0.923878 -3.80277e-006 -1 0.38268 -0.923881 0.707104 -0.70711 0.923878 -0.382688 1 0orientation='0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0scale='0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4solid='falsespine='1 0 0 0.92388 0.382683 0 0.707107 0.707106 0 0.382684 0.923879 0 1.26759e-006 1 0 -0.382682 0.92388 0 -0.707105 0.707108 0 -0.923879 0.382685 0 -1 2.53518e-006 0 -0.923881 -0.382681 0 -0.707109 -0.707105 0 -0.382687 -0.923878 0 -3.80277e-006 -1 0 0.38268 -0.923881 0 0.707104 -0.70711 0 0.923878 -0.382688 0 1 0 0'/>
</Shape>
<ProtoInstance name='Proto4'/>
</Transform>
</Group>
<ROUTE fromNode='TOUCH3fromField='isOvertoNode='BACK3toField='set_bind'/>
</ProtoBody>
</ProtoDeclare>
<Group>
<!-- TOUCH2 ROUTE:  [from isOver to BACK2.set_bind ] -->
<TouchSensor DEF='TOUCH2description='touch to activate 2'/>
<!-- BACK2 ROUTE:  [from TOUCH2.isOver to set_bind ] -->
<Background DEF='BACK2groundColor='0 0.5 0skyColor='0 0.5 0'/>
<Transform scale='1.2 1.2 1.2translation='0 0 0.75'>
<Shape>
<Appearance>
<Material diffuseColor='0 1 0'/>
</Appearance>
<Extrusion creaseAngle='1crossSection='1 0 0.92388 0.382683 0.707107 0.707106 0.382684 0.923879 1.26759e-006 1 -0.382682 0.92388 -0.707105 0.707108 -0.923879 0.382685 -1 2.53518e-006 -0.923881 -0.382681 -0.707109 -0.707105 -0.382687 -0.923878 -3.80277e-006 -1 0.38268 -0.923881 0.707104 -0.70711 0.923878 -0.382688 1 0orientation='0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0scale='0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4solid='falsespine='1 0 0 0.92388 0.382683 0 0.707107 0.707106 0 0.382684 0.923879 0 1.26759e-006 1 0 -0.382682 0.92388 0 -0.707105 0.707108 0 -0.923879 0.382685 0 -1 2.53518e-006 0 -0.923881 -0.382681 0 -0.707109 -0.707105 0 -0.382687 -0.923878 0 -3.80277e-006 -1 0 0.38268 -0.923881 0 0.707104 -0.70711 0 0.923878 -0.382688 0 1 0 0'/>
</Shape>
<ProtoInstance name='Proto3'/>
</Transform>
</Group>
<ROUTE fromNode='TOUCH2fromField='isOvertoNode='BACK2toField='set_bind'/>
</ProtoBody>
</ProtoDeclare>
<Group>
<!-- TOUCH1 ROUTE:  [from isOver to BACK1.set_bind ] -->
<TouchSensor DEF='TOUCH1description='touch to activate 1'/>
<!-- BACK1 ROUTE:  [from TOUCH1.isOver to set_bind ] -->
<Background DEF='BACK1groundColor='0.5 0 0skyColor='0.5 0 0'/>
<Transform scale='1.2 1.2 1.2translation='0 0 0.75'>
<Shape>
<Appearance>
<Material diffuseColor='1 0 0'/>
</Appearance>
<Extrusion creaseAngle='1crossSection='1 0 0.92388 0.382683 0.707107 0.707106 0.382684 0.923879 1.26759e-006 1 -0.382682 0.92388 -0.707105 0.707108 -0.923879 0.382685 -1 2.53518e-006 -0.923881 -0.382681 -0.707109 -0.707105 -0.382687 -0.923878 -3.80277e-006 -1 0.38268 -0.923881 0.707104 -0.70711 0.923878 -0.382688 1 0orientation='0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0scale='0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4 0.4solid='falsespine='1 0 0 0.92388 0.382683 0 0.707107 0.707106 0 0.382684 0.923879 0 1.26759e-006 1 0 -0.382682 0.92388 0 -0.707105 0.707108 0 -0.923879 0.382685 0 -1 2.53518e-006 0 -0.923881 -0.382681 0 -0.707109 -0.707105 0 -0.382687 -0.923878 0 -3.80277e-006 -1 0 0.38268 -0.923881 0 0.707104 -0.70711 0 0.923878 -0.382688 0 1 0 0'/>
</Shape>
<ProtoInstance name='Proto2'/>
</Transform>
</Group>
<ROUTE fromNode='TOUCH1fromField='isOvertoNode='BACK1toField='set_bind'/>
</ProtoBody>
</ProtoDeclare>
<Group>
<NavigationInfo type='"EXAMINE" "WALK" "FLY" "ANY"'/>
<Viewpoint description='Front Viewposition='0 0 25'/>
<Background groundColor='0 0 0'/>
<Transform translation='0 -3 0'>
<Transform translation='0 5 0'>
<Shape>
<Appearance>
<Material DEF='_0'/>
<ImageTexture DEF='OAK'
  url=' "oak.jpg" "http://www.web3d.org/x3d/content/examples/ConformanceNist/Miscellaneous/PROTO/oak.jpg" '/>
</Appearance>
<Cylinder height='10radius='0.75'/>
</Shape>
</Transform>
<Transform>
<Shape>
<Appearance>
<ImageTexture USE='OAK'/>
</Appearance>
<Box size='10 2 10'/>
</Shape>
</Transform>
<Transform rotation='1 0 0 1.57translation='0 8.5 0'>
<ProtoInstance name='Proto1'/>
</Transform>
</Transform>
</Group>
</Scene>
</X3D>
<!--

Index for ProtoDeclare definitions : Proto1, Proto2, Proto3, Proto4, Proto5

Index for DEF nodes : _0, BACK1, BACK2, BACK3, BACK4, BACK5, OAK, TOUCH1, TOUCH2, TOUCH3, TOUCH4, TOUCH5

Index for Viewpoint image : Viewpoint_1
-->

<!-- Color key: <X3dNode DEF='idName' field='value'/> matches <XmlElement DEF='idName' attribute='value'/>     <Prototype name='ProtoName'> <field name='fieldName'/> </Prototype> -->

<!-- Additional help information about X3D scenes: X3D Resources, X3D Scene Authoring Hints and X3D Tooltips -->