<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.1//EN"   "http://www.web3d.org/specifications/x3d-3.1.dtd">
<X3D profile='Immersiveversion='3.1xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation=' http://www.web3d.org/specifications/x3d-3.1.xsd '>
<head>
<meta name='titlecontent='HudKelpForest.x3d'/>
<meta name='descriptioncontent='Demonstrates use of a ProximitySensor in building a HUD'/>
<meta name='creatorcontent='Leonard Daly and Don Brutzman'/>
<meta name='createdcontent='15 July 2006'/>
<meta name='modifiedcontent='23 March 2007'/>
<meta name='referencecontent=' http://X3dGraphics.com '/>
<meta name='referencecontent=' http://www.web3d.org/x3d/content/examples/help.html '/>
<meta name='rightscontent='Copyright 2006, Daly Realism and Don Brutzman'/>
<meta name='subjectcontent=' X3D book, X3D graphics, X3D-Edit, http://www.x3dGraphics.com '/>
<meta name='identifiercontent=' http://X3dGraphics.com/examples/X3dForWebAuthors/Chapter14-Prototypes/HudKelpForest.x3d '/>
<meta name='generatorcontent='X3D-Edit, https://savage.nps.edu/X3D-Edit'/>
</head>
<!--

Index for ExternProtoDeclare definitions: HUD, TextString
Index for DEF nodes: BottomLine, Convert, Hud, HudContent, TopLine
-->
<Scene>
<Background groundAngle='1.309 1.571groundColor='0.1 0.1 0.0 0.4 0.25 0.2 0.6 0.6 0.6skyAngle='1.309 1.571skyColor='0.0 0.5 1.0 0.0 0.0 1.0 0.0 0.0 1.0'
  backUrl=' "urn:web3d:media:textures/panoramas/horizon_3_back.jpg" "horizon_3_back.jpg" "file:///c:/www.web3d.org/x3d/content/examples/UniversalMediaPanoramas/horizon_3_back.jpg" "http://www.web3d.org/WorkingGroups/media/textures/panoramas/horizon_3_back.jpg" "http://www.web3d.org/x3d/content/examples/UniversalMediaPanoramas/horizon_3_back.jpg" "http://www.web3dmedia.com/UniversalMedia/textures/panoramas/horizon_3_back.jpg" "http://www.officetowers.com/UniversalMedia/textures/panoramas/horizon_3_back.jpg" "http://geometrek.com/UniversalMedia/textures/panoramas/horizon_3_back.jpg" "http://www.sc.ehu.es/ccwgamoa/UniversalMedia/textures/panoramas/horizon_3_back.jpg" '
  bottomUrl=' "urn:web3d:media:textures/panoramas/horizon_3_bottom.jpg" "horizon_3_bottom.jpg" "file:///c:/www.web3d.org/x3d/content/examples/UniversalMediaPanoramas/horizon_3_bottom.jpg" "http://www.web3d.org/WorkingGroups/media/textures/panoramas/horizon_3_bottom.jpg" "http://www.web3d.org/x3d/content/examples/UniversalMediaPanoramas/horizon_3_bottom.jpg" "http://www.web3dmedia.com/UniversalMedia/textures/panoramas/horizon_3_bottom.jpg" "http://www.officetowers.com/UniversalMedia/textures/panoramas/horizon_3_bottom.jpg" "http://geometrek.com/UniversalMedia/textures/panoramas/horizon_3_bottom.jpg" "http://www.sc.ehu.es/ccwgamoa/UniversalMedia/textures/panoramas/horizon_3_bottom.jpg" '
  frontUrl=' "urn:web3d:media:textures/panoramas/horizon_3_front.jpg" "horizon_3_front.jpg" "file:///c:/www.web3d.org/x3d/content/examples/UniversalMediaPanoramas/horizon_3_front.jpg" "http://www.web3d.org/WorkingGroups/media/textures/panoramas/horizon_3_front.jpg" "http://www.web3d.org/x3d/content/examples/UniversalMediaPanoramas/horizon_3_front.jpg" "http://www.web3dmedia.com/UniversalMedia/textures/panoramas/horizon_3_front.jpg" "http://www.officetowers.com/UniversalMedia/textures/panoramas/horizon_3_front.jpg" "http://geometrek.com/UniversalMedia/textures/panoramas/horizon_3_front.jpg" "http://www.sc.ehu.es/ccwgamoa/UniversalMedia/textures/panoramas/horizon_3_front.jpg" '
  leftUrl=' "urn:web3d:media:textures/panoramas/horizon_3_left.jpg" "horizon_3_left.jpg" "file:///c:/www.web3d.org/x3d/content/examples/UniversalMediaPanoramas/horizon_3_left.jpg" "http://www.web3d.org/WorkingGroups/media/textures/panoramas/horizon_3_left.jpg" "http://www.web3d.org/x3d/content/examples/UniversalMediaPanoramas/horizon_3_left.jpg" "http://www.web3dmedia.com/UniversalMedia/textures/panoramas/horizon_3_left.jpg" "http://www.officetowers.com/UniversalMedia/textures/panoramas/horizon_3_left.jpg" "http://geometrek.com/UniversalMedia/textures/panoramas/horizon_3_left.jpg" "http://www.sc.ehu.es/ccwgamoa/UniversalMedia/textures/panoramas/horizon_3_left.jpg" '
  rightUrl=' "urn:web3d:media:textures/panoramas/horizon_3_right.jpg" "horizon_3_right.jpg" "file:///c:/www.web3d.org/x3d/content/examples/UniversalMediaPanoramas/horizon_3_right.jpg" "http://www.web3d.org/WorkingGroups/media/textures/panoramas/horizon_3_right.jpg" "http://www.web3d.org/x3d/content/examples/UniversalMediaPanoramas/horizon_3_right.jpg" "http://www.web3dmedia.com/UniversalMedia/textures/panoramas/horizon_3_right.jpg" "http://www.officetowers.com/UniversalMedia/textures/panoramas/horizon_3_right.jpg" "http://geometrek.com/UniversalMedia/textures/panoramas/horizon_3_right.jpg" "http://www.sc.ehu.es/ccwgamoa/UniversalMedia/textures/panoramas/horizon_3_right.jpg" '
  topUrl=' "urn:web3d:media:textures/panoramas/horizon_3_top.jpg" "horizon_3_top.jpg" "file:///c:/www.web3d.org/x3d/content/examples/UniversalMediaPanoramas/horizon_3_top.jpg" "http://www.web3d.org/WorkingGroups/media/textures/panoramas/horizon_3_top.jpg" "http://www.web3d.org/x3d/content/examples/UniversalMediaPanoramas/horizon_3_top.jpg" "http://www.web3dmedia.com/UniversalMedia/textures/panoramas/horizon_3_top.jpg" "http://www.officetowers.com/UniversalMedia/textures/panoramas/horizon_3_top.jpg" "http://geometrek.com/UniversalMedia/textures/panoramas/horizon_3_top.jpg" "http://www.sc.ehu.es/ccwgamoa/UniversalMedia/textures/panoramas/horizon_3_top.jpg" '/>
<ExternProtoDeclare name='HUD'
  url=' "HudPrototype.wrl#HUD" "HudPrototype.x3d#HUD" "../Chapter14-Prototypes/HudPrototype.wrl#HUD" "../Chapter14-Prototypes/HudPrototype.x3d#HUD" "http://X3dGraphics.com/examples/X3dForWebAuthors/Chapter14-Prototypes/HudPrototype.wrl#HUD" "http://X3dGraphics.com/examples/X3dForWebAuthors/Chapter14-Prototypes/HudPrototype.x3d#HUD" '>
<field name='hudSizetype='SFVec3faccessType='initializeOnly'/>
<field name='hudColortype='SFColoraccessType='inputOutput'/>
<field name='screenOffsettype='SFVec3faccessType='inputOutput'/>
<field name='hudGeometrytype='MFNodeaccessType='inputOutput'/>
<field name='position_changedtype='SFVec3faccessType='outputOnly'/>
<field name='orientation_changedtype='SFRotationaccessType='outputOnly'/>
</ExternProtoDeclare>
<ExternProtoDeclare name='TextString'
  url=' "TextStringPrototype.wrl#TextString" "TextStringPrototype.x3d#TextString" "http://X3dGraphics.com/examples/X3dForWebAuthors/Chapter14-Prototypes/TextStringPrototype.wrl#TextString" "http://X3dGraphics.com/examples/X3dForWebAuthors/Chapter14-Prototypes/TextStringPrototype.x3d#TextString" '>
<field name='offsettype='SFVec3faccessType='inputOutput'/>
<field name='stringtype='MFStringaccessType='inputOutput'/>
<field name='colortype='SFColoraccessType='inputOutput'/>
<field name='sizetype='SFFloataccessType='initializeOnly'/>
<field name='justifytype='MFStringaccessType='initializeOnly'/>
<field name='styletype='SFStringaccessType='initializeOnly'/>
<field name='familytype='MFStringaccessType='initializeOnly'/>
</ExternProtoDeclare>
<Switch whichChoice='-1'>
<Transform DEF='HudContenttranslation='-.7 .3 .1'>
<ProtoInstance name='TextStringcontainerField='children'>
<fieldValue name='offsetvalue='0 -.2 0'/>
<fieldValue name='stringvalue='"Position: "'/>
<fieldValue name='colorvalue='0 0 0'/>
<fieldValue name='sizevalue='.1'/>
</ProtoInstance>
<ProtoInstance name='TextStringcontainerField='children'>
<fieldValue name='offsetvalue='0 -.4 0'/>
<fieldValue name='stringvalue='"Orientation: "'/>
<fieldValue name='colorvalue='0 0 0'/>
<fieldValue name='sizevalue='.1'/>
</ProtoInstance>
<!-- TopLine ROUTE:  [from Convert.sfVec3fString to string ] -->
<ProtoInstance name='TextStringDEF='TopLinecontainerField='children'>
<fieldValue name='offsetvalue='.5 -.2 0'/>
<fieldValue name='stringvalue='""'/>
<fieldValue name='colorvalue='0 0 1'/>
<fieldValue name='sizevalue='.1'/>
</ProtoInstance>
<!-- BottomLine ROUTE:  [from Convert.sfRotationString to string ] -->
<ProtoInstance name='TextStringDEF='BottomLinecontainerField='children'>
<fieldValue name='offsetvalue='.5 -.4 0'/>
<fieldValue name='stringvalue='""'/>
<fieldValue name='colorvalue='0 .8 0'/>
<fieldValue name='sizevalue='.1'/>
</ProtoInstance>
</Transform>
</Switch>
<!-- Hud ROUTEs:  [from position_changed to Convert.sfVec3f ] [from orientation_changed to Convert.sfRotation ] -->
<ProtoInstance name='HUDDEF='HudcontainerField='children'>
<fieldValue name='hudSizevalue='1.5 .4 .1'/>
<fieldValue name='hudColorvalue='1 1 0'/>
<fieldValue name='screenOffsetvalue='-.8 1. -3'/>
<fieldValue name='hudGeometryvalue='HudContent'/>
</ProtoInstance>
<!-- Convert ROUTEs:  [from Hud.position_changed to sfVec3f ] [from Hud.orientation_changed to sfRotation ] [from sfVec3fString to TopLine.string ] [from sfRotationString to BottomLine.string ] -->
<Script DEF='Convert'
  url=' "Convert.js" "http://X3dGraphics.com/examples/X3dForWebAuthors/Chapter14-Prototypes/Convert.js" '>
<field name='sfVec3ftype='SFVec3faccessType='inputOnly'/>
<field name='sfRotationtype='SFRotationaccessType='inputOnly'/>
<field name='sfVec3fStringtype='MFStringaccessType='outputOnly'/>
<field name='sfRotationStringtype='MFStringaccessType='outputOnly'/>
</Script>
<ROUTE fromNode='HudfromField='position_changedtoNode='ConverttoField='sfVec3f'/>
<ROUTE fromNode='HudfromField='orientation_changedtoNode='ConverttoField='sfRotation'/>
<ROUTE fromNode='ConvertfromField='sfVec3fStringtoNode='TopLinetoField='string'/>
<ROUTE fromNode='ConvertfromField='sfRotationStringtoNode='BottomLinetoField='string'/>
<Inline
  url=' "KelpForestMain.wrl" "KelpForestMain.x3d" "http://X3dGraphics.com/examples/X3dForWebAuthors/Chapter14-Prototypes/KelpForestMain.wrl" "http://X3dGraphics.com/examples/X3dForWebAuthors/Chapter14-Prototypes/KelpForestMain.x3d" '/>
</Scene>
</X3D>
<!--

Index for ExternProtoDeclare definitions: HUD, TextString
Index for DEF nodes: BottomLine, Convert, Hud, HudContent, TopLine
-->

<!-- Tag color codes: <Node DEF='idName' attribute='value'/> <Prototype name='ProtoName'> <field name='fieldName'/> </Prototype> -->