1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
|
3 | <X3D profile='Interactive' version='3.3' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.3.xsd'> |
4 | <head> |
5 | <meta name='title' content='AnchorExample.x3d'/> |
6 | <meta name='description' content='Simple anchor example illustrates the use of an Anchor link around the shapes used to build a door. Clicking on the door jumps you to a new world, the Stairway.'/> |
7 | <meta name='creator' content='David R. Nadeau'/> |
8 | <meta name='translator' content='Don Brutzman'/> |
9 | <meta name='created' content='1 July 1998'/> |
10 | <meta name='translated' content='2 February 2014'/> |
11 | <meta name='modified' content='1 September 2023'/> |
12 | <meta name='reference' content='Stairway.x3d'/> |
13 | <meta name='reference' content='originals/anchor.wrl'/> |
14 | <meta name='reference' content='http://www.siggraph.org/s98'/> |
15 | <meta name='reference' content='http://www.siggraph.org/s98/conference/courses/18.html'/> |
16 | <meta name='reference' content='http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/slides/mt0095.htm'/> |
17 | <meta name='reference' content='http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/vrml97.htm'/> |
18 | <meta name='reference' content='https://www.web3d.org/x3d/content/examples/X3dResources.html'/> |
19 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/AnchorExample.x3d'/> |
20 | <meta name='generator' content='Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html'/> |
21 | <meta name='generator' content='X3D-Edit, https://savage.nps.edu/X3D-Edit'/> |
22 | <meta name='license' content='../license.html'/> |
23 | </head> |
24 | <Scene> |
25 | <!-- Things to experiment with: --> |
26 | <!-- Change the anchor's URL to point to one of your own worlds. --> |
27 | <!-- Add more doors and stairs. Add walls, floor, ceiling, etc. --> |
28 | <WorldInfo title='AnchorExample.x3d'/> |
29 | <Transform translation='0.0 -2.5 0.0'> |
30 | |
31 | <Appearance> |
32 | <Material diffuseColor='1.0 1.0 1.0'/> |
33 | </Appearance> |
34 | <Box size='4.0 0.25 1.0'/> |
35 | </Shape> |
36 | <Transform translation='0.0 0.5 -1.0'> |
37 | <Shape USE='Stair'/> |
38 | </Transform> |
39 | <Transform translation='0.0 1.0 -2.0'> |
40 | <Shape USE='Stair'/> |
41 | </Transform> |
42 | <Transform translation='0.0 4.125 -2.6'> |
43 | <Anchor description='Twisty Stairs' url=' "Stairway.x3d" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Stairway.x3d" "Stairway.wrl" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Stairway.wrl" '> |
44 | <Shape> |
45 | <Appearance> |
46 | <Material diffuseColor='0.6 0.4 0.0'/> |
47 | </Appearance> |
48 | <Box size='3.0 6.0 0.2'/> |
49 | </Shape> |
50 | <Transform translation='1.18 -0.0 0.2'> |
51 | <Shape> |
52 | <Appearance> |
53 | <Material diffuseColor='0.3 0.3 0.3'/> |
54 | </Appearance> |
55 | <Sphere radius='0.15'/> |
56 | </Shape> |
57 | </Transform> |
58 | </Anchor> |
59 | </Transform> |
60 | </Transform> |
61 | </Scene> |
62 | </X3D> |
Event Graph ROUTE Table with 0 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.
Anchor |
description='Twisty Stairs' User-interaction hint for this node. |
<!--
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. -->