1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
|
3 | <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'> |
4 | <head> |
5 | <meta name='title' content='fivedeepnesting.x3d'/> |
6 | <meta name='Image' content='5deepnesting-front.jpg'/> |
7 | <meta name='reference' content='http://www.nist.gov/vrml.html'/> |
8 | <meta name='reference' content='http://www.itl.nist.gov/div897/ctg/vrml/vrml.html'/> |
9 | <meta name='creator' content='http://www.itl.nist.gov/div897/ctg/vrml/members.html'/> |
10 | <meta name='disclaimer' 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 (NIST). 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. '/> |
11 | <meta name='reference' content='Interactive Conformance Testing for VRML, Mary Brady and Lynn Rosenthal, NIST, created 8 September 2010 and updated 25 August 2016, https://www.nist.gov/itl/ssd/information-systems-group/interactive-conformance-testing-vrml'/> |
12 | <meta name='info' content='Correct definition and compliance of this conformance scene is maintained by the X3D Working Group, https://www.web3d.org/working-groups/x3d'/> |
13 | <meta name='translator' content='Michael Kass NIST, Don Brutzman NPS'/> |
14 | <meta name='translated' content='21 January 2001'/> |
15 | <meta name='modified' content='28 August 2023'/> |
16 | <meta name='revisions' content='Don Brutzman'/> |
17 | <meta name='description' content='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.'/> |
18 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/ConformanceNist/Miscellaneous/PROTO/fivedeepnesting.x3d'/> |
19 | <meta name='generator' content='Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html'/> |
20 | <meta name='generator' content='X3D-Edit 4.0, https://savage.nps.edu/X3D-Edit'/> |
21 | <meta name='license' content='../../license.html'/> |
22 | </head> |
23 | <Scene> |
24 | <WorldInfo title='fivedeepnesting.x3d'/> |
25 | <ProtoDeclare name='Proto1'> |
26 | <ProtoBody> |
27 | <ProtoDeclare name='Proto2'> |
28 | <ProtoBody> |
29 | <ProtoDeclare name='Proto3'> |
30 | <ProtoBody> |
31 | <ProtoDeclare name='Proto4'> |
32 | <ProtoBody> |
33 | <ProtoDeclare name='Proto5'> |
34 | <ProtoBody> |
35 | <Group> |
36 |
<!-- ROUTE information for TOUCH5 node:
[from isOver to BACK5.set_bind
]
-->
<TouchSensor DEF='TOUCH5' description='touch to activate 5'/> |
37 |
<!-- ROUTE information for BACK5 node:
[from TOUCH5.isOver to set_bind
]
-->
<Background DEF='BACK5' groundColor='0.5 0 0.5' skyColor='0.5 0 0.5'/> |
38 | <Transform scale='1.2 1.2 1.2' translation='0 0 1'> |
39 | <Shape> |
40 | <Appearance> |
41 | <Material diffuseColor='1 0 1'/> |
42 | </Appearance> |
43 | <Extrusion creaseAngle='1' crossSection='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 0' orientation='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 0' scale='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.6' solid='false' spine='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'/> |
44 | </Shape> |
45 | </Transform> |
46 | </Group> |
47 | < ROUTE fromNode='TOUCH5' fromField='isOver' toNode='BACK5' toField='set_bind'/> |
48 | </ProtoBody> |
49 | </ProtoDeclare> |
50 | <Group> |
51 |
<!-- ROUTE information for TOUCH4 node:
[from isOver to BACK4.set_bind
]
-->
<TouchSensor DEF='TOUCH4' description='touch to activate 4'/> |
52 |
<!-- ROUTE information for BACK4 node:
[from TOUCH4.isOver to set_bind
]
-->
<Background DEF='BACK4' groundColor='0.5 0.5 0' skyColor='0.5 0.5 0'/> |
53 | <Transform scale='1.2 1.2 1.2' translation='0 0 0.75'> |
54 | <Shape> |
55 | <Appearance> |
56 | <Material diffuseColor='1 1 0'/> |
57 | </Appearance> |
58 | <Extrusion creaseAngle='1' crossSection='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 0' orientation='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 0' scale='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.4' solid='false' spine='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'/> |
59 | </Shape> |
60 | <ProtoInstance name='Proto5'/> |
61 | </Transform> |
62 | </Group> |
63 | < ROUTE fromNode='TOUCH4' fromField='isOver' toNode='BACK4' toField='set_bind'/> |
64 | </ProtoBody> |
65 | </ProtoDeclare> |
66 | <Group> |
67 |
<!-- ROUTE information for TOUCH3 node:
[from isOver to BACK3.set_bind
]
-->
<TouchSensor DEF='TOUCH3' description='touch to activate 3'/> |
68 |
<!-- ROUTE information for BACK3 node:
[from TOUCH3.isOver to set_bind
]
-->
<Background DEF='BACK3' groundColor='0 0 0.5' skyColor='0 0 0.5'/> |
69 | <Transform scale='1.2 1.2 1.2' translation='0 0 0.75'> |
70 | <Shape> |
71 | <Appearance> |
72 | <Material diffuseColor='0 0 1'/> |
73 | </Appearance> |
74 | <Extrusion creaseAngle='1' crossSection='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 0' orientation='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 0' scale='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.4' solid='false' spine='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'/> |
75 | </Shape> |
76 | <ProtoInstance name='Proto4'/> |
77 | </Transform> |
78 | </Group> |
79 | < ROUTE fromNode='TOUCH3' fromField='isOver' toNode='BACK3' toField='set_bind'/> |
80 | </ProtoBody> |
81 | </ProtoDeclare> |
82 | <Group> |
83 |
<!-- ROUTE information for TOUCH2 node:
[from isOver to BACK2.set_bind
]
-->
<TouchSensor DEF='TOUCH2' description='touch to activate 2'/> |
84 |
<!-- ROUTE information for BACK2 node:
[from TOUCH2.isOver to set_bind
]
-->
<Background DEF='BACK2' groundColor='0 0.5 0' skyColor='0 0.5 0'/> |
85 | <Transform scale='1.2 1.2 1.2' translation='0 0 0.75'> |
86 | <Shape> |
87 | <Appearance> |
88 | <Material diffuseColor='0 1 0'/> |
89 | </Appearance> |
90 | <Extrusion creaseAngle='1' crossSection='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 0' orientation='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 0' scale='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.4' solid='false' spine='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'/> |
91 | </Shape> |
92 | <ProtoInstance name='Proto3'/> |
93 | </Transform> |
94 | </Group> |
95 | < ROUTE fromNode='TOUCH2' fromField='isOver' toNode='BACK2' toField='set_bind'/> |
96 | </ProtoBody> |
97 | </ProtoDeclare> |
98 | <Group> |
99 |
<!-- ROUTE information for TOUCH1 node:
[from isOver to BACK1.set_bind
]
-->
<TouchSensor DEF='TOUCH1' description='touch to activate 1'/> |
100 |
<!-- ROUTE information for BACK1 node:
[from TOUCH1.isOver to set_bind
]
-->
<Background DEF='BACK1' groundColor='0.5 0 0' skyColor='0.5 0 0'/> |
101 | <Transform scale='1.2 1.2 1.2' translation='0 0 0.75'> |
102 | <Shape> |
103 | <Appearance> |
104 | <Material diffuseColor='1 0 0'/> |
105 | </Appearance> |
106 | <Extrusion creaseAngle='1' crossSection='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 0' orientation='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 0' scale='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.4' solid='false' spine='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'/> |
107 | </Shape> |
108 | <ProtoInstance name='Proto2'/> |
109 | </Transform> |
110 | </Group> |
111 | < ROUTE fromNode='TOUCH1' fromField='isOver' toNode='BACK1' toField='set_bind'/> |
112 | </ProtoBody> |
113 | </ProtoDeclare> |
114 | <Group> |
115 | <NavigationInfo type='"EXAMINE" "WALK" "FLY" "ANY"'/> |
116 | <Viewpoint description='Front View' position='0 0 25'/> |
117 | <Background groundColor='0 0 0'/> |
118 | <Transform translation='0 -3 0'> |
119 | <Transform translation='0 5 0'> |
120 | <Shape> |
121 | <Appearance> |
122 | <Material DEF='_0'/> |
123 |
<!-- ImageTexture
OAK is a DEF node that has 1 USE node: USE_1 --> <ImageTexture DEF='OAK' url=' "oak.jpg " "https://www.web3d.org/x3d/content/examples/ConformanceNist/Miscellaneous/PROTO/oak.jpg " '/> |
124 | </Appearance> |
125 | <Cylinder height='10' radius='0.75'/> |
126 | </Shape> |
127 | </Transform> |
128 | <Transform> |
129 | <Shape> |
130 | <Appearance> |
131 | <ImageTexture USE='OAK'/> |
132 | </Appearance> |
133 | <Box size='10 2 10'/> |
134 | </Shape> |
135 | </Transform> |
136 | <Transform rotation='1 0 0 1.57' translation='0 8.5 0'> |
137 | <ProtoInstance name='Proto1'/> |
138 | </Transform> |
139 | </Transform> |
140 | </Group> |
141 | </Scene> |
142 | </X3D> |
Event Graph ROUTE Table entries with 5 ROUTE connections total, showing X3D event-model relationships for this scene.
Each row shows an event cascade that may occur during a single timestamp interval between frame renderings, as part of the X3D execution model.
TOUCH1
TouchSensor isOver SFBool |
BACK1
Background set_bind SFBool |
TOUCH2
TouchSensor isOver SFBool |
BACK2
Background set_bind SFBool |
TOUCH3
TouchSensor isOver SFBool |
BACK3
Background set_bind SFBool |
TOUCH4
TouchSensor isOver SFBool |
BACK4
Background set_bind SFBool |
TOUCH5
TouchSensor isOver SFBool |
BACK5
Background set_bind SFBool |
ProtoInstance Proto5 |
No ROUTE connection found for output events from this node. This ProtoInstance contains SFNode/MFNode fieldValue declarations with direct access to other nodes, and thus has potential to produce run-time animation. |
ProtoInstance Proto4 |
No ROUTE connection found for output events from this node. This ProtoInstance contains SFNode/MFNode fieldValue declarations with direct access to other nodes, and thus has potential to produce run-time animation. |
ProtoInstance Proto3 |
No ROUTE connection found for output events from this node. This ProtoInstance contains SFNode/MFNode fieldValue declarations with direct access to other nodes, and thus has potential to produce run-time animation. |
ProtoInstance Proto2 |
No ROUTE connection found for output events from this node. This ProtoInstance contains SFNode/MFNode fieldValue declarations with direct access to other nodes, and thus has potential to produce run-time animation. |
ProtoInstance Proto1 |
No ROUTE connection found for output events from this node. This ProtoInstance contains SFNode/MFNode fieldValue declarations with direct access to other nodes, and thus has potential to produce run-time animation. |
<!--
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)
<ProtoInstance
name='ProtoName'>
<field
name='fieldName'/> </ProtoInstance>
-->
<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->