<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://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 =' https://www.web3d.org/specifications/x3d-3.0.xsd ' >
<head>
<meta name='titlecontent=' test_center.x3d '/>
<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 (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. '/>
<meta name='referencecontent=' 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 '/>
<meta name='infocontent='Correct definition and compliance of this conformance scene is maintained by the X3D Working Group, https://www.web3d.org/working-groups/x3d'/>
<meta name='translatorcontent='Michael Kass NIST, Don Brutzman NPS'/>
<meta name='translatedcontent='21 January 2001'/>
<meta name='modifiedcontent='28 August 2023'/>
<meta name='descriptioncontent='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'/>
<meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/ConformanceNist/SpecialGroups/LOD/test_center.x3d '/>
<meta name='generatorcontent=' Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html '/>
<meta name='generatorcontent='X3D-Edit 4.0, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../../license.html'/>
</head>
<!-- -->
<Scene>
<WorldInfo title='test_center.x3d'/>
<NavigationInfo type='"EXAMINE" "WALK" "FLY" "ANY"'/>
<Group> </Group>
<Transform scale='0.02 0.02 0.02translation='-5.4 -2 0'>
<Shape>
<Appearance>
<Material ambientIntensity='1diffuseColor='0 1 0emissiveColor='0 1 0'/>
</Appearance>
<Text string='"CLICK DESIRED LEVEL OF DETAIL BELOW"'>
<FontStyle DEF='the-stylesize='29style='BOLD'/>
</Text>
</Shape>
</Transform>
<Transform scale='0.02 0.02 0.02translation='-4.8 -2.7 0'>
<Shape>
<Appearance DEF='the-appearance'>
<Material ambientIntensity='1diffuseColor='0 0 1emissiveColor='0 0 1'/>
</Appearance>
<Text string='"LOWEST (0 0 64)"'>
<FontStyle USE=' the-style'/>
</Text>
</Shape>
<!-- ROUTE information for the-touch1 node:  [from touchTime to time1.startTime ] -->
<TouchSensor DEF='the-touch1description='touch to activate 1'/>
</Transform>
<Transform scale='0.02 0.02 0.02translation='-4.8 -3.4 0'>
<Shape>
<Appearance USE=' the-appearance'/>
<Text string='"MEDIUM LOW (0 0 48)"'>
<FontStyle USE=' the-style'/>
</Text>
</Shape>
<!-- ROUTE information for the-touch2 node:  [from touchTime to time2.startTime ] -->
<TouchSensor DEF='the-touch2description='touch to activate 2'/>
</Transform>
<Transform scale='0.02 0.02 0.02translation='1 -2.7 0'>
<Shape>
<Appearance USE=' the-appearance'/>
<Text string='"MEDIUM (0 0 32)"'>
<FontStyle USE=' the-style'/>
</Text>
</Shape>
<!-- ROUTE information for the-touch3 node:  [from touchTime to time3.startTime ] -->
<TouchSensor DEF='the-touch3description='touch to activate 3'/>
</Transform>
<Transform scale='0.02 0.02 0.02translation='1 -3.4 0'>
<Shape>
<Appearance USE=' the-appearance'/>
<Text string='"HIGHEST (0 0 16)"'>
<FontStyle USE=' the-style'/>
</Text>
</Shape>
<!-- ROUTE information for the-touch4 node:  [from touchTime to time4.startTime ] -->
<TouchSensor DEF='the-touch4description='touch to activate 4'/>
</Transform>
</Transform>




<!-- ROUTE information for first-position node:  [from time1.fraction_changed to set_fraction ] [from value_changed to the-view.position ] -->
<PositionInterpolator DEF='first-positionkey='0 1keyValue='0 0 64 0 0 64'/>

<!-- ROUTE information for second-position node:  [from time2.fraction_changed to set_fraction ] [from value_changed to the-view.position ] -->
<PositionInterpolator DEF='second-positionkey='0 1keyValue='0 0 48 0 0 48'/>

<!-- ROUTE information for third-position node:  [from time3.fraction_changed to set_fraction ] [from value_changed to the-view.position ] -->
<PositionInterpolator DEF='third-positionkey='0 1keyValue='0 0 32 0 0 32'/>

<!-- ROUTE information for fourth-position node:  [from time4.fraction_changed to set_fraction ] [from value_changed to the-view.position ] -->
<PositionInterpolator DEF='fourth-positionkey='0 1keyValue='0 0 27 0 0 27'/>

<!-- ROUTE information for text1 node:  [from time1.fraction_changed to set_fraction ] [from value_changed to big-trans1.translation ] -->
<PositionInterpolator DEF='text1key='0 1keyValue='0 0 54 0 0 54'/>

<!-- ROUTE information for text2 node:  [from time2.fraction_changed to set_fraction ] [from value_changed to big-trans1.translation ] -->
<PositionInterpolator DEF='text2key='0 1keyValue='0 0 38 0 0 38'/>

<!-- ROUTE information for text3 node:  [from time3.fraction_changed to set_fraction ] [from value_changed to big-trans1.translation ] -->
<PositionInterpolator DEF='text3key='0 1keyValue='0 0 22 0 0 22'/>

<!-- ROUTE information for text4 node:  [from time4.fraction_changed to set_fraction ] [from value_changed to big-trans1.translation ] -->
<PositionInterpolator DEF='text4key='0 1keyValue='0 0 17 0 0 17'/>

<Transform rotation='1 0 0 0.15translation='-7 2 0'> </Transform>
<Transform rotation='1 0 0 0.15translation='7 2 0'>
<LOD center='0 0 17range='28 33 49'>
<Inline USE=' ref1'/>
<Inline USE=' ref2'/>
<Inline USE=' ref3'/>
<Inline USE=' ref4'/>
</LOD>
</Transform>
< ROUTE  fromNode=' the-touch1' fromField='touchTime' toNode=' time1' toField='startTime'/>
< ROUTE  fromNode=' the-touch2' fromField='touchTime' toNode=' time2' toField='startTime'/>
< ROUTE  fromNode=' the-touch3' fromField='touchTime' toNode=' time3' toField='startTime'/>
< ROUTE  fromNode=' the-touch4' fromField='touchTime' toNode=' time4' toField='startTime'/>
< ROUTE  fromNode=' time1' fromField='fraction_changed' toNode=' first-position' toField='set_fraction'/>
< ROUTE  fromNode=' time2' fromField='fraction_changed' toNode=' second-position' toField='set_fraction'/>
< ROUTE  fromNode=' time3' fromField='fraction_changed' toNode=' third-position' toField='set_fraction'/>
< ROUTE  fromNode=' time4' fromField='fraction_changed' toNode=' fourth-position' toField='set_fraction'/>
< ROUTE  fromNode=' first-position' fromField='value_changed' toNode=' the-view' toField='position'/>
< ROUTE  fromNode=' second-position' fromField='value_changed' toNode=' the-view' toField='position'/>
< ROUTE  fromNode=' third-position' fromField='value_changed' toNode=' the-view' toField='position'/>
< ROUTE  fromNode=' fourth-position' fromField='value_changed' toNode=' the-view' toField='position'/>
< ROUTE  fromNode=' time1' fromField='fraction_changed' toNode=' text1' toField='set_fraction'/>
< ROUTE  fromNode=' time2' fromField='fraction_changed' toNode=' text2' toField='set_fraction'/>
< ROUTE  fromNode=' time3' fromField='fraction_changed' toNode=' text3' toField='set_fraction'/>
< ROUTE  fromNode=' time4' fromField='fraction_changed' toNode=' text4' toField='set_fraction'/>
< ROUTE  fromNode=' text1' fromField='value_changed' toNode=' big-trans1' toField='translation'/>
< ROUTE  fromNode=' text2' fromField='value_changed' toNode=' big-trans1' toField='translation'/>
< ROUTE  fromNode=' text3' fromField='value_changed' toNode=' big-trans1' toField='translation'/>
< ROUTE  fromNode=' text4' fromField='value_changed' toNode=' big-trans1' toField='translation'/>
</Scene>
</X3D>
<!--

to top <!-- Event Graph ROUTE Table shows event connections -->
 
<!-- Index for DEF nodes: big-trans1, first-position, fourth-position, ref1, ref2, ref3, ref4, second-position, text1, text2, text3, text4, the-appearance, the-style, the-touch1, the-touch2, the-touch3, the-touch4, the-view, third-position, time1, time2, time3, time4

Index for Viewpoint node: the-view
-->

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

ROUTE
event to
(1)
time1
TimeSensor
startTime
SFTime

 
 
then
time1
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(2)
first-position
PositionInterpolator
set_fraction
SFFloat

 
 
then
first-position
PositionInterpolator
value_changed
SFVec3f

ROUTE
event to
(3)
the-view
Viewpoint
position
SFVec3f
 
 
 
then
time1
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(2)
text1
PositionInterpolator
set_fraction
SFFloat

 
 
then
text1
PositionInterpolator
value_changed
SFVec3f

ROUTE
event to
(3)
big-trans1
Transform
translation
SFVec3f


the-touch2
TouchSensor
touchTime
SFTime

ROUTE
event to
(1)
time2
TimeSensor
startTime
SFTime

 
 
then
time2
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(2)
second-position
PositionInterpolator
set_fraction
SFFloat

 
 
then
second-position
PositionInterpolator
value_changed
SFVec3f

ROUTE
event to
(3)
the-view
Viewpoint
position
SFVec3f
 
 
 
then
time2
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(2)
text2
PositionInterpolator
set_fraction
SFFloat

 
 
then
text2
PositionInterpolator
value_changed
SFVec3f

ROUTE
event to
(3)
big-trans1
Transform
translation
SFVec3f


the-touch3
TouchSensor
touchTime
SFTime

ROUTE
event to
(1)
time3
TimeSensor
startTime
SFTime

 
 
then
time3
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(2)
third-position
PositionInterpolator
set_fraction
SFFloat

 
 
then
third-position
PositionInterpolator
value_changed
SFVec3f

ROUTE
event to
(3)
the-view
Viewpoint
position
SFVec3f
 
 
 
then
time3
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(2)
text3
PositionInterpolator
set_fraction
SFFloat

 
 
then
text3
PositionInterpolator
value_changed
SFVec3f

ROUTE
event to
(3)
big-trans1
Transform
translation
SFVec3f


the-touch4
TouchSensor
touchTime
SFTime

ROUTE
event to
(1)
time4
TimeSensor
startTime
SFTime

 
 
then
time4
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(2)
fourth-position
PositionInterpolator
set_fraction
SFFloat

 
 
then
fourth-position
PositionInterpolator
value_changed
SFVec3f

ROUTE
event to
(3)
the-view
Viewpoint
position
SFVec3f
 
 
 
then
time4
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(2)
text4
PositionInterpolator
set_fraction
SFFloat

 
 
then
text4
PositionInterpolator
value_changed
SFVec3f

ROUTE
event to
(3)
big-trans1
Transform
translation
SFVec3f



-->

<!-- Online at
https://www.web3d.org/x3d/content/examples/ConformanceNist/SpecialGroups/LOD/test_centerIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/ConformanceNist/SpecialGroups/LOD/test_center.x3d -->

<!-- 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)
-->

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