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='test_center.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='description' content='Test browser to set different values for the "center" field. The test defines two LOD node with the level field via the Inline node). The first LOD defines the leftmost figure and it sets the center to location 0 0 0. The second LOD defines the rightmost figure and it defines the center at location 0 0 40. The left most LOD in the level field. The rightmost LOD should only display the figures various options at the bottom of the figures. The test should generate a figure resembling a temple with white columns, a fly of stairs up front generated when the highest level of detail is selected), however the LOD to the right will display this figure for the TWO highest level of details'/> |
16 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/ConformanceNist/SpecialGroups/LOD/test_center.x3d'/> |
17 | <meta name='generator' content='Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html'/> |
18 | <meta name='generator' content='X3D-Edit 4.0, https://savage.nps.edu/X3D-Edit'/> |
19 | <meta name='license' content='../../license.html'/> |
20 | </head> |
21 | <Scene> |
22 | <WorldInfo title='test_center.x3d'/> |
23 | <NavigationInfo type='"EXAMINE" "WALK" "FLY" "ANY"'/> |
24 | <Group> |
25 |
<!-- ROUTE information for the-view node:
[from first-position.value_changed to position
]
[from second-position.value_changed to position
]
[from third-position.value_changed to position
]
[from fourth-position.value_changed to position
]
-->
<Viewpoint DEF='the-view' description='avatar position of user' position='0 0 64'/> |
26 | </Group> |
27 |
<!-- ROUTE information for big-trans1 node:
[from text1.value_changed to translation
]
[from text2.value_changed to translation
]
[from text3.value_changed to translation
]
[from text4.value_changed to translation
]
-->
<Transform DEF='big-trans1' translation='0 0 54'> |
28 | <Transform scale='0.02 0.02 0.02' translation='-5.4 -2 0'> |
29 | <Shape> |
30 | <Appearance> |
31 | <Material ambientIntensity='1' diffuseColor='0 1 0' emissiveColor='0 1 0'/> |
32 | </Appearance> |
33 | <Text string='"CLICK DESIRED LEVEL OF DETAIL BELOW"'> |
34 | |
35 | </Text> |
36 | </Shape> |
37 | </Transform> |
38 | <Transform scale='0.02 0.02 0.02' translation='-4.8 -2.7 0'> |
39 | <Shape> |
40 |
<!-- Appearance
the-appearance is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 -->
<Appearance DEF='the-appearance'> |
41 | <Material ambientIntensity='1' diffuseColor='0 0 1' emissiveColor='0 0 1'/> |
42 | </Appearance> |
43 | <Text string='"LOWEST (0 0 64)"'> |
44 | <FontStyle USE='the-style'/> |
45 | </Text> |
46 | </Shape> |
47 |
<!-- ROUTE information for the-touch1 node:
[from touchTime to time1.startTime
]
-->
<TouchSensor DEF='the-touch1' description='touch to activate 1'/> |
48 | </Transform> |
49 | <Transform scale='0.02 0.02 0.02' translation='-4.8 -3.4 0'> |
50 | <Shape> |
51 | <Appearance USE='the-appearance'/> |
52 | <Text string='"MEDIUM LOW (0 0 48)"'> |
53 | <FontStyle USE='the-style'/> |
54 | </Text> |
55 | </Shape> |
56 |
<!-- ROUTE information for the-touch2 node:
[from touchTime to time2.startTime
]
-->
<TouchSensor DEF='the-touch2' description='touch to activate 2'/> |
57 | </Transform> |
58 | <Transform scale='0.02 0.02 0.02' translation='1 -2.7 0'> |
59 | <Shape> |
60 | <Appearance USE='the-appearance'/> |
61 | <Text string='"MEDIUM (0 0 32)"'> |
62 | <FontStyle USE='the-style'/> |
63 | </Text> |
64 | </Shape> |
65 |
<!-- ROUTE information for the-touch3 node:
[from touchTime to time3.startTime
]
-->
<TouchSensor DEF='the-touch3' description='touch to activate 3'/> |
66 | </Transform> |
67 | <Transform scale='0.02 0.02 0.02' translation='1 -3.4 0'> |
68 | <Shape> |
69 | <Appearance USE='the-appearance'/> |
70 | <Text string='"HIGHEST (0 0 16)"'> |
71 | <FontStyle USE='the-style'/> |
72 | </Text> |
73 | </Shape> |
74 |
<!-- ROUTE information for the-touch4 node:
[from touchTime to time4.startTime
]
-->
<TouchSensor DEF='the-touch4' description='touch to activate 4'/> |
75 | </Transform> |
76 | </Transform> |
77 |
<!-- ROUTE information for time1 node:
[from the-touch1.touchTime to startTime
]
[from fraction_changed to first-position.set_fraction
]
[from fraction_changed to text1.set_fraction
]
-->
<TimeSensor DEF='time1' cycleInterval='2'/> |
78 |
<!-- ROUTE information for time2 node:
[from the-touch2.touchTime to startTime
]
[from fraction_changed to second-position.set_fraction
]
[from fraction_changed to text2.set_fraction
]
-->
<TimeSensor DEF='time2' cycleInterval='2'/> |
79 |
<!-- ROUTE information for time3 node:
[from the-touch3.touchTime to startTime
]
[from fraction_changed to third-position.set_fraction
]
[from fraction_changed to text3.set_fraction
]
-->
<TimeSensor DEF='time3' cycleInterval='2'/> |
80 |
<!-- ROUTE information for time4 node:
[from the-touch4.touchTime to startTime
]
[from fraction_changed to fourth-position.set_fraction
]
[from fraction_changed to text4.set_fraction
]
-->
<TimeSensor DEF='time4' cycleInterval='2'/> |
81 |
<!-- ROUTE information for first-position node:
[from time1.fraction_changed to set_fraction
]
[from value_changed to the-view.position
]
-->
<PositionInterpolator DEF='first-position' key='0 1' keyValue='0 0 64 0 0 64'/> |
82 |
<!-- ROUTE information for second-position node:
[from time2.fraction_changed to set_fraction
]
[from value_changed to the-view.position
]
-->
<PositionInterpolator DEF='second-position' key='0 1' keyValue='0 0 48 0 0 48'/> |
83 |
<!-- ROUTE information for third-position node:
[from time3.fraction_changed to set_fraction
]
[from value_changed to the-view.position
]
-->
<PositionInterpolator DEF='third-position' key='0 1' keyValue='0 0 32 0 0 32'/> |
84 |
<!-- ROUTE information for fourth-position node:
[from time4.fraction_changed to set_fraction
]
[from value_changed to the-view.position
]
-->
<PositionInterpolator DEF='fourth-position' key='0 1' keyValue='0 0 27 0 0 27'/> |
85 |
<!-- ROUTE information for text1 node:
[from time1.fraction_changed to set_fraction
]
[from value_changed to big-trans1.translation
]
-->
<PositionInterpolator DEF='text1' key='0 1' keyValue='0 0 54 0 0 54'/> |
86 |
<!-- ROUTE information for text2 node:
[from time2.fraction_changed to set_fraction
]
[from value_changed to big-trans1.translation
]
-->
<PositionInterpolator DEF='text2' key='0 1' keyValue='0 0 38 0 0 38'/> |
87 |
<!-- ROUTE information for text3 node:
[from time3.fraction_changed to set_fraction
]
[from value_changed to big-trans1.translation
]
-->
<PositionInterpolator DEF='text3' key='0 1' keyValue='0 0 22 0 0 22'/> |
88 |
<!-- ROUTE information for text4 node:
[from time4.fraction_changed to set_fraction
]
[from value_changed to big-trans1.translation
]
-->
<PositionInterpolator DEF='text4' key='0 1' keyValue='0 0 17 0 0 17'/> |
89 | <Transform rotation='1 0 0 0.15' translation='-7 2 0'> |
90 | <LOD range='28 33 49'> |
91 |
<!-- Inline
ref1 is a DEF node that has 1 USE node: USE_1 --> <Inline DEF='ref1' url=' "ref1.x3d" "https://www.web3d.org/x3d/content/examples/ConformanceNist/SpecialGroups/LOD/ref1.x3d" "ref1.wrl" "https://www.web3d.org/x3d/content/examples/ConformanceNist/SpecialGroups/LOD/ref1.wrl" '/> |
92 |
<!-- Inline
ref2 is a DEF node that has 1 USE node: USE_1 --> <Inline DEF='ref2' url=' "ref2.x3d" "https://www.web3d.org/x3d/content/examples/ConformanceNist/SpecialGroups/LOD/ref2.x3d" "ref2.wrl" "https://www.web3d.org/x3d/content/examples/ConformanceNist/SpecialGroups/LOD/ref2.wrl" '/> |
93 |
<!-- Inline
ref3 is a DEF node that has 1 USE node: USE_1 --> <Inline DEF='ref3' url=' "ref3.x3d" "https://www.web3d.org/x3d/content/examples/ConformanceNist/SpecialGroups/LOD/ref3.x3d" "ref3.wrl" "https://www.web3d.org/x3d/content/examples/ConformanceNist/SpecialGroups/LOD/ref3.wrl" '/> |
94 |
<!-- Inline
ref4 is a DEF node that has 1 USE node: USE_1 --> <Inline DEF='ref4' url=' "ref4.x3d" "https://www.web3d.org/x3d/content/examples/ConformanceNist/SpecialGroups/LOD/ref4.x3d" "ref4.wrl" "https://www.web3d.org/x3d/content/examples/ConformanceNist/SpecialGroups/LOD/ref4.wrl" '/> |
95 | </LOD> |
96 | </Transform> |
97 | <Transform rotation='1 0 0 0.15' translation='7 2 0'> |
98 | <LOD center='0 0 17' range='28 33 49'> |
99 | <Inline USE='ref1'/> |
100 | <Inline USE='ref2'/> |
101 | <Inline USE='ref3'/> |
102 | <Inline USE='ref4'/> |
103 | </LOD> |
104 | </Transform> |
105 | < ROUTE fromNode='the-touch1' fromField='touchTime' toNode='time1' toField='startTime'/> |
106 | < ROUTE fromNode='the-touch2' fromField='touchTime' toNode='time2' toField='startTime'/> |
107 | < ROUTE fromNode='the-touch3' fromField='touchTime' toNode='time3' toField='startTime'/> |
108 | < ROUTE fromNode='the-touch4' fromField='touchTime' toNode='time4' toField='startTime'/> |
109 | < ROUTE fromNode='time1' fromField='fraction_changed' toNode='first-position' toField='set_fraction'/> |
110 | < ROUTE fromNode='time2' fromField='fraction_changed' toNode='second-position' toField='set_fraction'/> |
111 | < ROUTE fromNode='time3' fromField='fraction_changed' toNode='third-position' toField='set_fraction'/> |
112 | < ROUTE fromNode='time4' fromField='fraction_changed' toNode='fourth-position' toField='set_fraction'/> |
113 | < ROUTE fromNode='first-position' fromField='value_changed' toNode='the-view' toField='position'/> |
114 | < ROUTE fromNode='second-position' fromField='value_changed' toNode='the-view' toField='position'/> |
115 | < ROUTE fromNode='third-position' fromField='value_changed' toNode='the-view' toField='position'/> |
116 | < ROUTE fromNode='fourth-position' fromField='value_changed' toNode='the-view' toField='position'/> |
117 | < ROUTE fromNode='time1' fromField='fraction_changed' toNode='text1' toField='set_fraction'/> |
118 | < ROUTE fromNode='time2' fromField='fraction_changed' toNode='text2' toField='set_fraction'/> |
119 | < ROUTE fromNode='time3' fromField='fraction_changed' toNode='text3' toField='set_fraction'/> |
120 | < ROUTE fromNode='time4' fromField='fraction_changed' toNode='text4' toField='set_fraction'/> |
121 | < ROUTE fromNode='text1' fromField='value_changed' toNode='big-trans1' toField='translation'/> |
122 | < ROUTE fromNode='text2' fromField='value_changed' toNode='big-trans1' toField='translation'/> |
123 | < ROUTE fromNode='text3' fromField='value_changed' toNode='big-trans1' toField='translation'/> |
124 | < ROUTE fromNode='text4' fromField='value_changed' toNode='big-trans1' toField='translation'/> |
125 | </Scene> |
126 | </X3D> |
Event Graph ROUTE Table entries with 20 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.
the-touch1
TouchSensor touchTime SFTime |
time1
TimeSensor startTime SFTime |
then
|
time1
TimeSensor fraction_changed SFFloat |
first-position
PositionInterpolator set_fraction SFFloat |
then
|
first-position
PositionInterpolator value_changed SFVec3f |
the-view
Viewpoint position SFVec3f |
|||
then
|
time1
TimeSensor fraction_changed SFFloat |
text1
PositionInterpolator set_fraction SFFloat |
then
|
text1
PositionInterpolator value_changed SFVec3f |
big-trans1
Transform translation SFVec3f |
the-touch2
TouchSensor touchTime SFTime |
time2
TimeSensor startTime SFTime |
then
|
time2
TimeSensor fraction_changed SFFloat |
second-position
PositionInterpolator set_fraction SFFloat |
then
|
second-position
PositionInterpolator value_changed SFVec3f |
the-view
Viewpoint position SFVec3f |
|||
then
|
time2
TimeSensor fraction_changed SFFloat |
text2
PositionInterpolator set_fraction SFFloat |
then
|
text2
PositionInterpolator value_changed SFVec3f |
big-trans1
Transform translation SFVec3f |
the-touch3
TouchSensor touchTime SFTime |
time3
TimeSensor startTime SFTime |
then
|
time3
TimeSensor fraction_changed SFFloat |
third-position
PositionInterpolator set_fraction SFFloat |
then
|
third-position
PositionInterpolator value_changed SFVec3f |
the-view
Viewpoint position SFVec3f |
|||
then
|
time3
TimeSensor fraction_changed SFFloat |
text3
PositionInterpolator set_fraction SFFloat |
then
|
text3
PositionInterpolator value_changed SFVec3f |
big-trans1
Transform translation SFVec3f |
the-touch4
TouchSensor touchTime SFTime |
time4
TimeSensor startTime SFTime |
then
|
time4
TimeSensor fraction_changed SFFloat |
fourth-position
PositionInterpolator set_fraction SFFloat |
then
|
fourth-position
PositionInterpolator value_changed SFVec3f |
the-view
Viewpoint position SFVec3f |
|||
then
|
time4
TimeSensor fraction_changed SFFloat |
text4
PositionInterpolator set_fraction SFFloat |
then
|
text4
PositionInterpolator value_changed SFVec3f |
big-trans1
Transform translation SFVec3f |
<!--
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)
-->
<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->