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='fivedeepinternalroute.x3d'/> |
6 | <meta name='reference' content='http://www.nist.gov/vrml.html'/> |
7 | <meta name='reference' content='http://www.itl.nist.gov/div897/ctg/vrml/vrml.html'/> |
8 | <meta name='creator' content='http://www.itl.nist.gov/div897/ctg/vrml/members.html'/> |
9 | <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. '/> |
10 | <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'/> |
11 | <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'/> |
12 | <meta name='translator' content='Michael Kass NIST, Don Brutzman NPS'/> |
13 | <meta name='translated' content='21 January 2001'/> |
14 | <meta name='modified' content='28 August 2023'/> |
15 | <meta name='revisions' content='Don Brutzman'/> |
16 | <meta name='description' content='Test 5-deep EXTERNPROTO nesting. This is a test of browser ability to internal ROUTE events for 5 PROTO node nested within each other. 5 PROTO node, consisting of a "ringshaped" Extrusion geometry are nested, one within the other, within the other. Each PROTO has a TouchSensor node that routes its "isOver" SFBool event to a Background node "set_bind" field. The result should be: As the pointing device passes over each "ring" in the geometry, the corresponding background color should change to match the color of the ring.'/> |
17 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/ConformanceNist/Miscellaneous/PROTO/fivedeepinternalroute.x3d'/> |
18 | <meta name='generator' content='Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html'/> |
19 | <meta name='generator' content='X3D-Edit 4.0, https://savage.nps.edu/X3D-Edit'/> |
20 | <meta name='license' content='../../license.html'/> |
21 | </head> |
22 | <Scene> |
23 | <WorldInfo title='fivedeepinternalroute.x3d'/> |
24 | <ProtoDeclare name='Proto1'> |
25 | <ProtoBody> |
26 | <ProtoDeclare name='Proto2'> |
27 | <ProtoBody> |
28 | <ProtoDeclare name='Proto3'> |
29 | <ProtoBody> |
30 | <ProtoDeclare name='Proto4'> |
31 | <ProtoBody> |
32 | <ProtoDeclare name='Proto5'> |
33 | <ProtoBody> |
34 | <Group> |
35 |
<!-- ROUTE information for TOUCH5 node:
[from isOver to BACK5.set_bind
]
-->
<TouchSensor DEF='TOUCH5' description='touch to activate 5'/> |
36 |
<!-- 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'/> |
37 | <Transform scale='1.2 1.2 1.2' translation='0 0 1'> |
38 | <Shape> |
39 | <Appearance> |
40 | <Material diffuseColor='1 0 1'/> |
41 | </Appearance> |
42 | <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'/> |
43 | </Shape> |
44 | </Transform> |
45 | </Group> |
46 | < ROUTE fromNode='TOUCH5' fromField='isOver' toNode='BACK5' toField='set_bind'/> |
47 | </ProtoBody> |
48 | </ProtoDeclare> |
49 | <Group> |
50 |
<!-- ROUTE information for TOUCH4 node:
[from isOver to BACK4.set_bind
]
-->
<TouchSensor DEF='TOUCH4' description='touch to activate 4'/> |
51 |
<!-- 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'/> |
52 | <Transform scale='1.2 1.2 1.2' translation='0 0 0.75'> |
53 | <Shape> |
54 | <Appearance> |
55 | <Material diffuseColor='1 1 0'/> |
56 | </Appearance> |
57 | <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'/> |
58 | </Shape> |
59 | <ProtoInstance name='Proto5'/> |
60 | </Transform> |
61 | </Group> |
62 | < ROUTE fromNode='TOUCH4' fromField='isOver' toNode='BACK4' toField='set_bind'/> |
63 | </ProtoBody> |
64 | </ProtoDeclare> |
65 | <Group> |
66 |
<!-- ROUTE information for TOUCH3 node:
[from isOver to BACK3.set_bind
]
-->
<TouchSensor DEF='TOUCH3' description='touch to activate 3'/> |
67 |
<!-- ROUTE information for BACK3 node:
[from TOUCH3.isOver to set_bind
]
-->
<Background DEF='BACK3' groundColor='0 0 0.5' skyColor='0 0 0.5'/> |
68 | <Transform scale='1.2 1.2 1.2' translation='0 0 0.75'> |
69 | <Shape> |
70 | <Appearance> |
71 | <Material diffuseColor='0 0 1'/> |
72 | </Appearance> |
73 | <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'/> |
74 | </Shape> |
75 | <ProtoInstance name='Proto4'/> |
76 | </Transform> |
77 | </Group> |
78 | < ROUTE fromNode='TOUCH3' fromField='isOver' toNode='BACK3' toField='set_bind'/> |
79 | </ProtoBody> |
80 | </ProtoDeclare> |
81 | <Group> |
82 |
<!-- ROUTE information for TOUCH2 node:
[from isOver to BACK2.set_bind
]
-->
<TouchSensor DEF='TOUCH2' description='touch to activate 2'/> |
83 |
<!-- ROUTE information for BACK2 node:
[from TOUCH2.isOver to set_bind
]
-->
<Background DEF='BACK2' groundColor='0 0.5 0' skyColor='0 0.5 0'/> |
84 | <Transform scale='1.2 1.2 1.2' translation='0 0 0.75'> |
85 | <Shape> |
86 | <Appearance> |
87 | <Material diffuseColor='0 1 0'/> |
88 | </Appearance> |
89 | <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'/> |
90 | </Shape> |
91 | <ProtoInstance name='Proto3'/> |
92 | </Transform> |
93 | </Group> |
94 | < ROUTE fromNode='TOUCH2' fromField='isOver' toNode='BACK2' toField='set_bind'/> |
95 | </ProtoBody> |
96 | </ProtoDeclare> |
97 | <Group> |
98 |
<!-- ROUTE information for TOUCH1 node:
[from isOver to BACK1.set_bind
]
-->
<TouchSensor DEF='TOUCH1' description='touch to activate 1'/> |
99 |
<!-- ROUTE information for BACK1 node:
[from TOUCH1.isOver to set_bind
]
-->
<Background DEF='BACK1' groundColor='0.5 0 0' skyColor='0.5 0 0'/> |
100 | <Transform scale='1.2 1.2 1.2' translation='0 0 0.75'> |
101 | <Shape> |
102 | <Appearance> |
103 | <Material diffuseColor='1 0 0'/> |
104 | </Appearance> |
105 | <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'/> |
106 | </Shape> |
107 | <ProtoInstance name='Proto2'/> |
108 | </Transform> |
109 | </Group> |
110 | < ROUTE fromNode='TOUCH1' fromField='isOver' toNode='BACK1' toField='set_bind'/> |
111 | </ProtoBody> |
112 | </ProtoDeclare> |
113 | <Group> |
114 | <NavigationInfo type='"EXAMINE" "WALK" "FLY" "ANY"'/> |
115 | <Viewpoint description='Front View' position='0 0 25'/> |
116 | <Background groundColor='0 0 0'/> |
117 | <Transform translation='0 -3 0'> |
118 | <Transform translation='0 5 0'> |
119 | <Shape> |
120 | <Appearance> |
121 | <Material DEF='_0'/> |
122 |
<!-- 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 " '/> |
123 | </Appearance> |
124 | <Cylinder height='10' radius='0.75'/> |
125 | </Shape> |
126 | </Transform> |
127 | <Transform> |
128 | <Shape> |
129 | <Appearance> |
130 | <ImageTexture USE='OAK'/> |
131 | </Appearance> |
132 | <Box size='10 2 10'/> |
133 | </Shape> |
134 | </Transform> |
135 | <Transform rotation='1 0 0 1.57' translation='0 8.5 0'> |
136 | <ProtoInstance name='Proto1'/> |
137 | </Transform> |
138 | </Transform> |
139 | </Group> |
140 | </Scene> |
141 | </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. -->