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='Figure28_2AnchorLoadAnotherWorld.x3d'/> |
6 | <meta name='creator' content='Figure 28.2, The VRML 2.0 Sourcebook, Copyright [1997] By Andrea L. Ames, David R. Nadeau, and John L. Moreland'/> |
7 | <meta name='reference' content='http://www.wiley.com/legacy/compbooks/vrml2sbk/ch28/28fig02.htm'/> |
8 | <meta name='translator' content='Don Brutzman'/> |
9 | <meta name='created' content='6 October 2000'/> |
10 | <meta name='modified' content='20 October 2019'/> |
11 | <meta name='description' content='Anchor parameter/target demonstrations: click left text to load another scene in the same window, or click right text to load another scene in a new window.'/> |
12 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter28Anchor/Figure28_2AnchorLoadAnotherWorld.x3d'/> |
13 | <meta name='generator' content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/> |
14 | <meta name='license' content='../../license.html'/> |
15 | </head> |
16 | <Scene> |
17 | <WorldInfo title='Figure28_2AnchorLoadAnotherWorld.x3d'/> |
18 | <Viewpoint description='Forward view' position='0 1.6 5'/> |
19 | <Viewpoint DEF='RIGHT_CORNER_DEF_NAME' description='Right corner view' orientation='0 1 0 0.611' position='3.5 1.6 3.5'/> |
20 | <Viewpoint DEF='LEFT_CORNER_DEF_NAME' description='Left corner view' orientation='0 1 0 -0.611' position='-3.5 1.6 3.5'/> |
21 | <NavigationInfo avatarSize='2 1 0.5' headlight='false' speed='2' type='"EXAMINE" "WALK" "ANY"'/> |
22 | <Inline url=' "../Chapter25LevelOfDetail/Figure25_12DungeonRoomsWithSlidingDoors.x3d" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter25LevelOfDetail/Figure25_12DungeonRoomsWithSlidingDoors.x3d" "../Chapter25LevelOfDetail/Figure25_12DungeonRoomsWithSlidingDoors.wrl" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter25LevelOfDetail/Figure25_12DungeonRoomsWithSlidingDoors.wrl" '/> |
23 | <Anchor description='Replace this scene by loading a new world' url=' "../../Basic/course/HelloX3dAuthors.x3d" "https://www.web3d.org/x3d/content/examples/Basic/course/HelloX3dAuthors.x3d" "../../Basic/course/HelloX3dAuthors.wrl" "https://www.web3d.org/x3d/content/examples/Basic/course/HelloX3dAuthors.wrl" '> |
24 | <Transform translation='-1.75 0.6 0.15'> |
25 | <Collision enabled='false'> |
26 | <Shape> |
27 | <Text string='"Click for" "new world in" "same window"'> |
28 |
<!-- FontStyle
TextFontStyle is a DEF node that has 1 USE node: USE_1 --> <FontStyle DEF='TextFontStyle' justify='"MIDDLE" "MIDDLE"' size='0.2'/> |
29 | </Text> |
30 |
<!-- Appearance
TextAppearance is a DEF node that has 1 USE node: USE_1 -->
<Appearance DEF='TextAppearance'> |
31 | <Material diffuseColor='0.1 0.8 0.8' emissiveColor='0 0.4 0.4' shininess='0.4' specularColor='0.8 0.8 0.8'/> |
32 | </Appearance> |
33 | </Shape> |
34 |
<!-- Transform
BackingBoxForText is a DEF node that has 1 USE node: USE_1 -->
<Transform DEF='BackingBoxForText' translation='0 -0.175 -0.1'> |
35 | <Shape> |
36 | <Box size='1.2 0.75 0.02'/> |
37 | <Appearance> |
38 | <Material diffuseColor='0.9 0.9 0.9' emissiveColor='0.9 0.9 0.9'/> |
39 | </Appearance> |
40 | </Shape> |
41 | </Transform> |
42 | </Collision> |
43 | </Transform> |
44 | </Anchor> |
45 | <!-- Anchor parameter target=_blank launches browser results into a new window --> |
46 | <Anchor description='Pop up a new world in a different window' parameter='"target=_blank"' url=' "../../Basic/course/HelloX3dAuthors.x3d" "https://www.web3d.org/x3d/content/examples/Basic/course/HelloX3dAuthors.x3d" "../../Basic/course/HelloX3dAuthors.wrl" "https://www.web3d.org/x3d/content/examples/Basic/course/HelloX3dAuthors.wrl" '> |
47 | <Transform translation='1.75 0.6 0.15'> |
48 | <Collision enabled='false'> |
49 | <Shape> |
50 | <Text string='"Click for" "new world in" "new window"'> |
51 | <FontStyle USE='TextFontStyle'/> |
52 | </Text> |
53 | <Appearance USE='TextAppearance'/> |
54 | </Shape> |
55 | <Transform USE='BackingBoxForText'/> |
56 | </Collision> |
57 | </Transform> |
58 | </Anchor> |
59 | </Scene> |
60 | </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='Replace this scene by loading a new world' User-interaction hint for this node. |
Anchor |
description='Pop up a new world in a different window' 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. -->