X3D Model Documentation: AnchorExample.x3d

  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='Immersive' 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='titlecontent='AnchorExample.x3d'/>
  6            <meta name='descriptioncontent='Anchor example using the Kelp Forest world.'/>
  7            <meta name='creatorcontent='Leonard Daly, Don Brutzman and Marlon Heron'/>
  8            <meta name='createdcontent='14 November 2005'/>
  9            <meta name='modifiedcontent='27 July 2024'/>
 10            <meta name='referencecontent='Show Anchor link to Monterey Bay Aquarium web site for Kelp Forest exhibit'/>
 11            <meta name='Imagecontent='KelpForestLiveWebCam.jpg'/>
 12            <meta name='referencecontent='http://www.montereybayaquarium.org/animals-and-experiences/live-web-cams/kelp-forest-cam'/>
 13            <meta name='referencecontent='http://www.montereybayaquarium.org/animals-and-experiences/exhibits/kelp-forest'/>
 14            <meta name='referencecontent='https://www.web3d.org/x3d/content/examples/X3dResources.html'/>
 15            <meta name='rightscontent='Copyright (c) 2005, Daly Realism and Don Brutzman'/>
 16            <meta name='subjectcontent='X3D book, X3D graphics, X3D-Edit, http://www.x3dGraphics.com'/>
 17            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter04ViewingNavigation/AnchorExample.x3d'/>
 18            <meta name='generatorcontent='X3D-Edit 4.0, https://savage.nps.edu/X3D-Edit'/>
 19            <meta name='licensecontent='../license.html'/>
 20       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->

<!-- to top Index for DEF nodes: AnchorExample, Autumn11, WebCamAnchor

Index for Viewpoint node: Viewpoint_1
-->
 21       <Scene>
 22            <WorldInfo title='AnchorExample.x3d'/>
 23            <Transform translation='0 8 30'>
 24                 <Viewpoint description='view Anchor textposition='0 -1 12'/>
 25                 <Transform translation='-2.25 0 0'>
 26                      <Anchor DEF='AnchorExampledescription='Aquarium Exhibit Web Siteparameter='"target=_blank"'   url=' "http://www.montereybayaquarium.org/animals-and-experiences/exhibits/kelp-forest" '>
 27                           <Shape>
 28                                <Text string='"Click orange text for" "Monterey Bay Aquarium" "kelp forest web site"'>
 29                                     <FontStyle justify='"MIDDLE" "MIDDLE"size='0.6'/>
 30                                </Text>
 31                                <Appearance>
 32                                     <Material DEF='Autumn11ambientIntensity='0.25641diffuseColor='0.795918 0.273554 0.006861shininess='1specularColor='0.48655 0.319155 0.444036'/>
 33                                </Appearance>
 34                           </Shape>
 35                           <!-- Add transparent geometry over the text to make clicking (i.e. Anchor selection) easier -->
 36                           <Shape>
 37                                <Box size='6 2 0.02'/>
 38                                <Appearance>
 39                                     <Material transparency='1'/>
 40                                </Appearance>
 41                           </Shape>
 42                      </Anchor>
 43                 </Transform>
 44                 <Transform translation='3.25 0 0'>
 45                      <Anchor DEF='WebCamAnchordescription='Click to see Kelp Forest Live Web Camparameter='"target=_blank"'   url=' "http://www.montereybayaquarium.org/animals-and-experiences/live-web-cams/kelp-forest-cam" '>
 46                           <Transform scale='0.938 0.729 1'>
 47                                <Shape>
 48                                     <IndexedFaceSet solid='falsecoordIndex='0 1 2 3 0 -1'>
 49                                          <Coordinate point='1 1 0 1 -1 0 -1 -1 0 -1 1 0'/>
 50                                     </IndexedFaceSet>
 51                                     <Appearance>
 52                                          <!-- Image Size Is 938x729 Pixels -->
 53                                          <ImageTexture   url=' "KelpForestLiveWebCam.jpg " "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter04ViewingNavigation/KelpForestLiveWebCam.jpg " '/>
 54                                     </Appearance>
 55                                </Shape>
 56                           </Transform>
 57                      </Anchor>
 58                 </Transform>
 59            </Transform>
 60            <Inline   url=' "../KelpForestExhibit/KelpForestMain.x3d" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/KelpForestExhibit/KelpForestMain.x3d" "../KelpForestExhibit/KelpForestMain.wrl" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/KelpForestExhibit/KelpForestMain.wrl" '/>
 61       </Scene>
 62  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->

<!-- to top Index for DEF nodes: AnchorExample, Autumn11, WebCamAnchor

Index for Viewpoint node: Viewpoint_1
-->
X3D Tooltips element index: Anchor, Appearance, Box, Coordinate, FontStyle, head, ImageTexture, IndexedFaceSet, Inline, Material, meta, Scene, Shape, Text, Transform, Viewpoint, WorldInfo, X3D, accessType and type, XML data types, field types

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.

AnchorExample
Anchor
description='Aquarium Exhibit Web Site' 
User-interaction hint for this node. 

WebCamAnchor
Anchor
description='Click to see Kelp Forest Live Web Cam' 
User-interaction hint for this node. 
Additional guidance on X3D animation can be found in the 10-Step Animation Design Process and Event Tracing hint sheets. Have fun with X3D! 😀

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter04ViewingNavigation/AnchorExampleIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter04ViewingNavigation/AnchorExample.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. -->