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='hierarchy.x3d'/> |
6 | <meta name='MovingImage' content='hierarchy-movie.mpg'/> |
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='description' content='Test the effect of Transform hierarchy. A Sound node with default field and field values is placed in a Transform hierarchy in which it is translated (0 0 -10), scaled (0.4 0.4 1.75) and rotated (0 1 0 1.57). As a result, the "long axis" of the sound ellipsoids should be the Z-axis, and coincide with the lineset geometry (showing proper rotation), the size of the Sound ellipsoid should coincide with the size of the lineset geometry (showing proper scaling), and Viewpoints at the "center" of the Sound ellipsoids should coincide with the visible geometry center (showing proper translation). in the world should have the volume indicated in their accompanying Text.'/> |
17 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/ConformanceNist/Sounds/Sound/hierarchy.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='hierarchy.x3d'/> |
24 |
<!-- ROUTE information for OUTSIDEMAXFRONT node:
[from isBound to AVATARSCRIPT.printOutsideMaxFront
]
-->
<Viewpoint DEF='OUTSIDEMAXFRONT' description='FRONT: Outside max ellipsoid (no sound)' position='0 0 50'/> |
25 |
<!-- ROUTE information for JUSTOUTSIDEMAXFRONT node:
[from isBound to AVATARSCRIPT.printJustOutsideMaxFront
]
-->
<Viewpoint DEF='JUSTOUTSIDEMAXFRONT' description='Just outside max ellipsoid (no sound)' position='0 0 -5.9'/> |
26 |
<!-- ROUTE information for BETWEENFRONT node:
[from isBound to AVATARSCRIPT.printBetweenFront
]
-->
<Viewpoint DEF='BETWEENFRONT' description='Midway between max and min ellipsoids, (max sound -10dB)' position='0 0 -8'/> |
27 |
<!-- ROUTE information for MINFRONT node:
[from isBound to AVATARSCRIPT.printMinFront
]
-->
<Viewpoint DEF='MINFRONT' description='At min ellipsoid, (max sound volume)' position='0 0 -9.6'/> |
28 |
<!-- ROUTE information for MINCENTERFRONT node:
[from isBound to AVATARSCRIPT.printMinCenterFront
]
-->
<Viewpoint DEF='MINCENTERFRONT' description='Center of both ellipsoids, (max sound volume)' position='0 0 -10'/> |
29 |
<!-- ROUTE information for OUTSIDEMAXRIGHT node:
[from isBound to AVATARSCRIPT.printOutsideMaxRight
]
-->
<Viewpoint DEF='OUTSIDEMAXRIGHT' description='RIGHT: Outside max ellipsoid, (no sound)' orientation='0 1 0 1.57' position='50 0 -10'/> |
30 |
<!-- ROUTE information for JUSTOUTSIDEMAXRIGHT node:
[from isBound to AVATARSCRIPT.printJustOutsideMaxRight
]
-->
<Viewpoint DEF='JUSTOUTSIDEMAXRIGHT' description='Just outside max ellipsoid, (no sound)' orientation='0 1 0 1.57' position='17.6 0 -10'/> |
31 |
<!-- ROUTE information for BETWEENRIGHT node:
[from isBound to AVATARSCRIPT.printBetweenRight
]
-->
<Viewpoint DEF='BETWEENRIGHT' description='Midway between ellipsoids (max sound -10dB)' orientation='0 1 0 1.57' position='9.625 0 -10'/> |
32 |
<!-- ROUTE information for MINRIGHT node:
[from isBound to AVATARSCRIPT.printMinRight
]
-->
<Viewpoint DEF='MINRIGHT' description='At min ellipsoid (max sound)' orientation='0 1 0 1.57' position='1.75 0 -10'/> |
33 |
<!-- ROUTE information for MINCENTERRIGHT node:
[from isBound to AVATARSCRIPT.printMinCenterRight
]
-->
<Viewpoint DEF='MINCENTERRIGHT' description='At center of both ellipsoids, (max sound volume)' orientation='0 1 0 1.57' position='0 0 -10'/> |
34 |
<!-- ROUTE information for OUTSIDEMAXREAR node:
[from isBound to AVATARSCRIPT.printOutsideMaxRear
]
-->
<Viewpoint DEF='OUTSIDEMAXREAR' description='REAR: Outside max ellipsoid (no sound)' orientation='0 1 0 3.14' position='0 0 -50'/> |
35 |
<!-- ROUTE information for JUSTOUTSIDEMAXREAR node:
[from isBound to AVATARSCRIPT.printJustOutsideMaxRear
]
-->
<Viewpoint DEF='JUSTOUTSIDEMAXREAR' description='Just outside max ellipsoid (no sound)' orientation='0 1 0 3.14' position='0 0 -14.1'/> |
36 |
<!-- ROUTE information for BETWEENREAR node:
[from isBound to AVATARSCRIPT.printBetweenRear
]
-->
<Viewpoint DEF='BETWEENREAR' description='Midway between max and min ellipsoids, (max sound -10dB)' orientation='0 1 0 3.14' position='0 0 -12.2'/> |
37 |
<!-- ROUTE information for MINREAR node:
[from isBound to AVATARSCRIPT.printMinRear
]
-->
<Viewpoint DEF='MINREAR' description='At min ellipsoid, (max sound volume)' orientation='0 1 0 3.14' position='0 0 -10.4'/> |
38 |
<!-- ROUTE information for MINCENTERREAR node:
[from isBound to AVATARSCRIPT.printMinCenterRear
]
-->
<Viewpoint DEF='MINCENTERREAR' description='Center of bot ellipsoids, (max sound volume)' orientation='0 1 0 3.14' position='0 0 -10'/> |
39 |
<!-- ROUTE information for OUTSIDEMAXLEFT node:
[from isBound to AVATARSCRIPT.printOutsideMaxLeft
]
-->
<Viewpoint DEF='OUTSIDEMAXLEFT' description='LEFT: Outside max ellipsoid, (no sound)' orientation='0 1 0 -1.57' position='-50 0 -10'/> |
40 |
<!-- ROUTE information for JUSTOUTSIDEMAXLEFT node:
[from isBound to AVATARSCRIPT.printJustOutsideMaxLeft
]
-->
<Viewpoint DEF='JUSTOUTSIDEMAXLEFT' description='Just outside max ellipsoid, (no sound)' orientation='0 1 0 -1.57' position='-17.6 0 -10'/> |
41 |
<!-- ROUTE information for BETWEENLEFT node:
[from isBound to AVATARSCRIPT.printBetweenLeft
]
-->
<Viewpoint DEF='BETWEENLEFT' description='Midway between ellipsoids (max sound -10dB)' orientation='0 1 0 -1.57' position='-9.625 0 -10'/> |
42 |
<!-- ROUTE information for MINLEFT node:
[from isBound to AVATARSCRIPT.printMinLeft
]
-->
<Viewpoint DEF='MINLEFT' description='At min ellipsoid (max sound)' orientation='0 1 0 -1.57' position='-1.75 0 -10'/> |
43 |
<!-- ROUTE information for MINCENTERLEFT node:
[from isBound to AVATARSCRIPT.printMinCenterLeft
]
-->
<Viewpoint DEF='MINCENTERLEFT' description='At ellipsoid center, (max sound volume)' orientation='0 1 0 -1.57' position='0 0 -10'/> |
44 |
<!-- ROUTE information for OUTSIDEMAXTOP node:
[from isBound to AVATARSCRIPT.printOutsideMaxTop
]
-->
<Viewpoint DEF='OUTSIDEMAXTOP' description='TOP: Outside max ellipsoid, (no sound)' orientation='1 0 0 -1.57' position='0 50 -10'/> |
45 |
<!-- ROUTE information for JUSTOUTSIDEMAXTOP node:
[from isBound to AVATARSCRIPT.printJustOutsideMaxTop
]
-->
<Viewpoint DEF='JUSTOUTSIDEMAXTOP' description='Just outside max ellipsoid, (no sound)' orientation='1 0 0 -1.57' position='0 4.1 -10'/> |
46 |
<!-- ROUTE information for BETWEENTOP node:
[from isBound to AVATARSCRIPT.printBetweenTop
]
-->
<Viewpoint DEF='BETWEENTOP' description='Midway between ellipsoids (max sound -10dB)' orientation='1 0 0 -1.57' position='0 2.2 -10'/> |
47 |
<!-- ROUTE information for MINTOP node:
[from isBound to AVATARSCRIPT.printMinTop
]
-->
<Viewpoint DEF='MINTOP' description='At min ellipsoid (max sound)' orientation='1 0 0 -1.57' position='0 0.4 -10'/> |
48 |
<!-- ROUTE information for MINCENTERTOP node:
[from isBound to AVATARSCRIPT.printMinCenterTop
]
-->
<Viewpoint DEF='MINCENTERTOP' description='At ellipsoid center, (max sound volume)' orientation='1 0 0 -1.57' position='0 0 -10'/> |
49 |
<!-- ROUTE information for OUTSIDEMAXBOTTOM node:
[from isBound to AVATARSCRIPT.printOutsideMaxBottom
]
-->
<Viewpoint DEF='OUTSIDEMAXBOTTOM' description='BOTTOM: Outside max ellipsoid, (no sound)' orientation='1 0 0 1.57' position='0 -50 -10'/> |
50 |
<!-- ROUTE information for JUSTOUTSIDEMAXBOTTOM node:
[from isBound to AVATARSCRIPT.printJustOutsideMaxBottom
]
-->
<Viewpoint DEF='JUSTOUTSIDEMAXBOTTOM' description='Just outside max ellipsoid, (no sound)' orientation='1 0 0 1.57' position='0 -4.1 -10'/> |
51 |
<!-- ROUTE information for BETWEENBOTTOM node:
[from isBound to AVATARSCRIPT.printBetweenBottom
]
-->
<Viewpoint DEF='BETWEENBOTTOM' description='Midway between ellipsoids (max sound -10dB)' orientation='1 0 0 1.57' position='0 -2.2 -10'/> |
52 |
<!-- ROUTE information for MINBOTTOM node:
[from isBound to AVATARSCRIPT.printMinBottom
]
-->
<Viewpoint DEF='MINBOTTOM' description='At min ellipsoid (max sound)' orientation='1 0 0 1.57' position='0 -0.4 -10'/> |
53 |
<!-- ROUTE information for MINCENTERBOTTOM node:
[from isBound to AVATARSCRIPT.printMinCenterBottom
]
-->
<Viewpoint DEF='MINCENTERBOTTOM' description='At ellipsoid center, (max sound volume)' orientation='1 0 0 1.57' position='0 0 -10'/> |
54 | <Transform DEF='TRANS3' rotation='0 1 0 1.57' scale='0.4 0.4 1.75' translation='0 0 -10'> |
55 | <Sound DEF='MYSOUND'> |
56 | <AudioClip description='chimes' loop='true' url=' "chimes.wav" "https://www.web3d.org/x3d/content/examples/ConformanceNist/Sounds/AudioClip/chimes.wav" '/> |
57 | </Sound> |
58 | <Transform DEF='MINELLIPSOID'> |
59 | <Shape> |
60 | <Appearance> |
61 | <Material/> |
62 | </Appearance> |
63 | <IndexedLineSet colorPerVertex='false' colorIndex='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0' coordIndex='0 1 2 -1 2 1 3 -1 2 3 4 -1 4 3 5 -1 4 5 6 -1 6 5 7 -1 6 7 8 -1 8 7 9 -1 8 9 10 -1 1 11 3 -1 3 11 12 -1 3 12 5 -1 5 12 13 -1 5 13 7 -1 7 13 14 -1 7 14 9 -1 11 15 12 -1 12 15 16 -1 12 16 13 -1 13 16 17 -1 13 17 14 -1 15 18 16 -1 16 18 19 -1 16 19 17 -1 19 18 20 -1 10 9 21 -1 21 9 22 -1 21 22 23 -1 23 22 24 -1 23 24 25 -1 25 24 26 -1 25 26 27 -1 27 26 28 -1 27 28 29 -1 9 14 22 -1 22 14 30 -1 22 30 24 -1 24 30 31 -1 24 31 26 -1 26 31 32 -1 26 32 28 -1 14 17 30 -1 30 17 33 -1 30 33 31 -1 31 33 34 -1 31 34 32 -1 17 19 33 -1 33 19 35 -1 33 35 34 -1 35 19 20 -1 10 36 8 -1 8 36 37 -1 8 37 6 -1 6 37 38 -1 6 38 4 -1 4 38 39 -1 4 39 2 -1 2 39 40 -1 2 40 0 -1 36 41 37 -1 37 41 42 -1 37 42 38 -1 38 42 43 -1 38 43 39 -1 39 43 44 -1 39 44 40 -1 41 45 42 -1 42 45 46 -1 42 46 43 -1 43 46 47 -1 43 47 44 -1 45 48 46 -1 46 48 49 -1 46 49 47 -1 49 48 50 -1 29 51 27 -1 27 51 52 -1 27 52 25 -1 25 52 53 -1 25 53 23 -1 23 53 54 -1 23 54 21 -1 21 54 36 -1 21 36 10 -1 51 55 52 -1 52 55 56 -1 52 56 53 -1 53 56 57 -1 53 57 54 -1 54 57 41 -1 54 41 36 -1 55 58 56 -1 56 58 59 -1 56 59 57 -1 57 59 45 -1 57 45 41 -1 58 60 59 -1 59 60 48 -1 59 48 45 -1 48 60 50 -1 61 62 63 -1 63 62 64 -1 63 64 65 -1 65 64 66 -1 65 66 67 -1 67 66 68 -1 67 68 69 -1 69 68 1 -1 69 1 0 -1 62 70 64 -1 64 70 71 -1 64 71 66 -1 66 71 72 -1 66 72 68 -1 68 72 11 -1 68 11 1 -1 70 73 71 -1 71 73 74 -1 71 74 72 -1 72 74 15 -1 72 15 11 -1 73 75 74 -1 74 75 18 -1 74 18 15 -1 18 75 20 -1 29 28 76 -1 76 28 77 -1 76 77 78 -1 78 77 79 -1 78 79 80 -1 80 79 81 -1 80 81 82 -1 82 81 62 -1 82 62 61 -1 28 32 77 -1 77 32 83 -1 77 83 79 -1 79 83 84 -1 79 84 81 -1 81 84 70 -1 81 70 62 -1 32 34 83 -1 83 34 85 -1 83 85 84 -1 84 85 73 -1 84 73 70 -1 34 35 85 -1 85 35 75 -1 85 75 73 -1 75 35 20 -1 0 40 69 -1 69 40 86 -1 69 86 67 -1 67 86 87 -1 67 87 65 -1 65 87 88 -1 65 88 63 -1 63 88 89 -1 63 89 61 -1 40 44 86 -1 86 44 90 -1 86 90 87 -1 87 90 91 -1 87 91 88 -1 88 91 92 -1 88 92 89 -1 44 47 90 -1 90 47 93 -1 90 93 91 -1 91 93 94 -1 91 94 92 -1 47 49 93 -1 93 49 95 -1 93 95 94 -1 95 49 50 -1 61 89 82 -1 82 89 96 -1 82 96 80 -1 80 96 97 -1 80 97 78 -1 78 97 98 -1 78 98 76 -1 76 98 51 -1 76 51 29 -1 89 92 96 -1 96 92 99 -1 96 99 97 -1 97 99 100 -1 97 100 98 -1 98 100 55 -1 98 55 51 -1 92 94 99 -1 99 94 101 -1 99 101 100 -1 100 101 58 -1 100 58 55 -1 94 95 101 -1 101 95 60 -1 101 60 58 -1 60 95 50 -1'> |
64 | <Coordinate point='1 0 0 0.970142 0.242536 0 0.970142 0 0.242536 0.904534 0.301511 0.301511 0.83205 0 0.5547 0.666667 0.333333 0.666667 0.5547 0 0.83205 0.301511 0.301511 0.904534 0.242536 0 0.970142 0 0.242536 0.970142 0 0 1 0.83205 0.5547 0 0.666667 0.666667 0.333333 0.333333 0.666667 0.666667 0 0.5547 0.83205 0.5547 0.83205 0 0.301511 0.904534 0.301511 0 0.83205 0.5547 0.242536 0.970142 0 0 0.970142 0.242536 0 1 0 -0.242536 0 0.970142 -0.301511 0.301511 0.904534 -0.5547 0 0.83205 -0.666667 0.333333 0.666667 -0.83205 0 0.5547 -0.904534 0.301511 0.301511 -0.970142 0 0.242536 -0.970142 0.242536 0 -1 0 0 -0.333333 0.666667 0.666667 -0.666667 0.666667 0.333333 -0.83205 0.5547 0 -0.301511 0.904534 0.301511 -0.5547 0.83205 0 -0.242536 0.970142 0 0 -0.242536 0.970142 0.301511 -0.301511 0.904534 0.666667 -0.333333 0.666667 0.904534 -0.301511 0.301511 0.970142 -0.242536 0 0 -0.5547 0.83205 0.333333 -0.666667 0.666667 0.666667 -0.666667 0.333333 0.83205 -0.5547 0 0 -0.83205 0.5547 0.301511 -0.904534 0.301511 0.5547 -0.83205 0 0 -0.970142 0.242536 0.242536 -0.970142 0 0 -1 0 -0.970142 -0.242536 0 -0.904534 -0.301511 0.301511 -0.666667 -0.333333 0.666667 -0.301511 -0.301511 0.904534 -0.83205 -0.5547 0 -0.666667 -0.666667 0.333333 -0.333333 -0.666667 0.666667 -0.5547 -0.83205 0 -0.301511 -0.904534 0.301511 -0.242536 -0.970142 0 0 0 -1 0 0.242536 -0.970142 0.242536 0 -0.970142 0.301511 0.301511 -0.904534 0.5547 0 -0.83205 0.666667 0.333333 -0.666667 0.83205 0 -0.5547 0.904534 0.301511 -0.301511 0.970142 0 -0.242536 0 0.5547 -0.83205 0.333333 0.666667 -0.666667 0.666667 0.666667 -0.333333 0 0.83205 -0.5547 0.301511 0.904534 -0.301511 0 0.970142 -0.242536 -0.970142 0 -0.242536 -0.904534 0.301511 -0.301511 -0.83205 0 -0.5547 -0.666667 0.333333 -0.666667 -0.5547 0 -0.83205 -0.301511 0.301511 -0.904534 -0.242536 0 -0.970142 -0.666667 0.666667 -0.333333 -0.333333 0.666667 -0.666667 -0.301511 0.904534 -0.301511 0.904534 -0.301511 -0.301511 0.666667 -0.333333 -0.666667 0.301511 -0.301511 -0.904534 0 -0.242536 -0.970142 0.666667 -0.666667 -0.333333 0.333333 -0.666667 -0.666667 0 -0.5547 -0.83205 0.301511 -0.904534 -0.301511 0 -0.83205 -0.5547 0 -0.970142 -0.242536 -0.301511 -0.301511 -0.904534 -0.666667 -0.333333 -0.666667 -0.904534 -0.301511 -0.301511 -0.333333 -0.666667 -0.666667 -0.666667 -0.666667 -0.333333 -0.301511 -0.904534 -0.301511'/> |
65 | <Color color='1 0 0'/> |
66 | </IndexedLineSet> |
67 | </Shape> |
68 | </Transform> |
69 | <Transform DEF='MAXELLIPSOID'> |
70 | <Shape> |
71 | <Appearance> |
72 | <Material/> |
73 | </Appearance> |
74 | <IndexedLineSet colorPerVertex='false' colorIndex='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0' coordIndex='0 1 2 -1 2 1 3 -1 2 3 4 -1 4 3 5 -1 4 5 6 -1 6 5 7 -1 6 7 8 -1 8 7 9 -1 8 9 10 -1 1 11 3 -1 3 11 12 -1 3 12 5 -1 5 12 13 -1 5 13 7 -1 7 13 14 -1 7 14 9 -1 11 15 12 -1 12 15 16 -1 12 16 13 -1 13 16 17 -1 13 17 14 -1 15 18 16 -1 16 18 19 -1 16 19 17 -1 19 18 20 -1 10 9 21 -1 21 9 22 -1 21 22 23 -1 23 22 24 -1 23 24 25 -1 25 24 26 -1 25 26 27 -1 27 26 28 -1 27 28 29 -1 9 14 22 -1 22 14 30 -1 22 30 24 -1 24 30 31 -1 24 31 26 -1 26 31 32 -1 26 32 28 -1 14 17 30 -1 30 17 33 -1 30 33 31 -1 31 33 34 -1 31 34 32 -1 17 19 33 -1 33 19 35 -1 33 35 34 -1 35 19 20 -1 10 36 8 -1 8 36 37 -1 8 37 6 -1 6 37 38 -1 6 38 4 -1 4 38 39 -1 4 39 2 -1 2 39 40 -1 2 40 0 -1 36 41 37 -1 37 41 42 -1 37 42 38 -1 38 42 43 -1 38 43 39 -1 39 43 44 -1 39 44 40 -1 41 45 42 -1 42 45 46 -1 42 46 43 -1 43 46 47 -1 43 47 44 -1 45 48 46 -1 46 48 49 -1 46 49 47 -1 49 48 50 -1 29 51 27 -1 27 51 52 -1 27 52 25 -1 25 52 53 -1 25 53 23 -1 23 53 54 -1 23 54 21 -1 21 54 36 -1 21 36 10 -1 51 55 52 -1 52 55 56 -1 52 56 53 -1 53 56 57 -1 53 57 54 -1 54 57 41 -1 54 41 36 -1 55 58 56 -1 56 58 59 -1 56 59 57 -1 57 59 45 -1 57 45 41 -1 58 60 59 -1 59 60 48 -1 59 48 45 -1 48 60 50 -1 61 62 63 -1 63 62 64 -1 63 64 65 -1 65 64 66 -1 65 66 67 -1 67 66 68 -1 67 68 69 -1 69 68 1 -1 69 1 0 -1 62 70 64 -1 64 70 71 -1 64 71 66 -1 66 71 72 -1 66 72 68 -1 68 72 11 -1 68 11 1 -1 70 73 71 -1 71 73 74 -1 71 74 72 -1 72 74 15 -1 72 15 11 -1 73 75 74 -1 74 75 18 -1 74 18 15 -1 18 75 20 -1 29 28 76 -1 76 28 77 -1 76 77 78 -1 78 77 79 -1 78 79 80 -1 80 79 81 -1 80 81 82 -1 82 81 62 -1 82 62 61 -1 28 32 77 -1 77 32 83 -1 77 83 79 -1 79 83 84 -1 79 84 81 -1 81 84 70 -1 81 70 62 -1 32 34 83 -1 83 34 85 -1 83 85 84 -1 84 85 73 -1 84 73 70 -1 34 35 85 -1 85 35 75 -1 85 75 73 -1 75 35 20 -1 0 40 69 -1 69 40 86 -1 69 86 67 -1 67 86 87 -1 67 87 65 -1 65 87 88 -1 65 88 63 -1 63 88 89 -1 63 89 61 -1 40 44 86 -1 86 44 90 -1 86 90 87 -1 87 90 91 -1 87 91 88 -1 88 91 92 -1 88 92 89 -1 44 47 90 -1 90 47 93 -1 90 93 91 -1 91 93 94 -1 91 94 92 -1 47 49 93 -1 93 49 95 -1 93 95 94 -1 95 49 50 -1 61 89 82 -1 82 89 96 -1 82 96 80 -1 80 96 97 -1 80 97 78 -1 78 97 98 -1 78 98 76 -1 76 98 51 -1 76 51 29 -1 89 92 96 -1 96 92 99 -1 96 99 97 -1 97 99 100 -1 97 100 98 -1 98 100 55 -1 98 55 51 -1 92 94 99 -1 99 94 101 -1 99 101 100 -1 100 101 58 -1 100 58 55 -1 94 95 101 -1 101 95 60 -1 101 60 58 -1 60 95 50 -1'> |
75 | <Coordinate point='10 0 0 9.70142 2.42536 0 9.70142 0 2.42536 9.04534 3.01511 3.01511 8.3205 0 5.547 6.66667 3.33333 6.66667 5.547 0 8.3205 3.01511 3.01511 9.04534 2.42536 0 9.70142 0 2.42536 9.70142 0 0 10 8.3205 5.547 0 6.66667 6.66667 3.33333 3.33333 6.66667 6.66667 0 5.547 8.3205 5.547 8.3205 0 3.01511 9.04534 3.01511 0 8.3205 5.547 2.42536 9.70142 0 0 9.70142 2.42536 0 10 0 -2.42536 0 9.70142 -3.01511 3.01511 9.04534 -5.547 0 8.3205 -6.66667 3.33333 6.66667 -8.3205 0 5.547 -9.04534 3.01511 3.01511 -9.70142 0 2.42536 -9.70142 2.42536 0 -10 0 0 -3.33333 6.66667 6.66667 -6.66667 6.66667 3.33333 -8.3205 5.547 0 -3.01511 9.04534 3.01511 -5.547 8.3205 0 -2.42536 9.70142 0 0 -2.42536 9.70142 3.01511 -3.01511 9.04534 6.66667 -3.33333 6.66667 9.04534 -3.01511 3.01511 9.70142 -2.42536 0 0 -5.547 8.3205 3.33333 -6.66667 6.66667 6.66667 -6.66667 3.33333 8.3205 -5.547 0 0 -8.3205 5.547 3.01511 -9.04534 3.01511 5.547 -8.3205 0 0 -9.70142 2.42536 2.42536 -9.70142 0 0 -10 0 -9.70142 -2.42536 0 -9.04534 -3.01511 3.01511 -6.66667 -3.33333 6.66667 -3.01511 -3.01511 9.04534 -8.3205 -5.547 0 -6.66667 -6.66667 3.33333 -3.33333 -6.66667 6.66667 -5.547 -8.3205 0 -3.01511 -9.04534 3.01511 -2.42536 -9.70142 0 0 0 -10 0 2.42536 -9.70142 2.42536 0 -9.70142 3.01511 3.01511 -9.04534 5.547 0 -8.3205 6.66667 3.33333 -6.66667 8.3205 0 -5.547 9.04534 3.01511 -3.01511 9.70142 0 -2.42536 0 5.547 -8.3205 3.33333 6.66667 -6.66667 6.66667 6.66667 -3.33333 0 8.3205 -5.547 3.01511 9.04534 -3.01511 0 9.70142 -2.42536 -9.70142 0 -2.42536 -9.04534 3.01511 -3.01511 -8.3205 0 -5.547 -6.66667 3.33333 -6.66667 -5.547 0 -8.3205 -3.01511 3.01511 -9.04534 -2.42536 0 -9.70142 -6.66667 6.66667 -3.33333 -3.33333 6.66667 -6.66667 -3.01511 9.04534 -3.01511 9.04534 -3.01511 -3.01511 6.66667 -3.33333 -6.66667 3.01511 -3.01511 -9.04534 0 -2.42536 -9.70142 6.66667 -6.66667 -3.33333 3.33333 -6.66667 -6.66667 0 -5.47 -8.3205 3.01511 -9.04534 -3.01511 0 -8.3205 -5.547 0 -9.70142 -2.42536 -3.01511 -3.01511 -9.04534 -6.66667 -3.33333 -6.66667 -9.04534 -3.01511 -3.01511 -3.33333 -6.66667 -6.66667 -6.66667 -6.66667 -3.33333 -3.01511 -9.04534 -3.01511'/> |
76 | <Color color='0 0 1'/> |
77 | </IndexedLineSet> |
78 | </Shape> |
79 | </Transform> |
80 | </Transform> |
81 |
<!-- ROUTE information for PROX_SENSOR node:
[from position_changed to TRANS1.set_translation
]
[from orientation_changed to TRANS1.set_rotation
]
-->
<ProximitySensor DEF='PROX_SENSOR' size='1000 1000 1000'/> |
82 |
<!-- ROUTE information for TRANS1 node:
[from PROX_SENSOR.position_changed to set_translation
]
[from PROX_SENSOR.orientation_changed to set_rotation
]
-->
<Transform DEF='TRANS1'> |
83 | <Transform translation='-0.35 -0.15 -0.5'> |
84 | <Shape> |
85 | <Appearance> |
86 | <Material diffuseColor='1 1 1'/> |
87 | </Appearance> |
88 |
<!-- Text
TYPESTRING1 is a DEF node that has 1 USE node: USE_1 -->
<Text DEF='TYPESTRING1' string='"message from Script is inserted here"'> |
89 | <FontStyle size='0.03' style='BOLD'/> |
90 | </Text> |
91 | </Shape> |
92 | </Transform> |
93 | </Transform> |
94 |
<!-- ROUTE information for AVATARSCRIPT node:
[from OUTSIDEMAXFRONT.isBound to printOutsideMaxFront
]
[from JUSTOUTSIDEMAXFRONT.isBound to printJustOutsideMaxFront
]
[from BETWEENFRONT.isBound to printBetweenFront
]
[from MINFRONT.isBound to printMinFront
]
[from MINCENTERFRONT.isBound to printMinCenterFront
]
[from OUTSIDEMAXRIGHT.isBound to printOutsideMaxRight
]
[from JUSTOUTSIDEMAXRIGHT.isBound to printJustOutsideMaxRight
]
[from BETWEENRIGHT.isBound to printBetweenRight
]
[from MINRIGHT.isBound to printMinRight
]
[from MINCENTERRIGHT.isBound to printMinCenterRight
]
[from OUTSIDEMAXREAR.isBound to printOutsideMaxRear
]
[from JUSTOUTSIDEMAXREAR.isBound to printJustOutsideMaxRear
]
[from BETWEENREAR.isBound to printBetweenRear
]
[from MINREAR.isBound to printMinRear
]
[from MINCENTERREAR.isBound to printMinCenterRear
]
[from OUTSIDEMAXLEFT.isBound to printOutsideMaxLeft
]
[from JUSTOUTSIDEMAXLEFT.isBound to printJustOutsideMaxLeft
]
[from BETWEENLEFT.isBound to printBetweenLeft
]
[from MINLEFT.isBound to printMinLeft
]
[from MINCENTERLEFT.isBound to printMinCenterLeft
]
[from OUTSIDEMAXTOP.isBound to printOutsideMaxTop
]
[from JUSTOUTSIDEMAXTOP.isBound to printJustOutsideMaxTop
]
[from BETWEENTOP.isBound to printBetweenTop
]
[from MINTOP.isBound to printMinTop
]
[from MINCENTERTOP.isBound to printMinCenterTop
]
[from OUTSIDEMAXBOTTOM.isBound to printOutsideMaxBottom
]
[from JUSTOUTSIDEMAXBOTTOM.isBound to printJustOutsideMaxBottom
]
[from BETWEENBOTTOM.isBound to printBetweenBottom
]
[from MINBOTTOM.isBound to printMinBottom
]
[from MINCENTERBOTTOM.isBound to printMinCenterBottom
]
-->
<Script DEF='AVATARSCRIPT' directOutput='true' url=' "hierarchy.js" "https://www.web3d.org/x3d/content/examples/ConformanceNist/Sounds/Sound/hierarchy.js" '> |
95 | <field name='typestring1' type='SFNode' accessType='initializeOnly'> |
96 | <Text USE='TYPESTRING1'/> |
97 | </field> |
98 | <field name='printOutsideMaxFront' type='SFBool' accessType='inputOnly'/> |
99 | <field name='printJustOutsideMaxFront' type='SFBool' accessType='inputOnly'/> |
100 | <field name='printBetweenFront' type='SFBool' accessType='inputOnly'/> |
101 | <field name='printMinFront' type='SFBool' accessType='inputOnly'/> |
102 | <field name='printMinCenterFront' type='SFBool' accessType='inputOnly'/> |
103 | <field name='printOutsideMaxRight' type='SFBool' accessType='inputOnly'/> |
104 | <field name='printJustOutsideMaxRight' type='SFBool' accessType='inputOnly'/> |
105 | <field name='printBetweenRight' type='SFBool' accessType='inputOnly'/> |
106 | <field name='printMinRight' type='SFBool' accessType='inputOnly'/> |
107 | <field name='printMinCenterRight' type='SFBool' accessType='inputOnly'/> |
108 | <field name='printOutsideMaxRear' type='SFBool' accessType='inputOnly'/> |
109 | <field name='printJustOutsideMaxRear' type='SFBool' accessType='inputOnly'/> |
110 | <field name='printBetweenRear' type='SFBool' accessType='inputOnly'/> |
111 | <field name='printMinRear' type='SFBool' accessType='inputOnly'/> |
112 | <field name='printMinCenterRear' type='SFBool' accessType='inputOnly'/> |
113 | <field name='printOutsideMaxLeft' type='SFBool' accessType='inputOnly'/> |
114 | <field name='printJustOutsideMaxLeft' type='SFBool' accessType='inputOnly'/> |
115 | <field name='printBetweenLeft' type='SFBool' accessType='inputOnly'/> |
116 | <field name='printMinLeft' type='SFBool' accessType='inputOnly'/> |
117 | <field name='printMinCenterLeft' type='SFBool' accessType='inputOnly'/> |
118 | <field name='printOutsideMaxBottom' type='SFBool' accessType='inputOnly'/> |
119 | <field name='printJustOutsideMaxBottom' type='SFBool' accessType='inputOnly'/> |
120 | <field name='printBetweenBottom' type='SFBool' accessType='inputOnly'/> |
121 | <field name='printMinBottom' type='SFBool' accessType='inputOnly'/> |
122 | <field name='printMinCenterBottom' type='SFBool' accessType='inputOnly'/> |
123 | <field name='printOutsideMaxTop' type='SFBool' accessType='inputOnly'/> |
124 | <field name='printJustOutsideMaxTop' type='SFBool' accessType='inputOnly'/> |
125 | <field name='printBetweenTop' type='SFBool' accessType='inputOnly'/> |
126 | <field name='printMinTop' type='SFBool' accessType='inputOnly'/> |
127 | <field name='printMinCenterTop' type='SFBool' accessType='inputOnly'/> |
128 | <field name='outsideMaxFrontString' type='MFString' value='"FRONT VIEW: Outside maxFront (no sound)"' accessType='initializeOnly'/> |
129 | <field name='justOutsideMaxFrontString' type='MFString' value='"Just outside maxFront (no sound)"' accessType='initializeOnly'/> |
130 | <field name='betweenFrontString' type='MFString' value='"Midway between ellipsoids(max sound -10dB)"' accessType='initializeOnly'/> |
131 | <field name='minFrontString' type='MFString' value='"At minFront (max sound)"' accessType='initializeOnly'/> |
132 | <field name='minCenterFrontString' type='MFString' value='"At ellipsoid center (max sound)"' accessType='initializeOnly'/> |
133 | <field name='outsideMaxRightString' type='MFString' value='"RIGHT VIEW: Outside max ellipsoid (no sound)"' accessType='initializeOnly'/> |
134 | <field name='justOutsideMaxRightString' type='MFString' value='"Just outside max ellipsoid (no sound)"' accessType='initializeOnly'/> |
135 | <field name='betweenRightString' type='MFString' value='"Midway between ellipsoids (max sound -10dB)"' accessType='initializeOnly'/> |
136 | <field name='minRightString' type='MFString' value='"At min ellipsoid (max sound)"' accessType='initializeOnly'/> |
137 | <field name='minCenterRightString' type='MFString' value='"At ellipsoid center (max sound)"' accessType='initializeOnly'/> |
138 | <field name='outsideMaxRearString' type='MFString' value='"REAR VIEW: Outside maxBack (no sound)"' accessType='initializeOnly'/> |
139 | <field name='justOutsideMaxRearString' type='MFString' value='"Just outside maxBack (no sound)"' accessType='initializeOnly'/> |
140 | <field name='betweenRearString' type='MFString' value='"Midway between maxBack and minBack (max sound -10dB)"' accessType='initializeOnly'/> |
141 | <field name='minRearString' type='MFString' value='"At minBack (max sound)"' accessType='initializeOnly'/> |
142 | <field name='minCenterRearString' type='MFString' value='"At ellipsoid center (max sound)"' accessType='initializeOnly'/> |
143 | <field name='outsideMaxLeftString' type='MFString' value='"LEFT VIEW: Outside max ellipsoid (no sound)"' accessType='initializeOnly'/> |
144 | <field name='justOutsideMaxLeftString' type='MFString' value='"Just outside max ellipsoid (no sound)"' accessType='initializeOnly'/> |
145 | <field name='betweenLeftString' type='MFString' value='"Midway between ellipsoids (max sound -10dB)"' accessType='initializeOnly'/> |
146 | <field name='minLeftString' type='MFString' value='"At min ellipsoid (max sound)"' accessType='initializeOnly'/> |
147 | <field name='minCenterLeftString' type='MFString' value='"At ellipsoid center (max sound)"' accessType='initializeOnly'/> |
148 | <field name='outsideMaxTopString' type='MFString' value='"TOP VIEW: Outside max ellipsoid (no sound)"' accessType='initializeOnly'/> |
149 | <field name='justOutsideMaxTopString' type='MFString' value='"Just outside max ellipsoid (no sound)"' accessType='initializeOnly'/> |
150 | <field name='betweenTopString' type='MFString' value='"Midway between ellipsoids (max sound -10dB)"' accessType='initializeOnly'/> |
151 | <field name='minTopString' type='MFString' value='"At min ellipsoid (max sound)"' accessType='initializeOnly'/> |
152 | <field name='minCenterTopString' type='MFString' value='"At ellipsoid center top (max sound)"' accessType='initializeOnly'/> |
153 | <field name='minCenterBottomString' type='MFString' value='"At ellipsoid center bottom (max sound)"' accessType='initializeOnly'/> |
154 | <field name='outsideMaxBottomString' type='MFString' value='"BOTTOM VIEW: Outside max ellipsoid (no sound)"' accessType='initializeOnly'/> |
155 | <field name='justOutsideMaxBottomString' type='MFString' value='"Just outside max ellipsoid (no sound)"' accessType='initializeOnly'/> |
156 | <field name='betweenBottomString' type='MFString' value='"Midway between ellipsoids (max sound -10dB)"' accessType='initializeOnly'/> |
157 | <field name='minBottomString' type='MFString' value='"At min ellipsoid (max sound)"' accessType='initializeOnly'/> |
158 | </Script> |
159 | < ROUTE fromNode='OUTSIDEMAXFRONT' fromField='isBound' toNode='AVATARSCRIPT' toField='printOutsideMaxFront'/> |
160 | < ROUTE fromNode='JUSTOUTSIDEMAXFRONT' fromField='isBound' toNode='AVATARSCRIPT' toField='printJustOutsideMaxFront'/> |
161 | < ROUTE fromNode='BETWEENFRONT' fromField='isBound' toNode='AVATARSCRIPT' toField='printBetweenFront'/> |
162 | < ROUTE fromNode='MINFRONT' fromField='isBound' toNode='AVATARSCRIPT' toField='printMinFront'/> |
163 | < ROUTE fromNode='MINCENTERFRONT' fromField='isBound' toNode='AVATARSCRIPT' toField='printMinCenterFront'/> |
164 | < ROUTE fromNode='OUTSIDEMAXRIGHT' fromField='isBound' toNode='AVATARSCRIPT' toField='printOutsideMaxRight'/> |
165 | < ROUTE fromNode='JUSTOUTSIDEMAXRIGHT' fromField='isBound' toNode='AVATARSCRIPT' toField='printJustOutsideMaxRight'/> |
166 | < ROUTE fromNode='BETWEENRIGHT' fromField='isBound' toNode='AVATARSCRIPT' toField='printBetweenRight'/> |
167 | < ROUTE fromNode='MINRIGHT' fromField='isBound' toNode='AVATARSCRIPT' toField='printMinRight'/> |
168 | < ROUTE fromNode='MINCENTERRIGHT' fromField='isBound' toNode='AVATARSCRIPT' toField='printMinCenterRight'/> |
169 | < ROUTE fromNode='OUTSIDEMAXREAR' fromField='isBound' toNode='AVATARSCRIPT' toField='printOutsideMaxRear'/> |
170 | < ROUTE fromNode='JUSTOUTSIDEMAXREAR' fromField='isBound' toNode='AVATARSCRIPT' toField='printJustOutsideMaxRear'/> |
171 | < ROUTE fromNode='BETWEENREAR' fromField='isBound' toNode='AVATARSCRIPT' toField='printBetweenRear'/> |
172 | < ROUTE fromNode='MINREAR' fromField='isBound' toNode='AVATARSCRIPT' toField='printMinRear'/> |
173 | < ROUTE fromNode='MINCENTERREAR' fromField='isBound' toNode='AVATARSCRIPT' toField='printMinCenterRear'/> |
174 | < ROUTE fromNode='OUTSIDEMAXLEFT' fromField='isBound' toNode='AVATARSCRIPT' toField='printOutsideMaxLeft'/> |
175 | < ROUTE fromNode='JUSTOUTSIDEMAXLEFT' fromField='isBound' toNode='AVATARSCRIPT' toField='printJustOutsideMaxLeft'/> |
176 | < ROUTE fromNode='BETWEENLEFT' fromField='isBound' toNode='AVATARSCRIPT' toField='printBetweenLeft'/> |
177 | < ROUTE fromNode='MINLEFT' fromField='isBound' toNode='AVATARSCRIPT' toField='printMinLeft'/> |
178 | < ROUTE fromNode='MINCENTERLEFT' fromField='isBound' toNode='AVATARSCRIPT' toField='printMinCenterLeft'/> |
179 | < ROUTE fromNode='OUTSIDEMAXTOP' fromField='isBound' toNode='AVATARSCRIPT' toField='printOutsideMaxTop'/> |
180 | < ROUTE fromNode='JUSTOUTSIDEMAXTOP' fromField='isBound' toNode='AVATARSCRIPT' toField='printJustOutsideMaxTop'/> |
181 | < ROUTE fromNode='BETWEENTOP' fromField='isBound' toNode='AVATARSCRIPT' toField='printBetweenTop'/> |
182 | < ROUTE fromNode='MINTOP' fromField='isBound' toNode='AVATARSCRIPT' toField='printMinTop'/> |
183 | < ROUTE fromNode='MINCENTERTOP' fromField='isBound' toNode='AVATARSCRIPT' toField='printMinCenterTop'/> |
184 | < ROUTE fromNode='OUTSIDEMAXBOTTOM' fromField='isBound' toNode='AVATARSCRIPT' toField='printOutsideMaxBottom'/> |
185 | < ROUTE fromNode='JUSTOUTSIDEMAXBOTTOM' fromField='isBound' toNode='AVATARSCRIPT' toField='printJustOutsideMaxBottom'/> |
186 | < ROUTE fromNode='BETWEENBOTTOM' fromField='isBound' toNode='AVATARSCRIPT' toField='printBetweenBottom'/> |
187 | < ROUTE fromNode='MINBOTTOM' fromField='isBound' toNode='AVATARSCRIPT' toField='printMinBottom'/> |
188 | < ROUTE fromNode='MINCENTERBOTTOM' fromField='isBound' toNode='AVATARSCRIPT' toField='printMinCenterBottom'/> |
189 | < ROUTE fromNode='PROX_SENSOR' fromField='position_changed' toNode='TRANS1' toField='set_translation'/> |
190 | < ROUTE fromNode='PROX_SENSOR' fromField='orientation_changed' toNode='TRANS1' toField='set_rotation'/> |
191 | </Scene> |
192 | </X3D> |
Event Graph ROUTE Table entries with 32 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.
PROX_SENSOR
ProximitySensor position_changed SFVec3f |
TRANS1
Transform set_translation SFVec3f |
|
PROX_SENSOR
ProximitySensor orientation_changed SFRotation |
TRANS1
Transform set_rotation SFRotation |
<!--
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. -->