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='location.x3d'/> |
6 | <meta name='MovingImage' content='location-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 location. A default parametered Sound node is moved to to different locations in a world, using two buttons. If the user presses the "Close location" button, the Sound node "location" field is set to the closer sound ellipsoid. If the user presses the "Distant location" button, the Sound node "location" field is set to the center of the more distant ellipsoid geometry. If the viewer then uses the pre-defined Viewpoints in this world to navigate between the two ellipsoids, they should hear the "chime" sound when they move to the center of which ever 3 ellipsoid is currently the "location" of the Sound node. When moving to an ellpsoid that is not the current "location", there should be no audible chime sound.'/> |
17 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/ConformanceNist/Sounds/Sound/location.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='location.x3d'/> |
24 | <Viewpoint description='Initial View' position='0 0 60'/> |
25 | <Viewpoint DEF='CLOSE' description='Close location' position='-8 -5 5'/> |
26 | <Viewpoint description='Initial View #2' position='0 0 60'/> |
27 | <Viewpoint DEF='DISTANT' description='Distant location' position='20 5 -20'/> |
28 |
<!-- ROUTE information for PROX_SENSOR node:
[from position_changed to LOCATION_CLOSE.set_translation
]
[from orientation_changed to LOCATION_CLOSE.set_rotation
]
[from position_changed to LOCATION_FAR.set_translation
]
[from orientation_changed to LOCATION_FAR.set_rotation
]
-->
<ProximitySensor DEF='PROX_SENSOR' size='1000 1000 1000'/> |
29 | |
30 | <AudioClip description='chimes' loop='true' url=' "chimes.wav" "https://www.web3d.org/x3d/content/examples/ConformanceNist/Sounds/AudioClip/chimes.wav" '/> |
31 | </Sound> |
32 | <Transform DEF='TRANS2' translation='-8 -5 5'> |
33 | <Transform> |
34 | <Shape> |
35 | <Appearance> |
36 | <Material/> |
37 | </Appearance> |
38 | <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'> |
39 |
<!-- Coordinate
SpherePoints is a DEF node that has 1 USE node: USE_1 --> <Coordinate DEF='SpherePoints' 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'/> |
40 | <Color color='1 0 0'/> |
41 | </IndexedLineSet> |
42 | </Shape> |
43 | </Transform> |
44 | <Transform> |
45 | <Shape> |
46 | <Appearance> |
47 | <Material/> |
48 | </Appearance> |
49 | <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'> |
50 | <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'/> |
51 |
<!-- Color
ELLIPSOID2 is a DEF node that has 1 USE node: USE_1 --> <Color DEF='ELLIPSOID2' color='0 0 1'/> |
52 | </IndexedLineSet> |
53 | </Shape> |
54 | </Transform> |
55 | </Transform> |
56 | <Transform DEF='TRANS3' translation='20 5 -20'> |
57 | <Transform> |
58 | <Shape> |
59 | <Appearance> |
60 | <Material/> |
61 | </Appearance> |
62 | <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'> |
63 | <Coordinate USE='SpherePoints'/> |
64 | <Color color='1 0 0'/> |
65 | </IndexedLineSet> |
66 | </Shape> |
67 | </Transform> |
68 | <Transform> |
69 | <Shape> |
70 | <Appearance> |
71 | <Material/> |
72 | </Appearance> |
73 | <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'> |
74 | <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'/> |
75 |
<!-- Color
ELLIPSOID3 is a DEF node that has 1 USE node: USE_1 --> <Color DEF='ELLIPSOID3' color='0 0 1'/> |
76 | </IndexedLineSet> |
77 | </Shape> |
78 | </Transform> |
79 | </Transform> |
80 |
<!-- ROUTE information for LOCATION_CLOSE node:
[from PROX_SENSOR.position_changed to set_translation
]
[from PROX_SENSOR.orientation_changed to set_rotation
]
-->
<Transform DEF='LOCATION_CLOSE'> |
81 | <Transform translation='-3 -0.75 -5'> |
82 |
<!-- ROUTE information for TOUCHCLOSE node:
[from isActive to SOUND_SCRIPT.colorEllipse3
]
-->
<TouchSensor DEF='TOUCHCLOSE' description='touch to activate CLOSE'/> |
83 | <Shape> |
84 | <Appearance> |
85 | <Material ambientIntensity='1' diffuseColor='0 1 0'/> |
86 | </Appearance> |
87 | <Box DEF='X' size='1.5 1 0.1'/> |
88 | </Shape> |
89 | <Transform translation='-0.55 0 0.2'> |
90 | <Shape> |
91 | <Appearance> |
92 | <Material ambientIntensity='1' diffuseColor='0 0 0'/> |
93 | </Appearance> |
94 | <Text string='"Distant" "location"'> |
95 | <FontStyle size='0.35'/> |
96 | </Text> |
97 | </Shape> |
98 | </Transform> |
99 | </Transform> |
100 | </Transform> |
101 |
<!-- ROUTE information for LOCATION_FAR node:
[from PROX_SENSOR.position_changed to set_translation
]
[from PROX_SENSOR.orientation_changed to set_rotation
]
-->
<Transform DEF='LOCATION_FAR'> |
102 | <Transform translation='-3 0.75 -5'> |
103 |
<!-- ROUTE information for TOUCHFAR node:
[from isActive to SOUND_SCRIPT.colorEllipse2
]
-->
<TouchSensor DEF='TOUCHFAR' description='touch to activate FAR'/> |
104 | <Shape> |
105 | <Appearance> |
106 | <Material ambientIntensity='1' diffuseColor='1 1 0'/> |
107 | </Appearance> |
108 | <Box DEF='Y' size='1.5 1 0.1'/> |
109 | </Shape> |
110 | <Transform translation='-0.55 0 0.2'> |
111 | <Shape> |
112 | <Appearance> |
113 | <Material ambientIntensity='1' diffuseColor='0 0 0'/> |
114 | </Appearance> |
115 | <Text string='"Close" "location"'> |
116 | <FontStyle size='0.35'/> |
117 | </Text> |
118 | </Shape> |
119 | </Transform> |
120 | </Transform> |
121 | </Transform> |
122 |
<!-- ROUTE information for SOUND_SCRIPT node:
[from TOUCHCLOSE.isActive to colorEllipse3
]
[from TOUCHFAR.isActive to colorEllipse2
]
-->
<Script DEF='SOUND_SCRIPT' directOutput='true' url=' "location.js" "https://www.web3d.org/x3d/content/examples/ConformanceNist/Sounds/Sound/location.js" '> |
123 | <field name='sound1' type='SFNode' accessType='initializeOnly'> |
124 | <Sound USE='SOUND1'/> |
125 | </field> |
126 | <field name='ellipsoid2' type='SFNode' accessType='initializeOnly'> |
127 | <Color USE='ELLIPSOID2'/> |
128 | </field> |
129 | <field name='ellipsoid3' type='SFNode' accessType='initializeOnly'> |
130 | <Color USE='ELLIPSOID3'/> |
131 | </field> |
132 | <field name='yellow' type='MFColor' value='0.75 0.75 0.00' accessType='initializeOnly'/> |
133 | <field name='blue' type='MFColor' value='0.00 0.00 1.00' accessType='initializeOnly'/> |
134 | <field name='colorEllipse2' type='SFBool' accessType='inputOnly'/> |
135 | <field name='colorEllipse3' type='SFBool' accessType='inputOnly'/> |
136 | <field name='near' type='SFVec3f' value='-8 -5 5' accessType='initializeOnly'/> |
137 | <field name='far' type='SFVec3f' value='20 5 -20' accessType='initializeOnly'/> |
138 | </Script> |
139 | < ROUTE fromNode='PROX_SENSOR' fromField='position_changed' toNode='LOCATION_CLOSE' toField='set_translation'/> |
140 | < ROUTE fromNode='PROX_SENSOR' fromField='orientation_changed' toNode='LOCATION_CLOSE' toField='set_rotation'/> |
141 | < ROUTE fromNode='PROX_SENSOR' fromField='position_changed' toNode='LOCATION_FAR' toField='set_translation'/> |
142 | < ROUTE fromNode='PROX_SENSOR' fromField='orientation_changed' toNode='LOCATION_FAR' toField='set_rotation'/> |
143 | < ROUTE fromNode='TOUCHCLOSE' fromField='isActive' toNode='SOUND_SCRIPT' toField='colorEllipse3'/> |
144 | < ROUTE fromNode='TOUCHFAR' fromField='isActive' toNode='SOUND_SCRIPT' toField='colorEllipse2'/> |
145 | </Scene> |
146 | </X3D> |
Event Graph ROUTE Table entries with 6 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.
TOUCHCLOSE
TouchSensor isActive SFBool |
SOUND_SCRIPT
Script colorEllipse3 SFBool |
TOUCHFAR
TouchSensor isActive SFBool |
SOUND_SCRIPT
Script colorEllipse2 SFBool |
PROX_SENSOR
ProximitySensor position_changed SFVec3f |
LOCATION_CLOSE
Transform set_translation SFVec3f |
|
PROX_SENSOR
ProximitySensor orientation_changed SFRotation |
LOCATION_CLOSE
Transform set_rotation SFRotation |
|
PROX_SENSOR
ProximitySensor position_changed SFVec3f |
LOCATION_FAR
Transform set_translation SFVec3f |
|
PROX_SENSOR
ProximitySensor orientation_changed SFRotation |
LOCATION_FAR
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. -->