| 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 | <component level='1' name='Geospatial'/> |
| 6 | <meta name='title' content=' CaliforniaCampuses.x3d '/> |
| 7 | <meta name='description' content='Viewpoints and tour of California campuses'/> |
| 8 | <meta name='creator' content='Don Brutzman, Dale Tourtelotte, Mike Bailey, Don McGregor'/> |
| 9 | <meta name='created' content='4 March 2010'/> |
| 10 | <meta name='modified' content='20 October 2019'/> |
| 11 | <meta name='reference' content='CaliforniaCampuses.kml'/> |
| 12 | <meta name='reference' content='https://www.web3d.org/x3d-earth'/> |
| 13 | <meta name='reference' content='http://x3d-earth.nps.edu'/> |
| 14 | <meta name='reference' content='http://hamming.uc.nps.edu'/> |
| 15 | <meta name='subject' content='X3D Earth'/> |
| 16 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Basic/Geospatial/CaliforniaCampuses.x3d '/> |
| 17 | <meta name='reference' content=' http://mmog.ern.nps.edu/California/California.x3d '/> |
| 18 | <meta name=' warning ' content=' under development '/> |
| 19 | <meta name=' warning ' content=' mmog.ern.nps.edu restricted to internal access within NPS firewall only '/> |
| 20 | <meta name='generator' content=' KmlToX3dViewpoints.xslt '/> |
| 21 | <meta name='generator' content='X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
| 22 | <meta name='license' content=' https://savage.nps.edu/Savage/license.html '/> |
| 23 | </head> |
| 24 | <Scene> |
| 25 | <WorldInfo title='CaliforniaCampuses.x3d'/> |
| 26 | <Switch DEF='SwitchGlobes' whichChoice='0'> |
| 27 | <!-- Select globe of interest. Warning: may need to keep alternate globes commented out to prevent browser caching. --> |
| 28 | <Inline url=' "http://x3d-earth.nps.edu/osmdemo.x3d" '/> |
| 29 | <!-- <Inline load='false' "url='http://mmog.ern.nps.edu/California/California.x3d'/>" --> |
| 30 | <!-- <Inline load='false' "url='http://x3d-earth.nps.edu/7_levels_plus/tiles/0/globe.x3d'/>" --> |
| 31 | <!-- <Inline load='false' "url='http://x3d-earth.nps.edu/globe/MBARI1MinuteBathy/world.x3d'/>" --> |
| 32 | <!-- <Inline load='false' "url='http://x3d-earth.nps.edu/globe/SRTM30Plus/world.x3d'/>" --> |
| 33 | </Switch> |
| 34 | <NavigationInfo transitionType='"ANIMATE"'/> |
| 35 | <Group DEF='PlacemarkGroup'> |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
| 67 | |
| 68 | |
| 69 | |
| 70 | |
| 71 | </Group> |
| 72 | <!-- ==================== --> |
| 73 | <ExternProtoDeclare name='CrossHair' appinfo='CrossHair prototype provides a heads-up display (HUD) crosshair at the view center, which is useful for assessing NavigationInfo lookAt point' url=' "../../Savage/Tools/HeadsUpDisplays/CrossHairPrototype.x3d#CrossHair" "https://savage.nps.edu/Savage/Tools/HeadsUpDisplays/CrossHairPrototype.x3d#CrossHair" "../../Savage/Tools/HeadsUpDisplays/CrossHairPrototype.wrl#CrossHair" "https://savage.nps.edu/Savage/Tools/HeadsUpDisplays/CrossHairPrototype.wrl#CrossHair" '> |
| 74 |
<field name='enabled' type='SFBool' accessType='initializeOnly'
appinfo='whether CrossHair prototype is enabled or not'/> |
| 75 |
<field name='set_enabled' type='SFBool' accessType='inputOnly'
appinfo='control whether enabled/disabled'/> |
| 76 |
<field name='markerColor' type='SFColor' accessType='inputOutput'
appinfo='color of CrossHair marker'/> |
| 77 |
<field name='scale' type='SFVec3f' accessType='inputOutput'
appinfo='size of CrossHair in meters'/> |
| 78 |
<field name='positionOffsetFromCamera' type='SFVec3f' accessType='inputOutput'
appinfo='distance in front of HUD viewpoint'/> |
| 79 | </ExternProtoDeclare> |
| 80 | <ProtoInstance name='CrossHair' DEF='CrossHairInstance'> |
| 81 | <fieldValue name='enabled' value='true'/> |
| 82 | <fieldValue name='markerColor' value='0.1 0.8 0.1'/> |
| 83 | <fieldValue name='scale' value='0.5 0.5 0.5'/> |
| 84 | <fieldValue name='positionOffsetFromCamera' value='0 0 -5'/> |
| 85 | </ProtoInstance> |
| 86 | <!-- ==================== --> |
| 87 | <ExternProtoDeclare name='HeadsUpDisplay' appinfo='Heads-up display (HUD) keeps child geometry aligned on screen in a consistent location' url=' "../../../X3dForWebAuthors/Chapter14Prototypes/HeadsUpDisplayPrototype.x3d#HeadsUpDisplay" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter14Prototypes/HeadsUpDisplayPrototype.x3d#HeadsUpDisplay" "../../../X3dForWebAuthors/Chapter14Prototypes/HeadsUpDisplayPrototype.wrl#HeadsUpDisplay" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter14Prototypes/HeadsUpDisplayPrototype.wrl#HeadsUpDisplay" '> |
| 88 |
<field name='children' type='MFNode' accessType='inputOutput'
appinfo='X3D content positioned at HUD offset'/> |
| 89 |
<field name='screenOffset' type='SFVec3f' accessType='inputOutput'
appinfo='offset position for HUD relative to current view location, default 0 0 -5'/> |
| 90 |
<field name='position_changed' type='SFVec3f' accessType='outputOnly'
appinfo='HUD position update (in world coordinates) relative to original location'/> |
| 91 |
<field name='orientation_changed' type='SFRotation' accessType='outputOnly'
appinfo='HUD orientation update relative to original location'/> |
| 92 | </ExternProtoDeclare> |
| 93 | <!-- ==================== --> |
| 94 | <ExternProtoDeclare name='ViewpointSequencer' appinfo='Sequentially binds each Viewpoint in a set of Viewpoint USE nodes, creating an automatic tour for a scene' url=' "../../Savage/Tools/Animation/ViewpointSequencerPrototype.x3d#ViewpointSequencer" "https://savage.nps.edu/Savage/Tools/Animation/ViewpointSequencerPrototype.x3d#ViewpointSequencer" "../../Savage/Tools/Animation/ViewpointSequencerPrototype.wrl#ViewpointSequencer" "https://savage.nps.edu/Savage/Tools/Animation/ViewpointSequencerPrototype.wrl#ViewpointSequencer" '> |
| 95 |
<field name='viewpoints' type='MFNode' accessType='initializeOnly'
appinfo='Viewpoint USE nodes that are sequentially bound'/> |
| 96 |
<field name='interval' type='SFTime' accessType='inputOutput'
appinfo='number of seconds between viewpoint shifts'/> |
| 97 |
<field name='enabled' type='SFBool' accessType='inputOutput'
appinfo='whether ViewpointSequencer is enabled or not'/> |
| 98 |
<field name='set_enabled' type='SFBool' accessType='inputOnly'
appinfo='whether ViewpointSequencer is enabled or not'/> |
| 99 |
<field name='previous' type='SFBool' accessType='inputOnly'
appinfo='bind previous Viewpoint in list'/> |
| 100 |
<field name='next' type='SFBool' accessType='inputOnly'
appinfo='bind next Viewpoint in list'/> |
| 101 |
<field name='toggleMessage' type='MFString' accessType='inputOutput'
appinfo='Select message to toggle ViewpointSequencer'/> |
| 102 |
<field name='toggleMessageFontSize' type='SFFloat' accessType='initializeOnly'
appinfo='Color for toggleMessage text'/> |
| 103 |
<field name='toggleMessageColor' type='SFColor' accessType='inputOutput'
appinfo='Color for toggleMessage text'/> |
| 104 |
<field name='traceEnabled' type='SFBool' accessType='inputOutput'
appinfo='enable console output'/> |
| 105 | </ExternProtoDeclare> |
| 106 |
<!-- ROUTE information for ViewpointTour node:
[from TourToggle.toggle to set_enabled
]
-->
<ProtoInstance name='ViewpointSequencer' DEF='ViewpointTour'> |
| 107 | <fieldValue name='interval' value='30'/> |
| 108 | <!-- initially enabled is off, scene provides selectable text to activate --> |
| 109 | <fieldValue name='enabled' value='true'/> |
| 110 | <fieldValue name='toggleMessage' value='"ViewpointSequencer tour"'/> |
| 111 | <fieldValue name='viewpoints'> |
| 112 | <GeoViewpoint USE='View01' containerField='children'/> |
| 113 | <GeoViewpoint USE='View02' containerField='children'/> |
| 114 | <GeoViewpoint USE='View03' containerField='children'/> |
| 115 | <GeoViewpoint USE='View04' containerField='children'/> |
| 116 | <GeoViewpoint USE='View05' containerField='children'/> |
| 117 | <GeoViewpoint USE='View06' containerField='children'/> |
| 118 | <GeoViewpoint USE='View07' containerField='children'/> |
| 119 | <GeoViewpoint USE='View08' containerField='children'/> |
| 120 | <GeoViewpoint USE='View09' containerField='children'/> |
| 121 | <GeoViewpoint USE='View10' containerField='children'/> |
| 122 | <GeoViewpoint USE='View11' containerField='children'/> |
| 123 | <GeoViewpoint USE='View12' containerField='children'/> |
| 124 | <GeoViewpoint USE='View13' containerField='children'/> |
| 125 | <GeoViewpoint USE='View14' containerField='children'/> |
| 126 | <GeoViewpoint USE='View15' containerField='children'/> |
| 127 | <GeoViewpoint USE='View16' containerField='children'/> |
| 128 | <GeoViewpoint USE='View17' containerField='children'/> |
| 129 | <GeoViewpoint USE='View18' containerField='children'/> |
| 130 | <GeoViewpoint USE='View19' containerField='children'/> |
| 131 | <GeoViewpoint USE='View20' containerField='children'/> |
| 132 | <GeoViewpoint USE='View21' containerField='children'/> |
| 133 | <GeoViewpoint USE='View22' containerField='children'/> |
| 134 | <GeoViewpoint USE='View23' containerField='children'/> |
| 135 | <GeoViewpoint USE='View24' containerField='children'/> |
| 136 | <GeoViewpoint USE='View25' containerField='children'/> |
| 137 | <GeoViewpoint USE='View26' containerField='children'/> |
| 138 | <GeoViewpoint USE='View27' containerField='children'/> |
| 139 | <GeoViewpoint USE='View28' containerField='children'/> |
| 140 | <GeoViewpoint USE='View29' containerField='children'/> |
| 141 | <GeoViewpoint USE='View30' containerField='children'/> |
| 142 | <GeoViewpoint USE='View31' containerField='children'/> |
| 143 | <GeoViewpoint USE='View32' containerField='children'/> |
| 144 | <GeoViewpoint USE='View33' containerField='children'/> |
| 145 | <GeoViewpoint USE='View34' containerField='children'/> |
| 146 | <GeoViewpoint USE='View35' containerField='children'/> |
| 147 | <Viewpoint DEF='View4' description='View four (-X axis)' orientation='0 1 0 -1.57' position='-10 0 0'/> |
| 148 | </fieldValue> |
| 149 | </ProtoInstance> |
| 150 | <!-- ==================== --> |
| 151 | <GeoLocation geoCoords='36.595599 -121.877148 624990' containerField='children'> |
| 152 | <Billboard axisOfRotation='0 0 0'> |
| 153 | <Shape> |
| 154 | <Text string='"ViewpointSequencer tour"'> |
| 155 | <FontStyle justify='"MIDDLE" "MIDDLE"'/> |
| 156 | </Text> |
| 157 | <Appearance> |
| 158 | <Material ambientIntensity='0.25' diffuseColor='0.795918 0.505869 0.093315' shininess='0.39' specularColor='0.923469 0.428866 0.006369'/> |
| 159 | </Appearance> |
| 160 | </Shape> |
| 161 | </Billboard> |
| 162 |
<!-- ROUTE information for TourTouch node:
[from isActive to TourToggle.set_boolean
]
-->
<TouchSensor DEF='TourTouch' description='Touch text to turn tour on/off'/> |
| 163 |
<!-- ROUTE information for TourToggle node:
[from TourTouch.isActive to set_boolean
]
[from toggle to ViewpointTour.set_enabled
]
-->
<BooleanToggle DEF='TourToggle' containerField='children'/> |
| 164 | < ROUTE fromNode='TourTouch' fromField='isActive' toNode='TourToggle' toField='set_boolean'/> |
| 165 | < ROUTE fromNode='TourToggle' fromField='toggle' toNode='ViewpointTour' toField='set_enabled'/> |
| 166 | </GeoLocation> |
| 167 | <!-- ==================== --> |
| 168 | <ExternProtoDeclare name='ViewPositionOrientation' appinfo='ViewPositionOrientation provides provides console output of local position and orientation as user navigates' url=' "../../Savage/Tools/Authoring/ViewPositionOrientationPrototype.x3d#ViewPositionOrientation" "https://savage.nps.edu/Savage/Tools/Authoring/ViewPositionOrientationPrototype.x3d#ViewPositionOrientation" "../../Savage/Tools/Authoring/ViewPositionOrientationPrototype.wrl#ViewPositionOrientation" "https://savage.nps.edu/Savage/Tools/Authoring/ViewPositionOrientationPrototype.wrl#ViewPositionOrientation" '> |
| 169 |
<field name='enabled' type='SFBool' accessType='inputOutput'
appinfo='Whether or not ViewPositionOrientation sends output to console'/> |
| 170 |
<field name='traceEnabled' type='SFBool' accessType='initializeOnly'
appinfo='Output internal trace messages for debugging this node, intended for developer use only'/> |
| 171 |
<field name='set_traceEnabled' type='SFBool' accessType='inputOnly'
appinfo='Ability to turn output tracing on/off at runtime'/> |
| 172 |
<field name='position_changed' type='SFVec3f' accessType='outputOnly'
appinfo='Output local position'/> |
| 173 |
<field name='orientation_changed' type='SFRotation' accessType='outputOnly'
appinfo='Output local orientation'/> |
| 174 |
<field name='outputViewpointString' type='MFString' accessType='outputOnly'
appinfo='MFString value of new Viewpoint'/> |
| 175 | </ExternProtoDeclare> |
| 176 | <ProtoInstance name='ViewPositionOrientation' DEF='ExampleViewPositionOrientation'> |
| 177 | <fieldValue name='enabled' value='false'/> |
| 178 | </ProtoInstance> |
| 179 | <!-- ==================== --> |
| 180 | </Scene> |
| 181 | </X3D> |
Event Graph ROUTE Table entries with 2 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.
|
TourTouch
TouchSensor isActive SFBool |
TourToggle
BooleanToggle set_boolean SFBool |
then
|
TourToggle
BooleanToggle toggle SFBool |
ViewpointTour
ProtoInstance set_enabled SFBool |
|
CrossHairInstance
ProtoInstance CrossHair |
No direct ROUTE connection found for events to/from this node. This ProtoInstance contains SFNode/MFNode fieldValue declarations with direct access to other nodes, and thus has potential to produce run-time animation. |
|
ExampleViewPositionOrientation
ProtoInstance ViewPositionOrientation |
No direct ROUTE connection found for events to/from this node. This ProtoInstance contains SFNode/MFNode fieldValue declarations with direct access to other nodes, and thus has potential to produce run-time animation. |
|
ViewpointTour
ProtoInstance ViewpointSequencer |
No direct ROUTE connection found for events to/from this node. This ProtoInstance contains SFNode/MFNode fieldValue declarations with direct access to other nodes, and thus has potential to produce run-time animation. |
<!--
Color-coding 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)
<ProtoInstance name='ProtoName'>
<field
name='fieldName'/> </ProtoInstance>
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->