#VRML V2.0 utf8
# X3D-to-VRML-97 XSL translation autogenerated by X3dToVrml97.xslt
# https://www.web3d.org/x3d/content/X3dToVrml97.xslt
# Generated using XSLT processor: Saxonica
# [X3D] VRML V3.3 utf8
# PROFILE Immersive
# [X3D] version=3.3
# [X3D] noNamespaceSchemaLocation=https://www.web3d.org/specifications/x3d-3.3.xsd
# [head]
# META "title" "SanCarlosCathedral.x3d"
# META "description" "San Carlos Cathedral is the oldest continuously functioning church and the first stone building in the State of California."
# META "creator" "Michele Foti, Don Brutzman"
# META "created" "15 December 2011"
# META "modified" "20 October 2019"
# META "reference" "documentation/"
# META "reference" "tests/"
# META "reference" "TODO.html"
# META "reference" "http://www.sancarloscathedral.net"
# META "reference" "RoyalPresidioChapelHistoricalReferences.pdf"
# META "reference" "originals/"
# META "Image" "SanCarlosCathedralFrontAbove.2012February.png"
# META "reference" "originals/ModelSanCarlosChurchFeb-3-2012.x3d"
# META "warning" "under development"
# META "identifier" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/SanCarlosCathedral.x3d"
# META "generator" "X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit"
# META "license" "../license.html"
EXTERNPROTO BooleanFilter [
# [appinfo] Selectively pass only true or false events.
eventIn SFBool set_boolean # [appinfo] set_boolean is the input value to be filtered.
eventOut SFBool inputTrue # [appinfo] inputTrue only passes a true value, when set_boolean input is true.
eventOut SFBool inputFalse # [appinfo] inputFalse only passes a false value, when set_boolean is false.
eventOut SFBool inputNegate # [appinfo] inputNegate provides opposite value by negating set_boolean input.
][
"EventUtilityPrototypes.wrl#BooleanFilt
"https://www.web3d.org/x3d/content/examples/Basic/development/EventUtilityPrototypes.wrl#BooleanFilter"
"EventUtilityPrototypes.x3d#BooleanFilter"
"https://www.web3d.org/x3d/content/examples/Basic/development/EventUtilityPrototypes.x3d#BooleanFilter"
]
EXTERNPROTO BooleanToggle [
# [appinfo] Negate or reset prior boolean state, output result.
eventIn SFBool set_boolean # [appinfo] If set_boolean input is true, toggle state.
eventIn SFBool set_toggle
field SFBool toggle # [appinfo] Persistent state value that gets toggled or reset.
eventOut SFBool toggle_changed
][
"EventUtilityPrototypes.wrl#BooleanToggle"
"https://www.web3d.org/x3d/content/examples/Basic/development/EventUtilityPrototypes.wrl#BooleanToggle"
"EventUtilityPrototypes.x3d#BooleanToggle"
"https://www.web3d.org/x3d/content/examples/Basic/development/EventUtilityPrototypes.x3d#BooleanToggle"
]
EXTERNPROTO IntegerTrigger [
# [appinfo] Convert boolean true or time input events to integer value (suitable for Switch node).
eventIn SFBool set_boolean # [appinfo] If set_boolean input is true, trigger output of integer value.
eventIn SFInt32 set_integerKey # [appinfo] Resets value used for output when triggered later.
exposedField SFInt32 integerKey # [appinfo] integerKey is value for output when triggered.
eventOut SFInt32 integerKey_changed # [appinfo] Reports change in integerKey value.
eventOut SFInt32 triggerValue # [appinfo] triggerValue provides integer event output matching integerKey when true set_boolean received.
][
"EventUtilityPrototypes.wrl#IntegerTrigger"
"https://www.web3d.org/x3d/content/examples/Basic/development/EventUtilityPrototypes.wrl#IntegerTrigger"
"EventUtilityPrototypes.x3d#IntegerTrigger"
"https://www.web3d.org/x3d/content/examples/Basic/development/EventUtilityPrototypes.x3d#IntegerTrigger"
]
EXTERNPROTO IntegerSequencer [
# Regular interpolator-style input
eventIn SFFloat set_fraction # [appinfo] typically range [0..1]
eventIn MFFloat set_key
exposedField MFFloat key # [appinfo] Array sequentially increasing, typically [0..1]. Must have the same number of keys as keyValues.
eventOut MFFloat key_changed
### When Script node supports exposedField, then it would be better to change keyValue to exposedField.
eventIn MFInt32 set_keyValue
field MFInt32 keyValue # [appinfo] Array of integer values. Must have the same number of keys as keyValues.
eventOut MFInt32 keyValue_changed
# Regular interpolator-style output
eventOut SFInt32 value_changed
# Utility methods
eventIn SFBool previous
eventIn SFBool next
][
"IntegerSequencerPrototype.wrl#IntegerSequencer"
"https://www.web3d.org/x3d/content/examples/Basic/development/IntegerSequencerPrototype.wrl#IntegerSequencer"
"IntegerSequencerPrototype.x3d#IntegerSequencer"
"https://www.web3d.org/x3d/content/examples/Basic/development/IntegerSequencerPrototype.x3d#IntegerSequencer"
]
# [Scene] ========== ========== ==========
WorldInfo {
title "SanCarlosCathedral.x3d"
}
Background {
groundAngle [ 1.57 ]
groundColor [ 0.9804 0.8235 0 0.6 0.3254902 0 ]
skyColor [ 0.7216 0.8 0.9922 ]
}
DEF NavigationNodes Group {
children [
# Note that headlight='false' while inside cathedral in order to allow LightingAlternatives.x3d lights to work properly
DEF NavigationFly NavigationInfo {
avatarSize [ 0.01 1.6 0.75 ]
speed 4
type [ "FLY" "ANY" ]
}
DEF NavigationWalk NavigationInfo {
avatarSize [ 0.01 1.6 0.75 ]
speed 4
type [ "WALK" "ANY" ]
}
DEF NavigationExamine NavigationInfo {
avatarSize [ 0.01 1.6 0.75 ]
speed 4
}
]
}
DEF ViewpointNodes Group {
children [
DEF ViewpointFrontFromGround Viewpoint {
centerOfRotation 5.8 0 -24.4
description "San Carlos Cathedral, front from ground"
orientation 1 0 0 0.3
position 5.8 -0.5 15
}
DEF ViewpointFront Viewpoint {
centerOfRotation 5.8 0 -24.4
description "San Carlos Cathedral, front"
position 4.3 5 25
}
#
DEF ViewpointFrontAbove Viewpoint {
centerOfRotation 5.8 0 -24.4
description "San Carlos Cathedral, front above"
orientation 1 0 0 -0.349
position 5.3 16 30
}
DEF ViewpointObliqueOutside1 Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Oblique outside view, left"
orientation 1 1 0 -0.5
position -12.8 15 20
}
DEF ViewpointOverheadView Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Overhead view"
orientation 1 0 0 -1.57
position 5.8 70 -23
}
DEF ViewpointObliqueOutside2 Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Oblique outside view right"
orientation 0 1 0 0.5
position 20 4 20
}
DEF ViewpointFacadeDetails Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Facade details"
orientation 1 1 0 0.6
position 9.2 4 7
}
DEF ViewpointRightOutside Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Right outside"
orientation 0 1 0 1.57
position 50 -2 -26.5
}
DEF ViewpointSacristyOutside Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Sacristy outside"
orientation 0 1 0 2.37
position 30 0 -55.5
}
DEF ViewpointBackOutside Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Back outside"
orientation 0 1 0 3.4
position -8 7 -75
}
DEF ViewpointTowerBack Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Tower, back"
orientation 0 1 0 -2.5
position -8 5 -25
}
DEF ViewpointInteriorLeftRearBalcony Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Interior Left rear balcony"
orientation 1 1 0 -0.3
position 3 4 -5
}
DEF ViewpointFrontDoors Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Front doors, looking in"
position 5.8 -0.3 2
}
DEF ViewpointEntranceConfessional Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Entrance, confessional"
orientation 0 1 0 -1.3
position 4.3 -0.9 -0.8
}
DEF ViewpointRightSideWall1 Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Right side wall, looking north west"
orientation 0 1 0 -2.4
position 5.1 -0.8 -8.2
}
DEF ViewpointRightSideWall2 Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Right side wall, window"
orientation 0 1 0 -1.87
position 5.1 1.5 -9.5
}
DEF ViewpointRightSideWall3 Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Right side wall, picture"
orientation 0 1 0 -1.57
position 7.7 1 -10.5
}
DEF ViewpointRightSideWall4 Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Right side wall, looking south west"
orientation 0 1 0 -0.6
position 5.1 1.5 -10.5
}
DEF ViewpointFrontView Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Front view"
position 5.8 0 -23
}
DEF ViewpointBehindTheAltar Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Behind the altar"
orientation 0 1 0 -0.3
position 4.8 0 -33
}
DEF ViewpointRightTransept Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Right transept"
orientation 0 1 0 -1.3
position 4.8 0 -33
}
DEF ViewpointLateralEntrance Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Right transept, lateral entrance"
orientation 0 1 0 2.8
position 13.8 -0.5 -36
}
DEF ViewpointLeftTransept Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Left transept"
orientation 0 1 0 1.3
position 9.8 0 -33
}
DEF ViewpointAltarCrucifix Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Altar, crucifix"
orientation 0 1 0 -0.1
position 4.8 0 -33
}
DEF ViewpointSacristy Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Sacristy"
orientation 0 1 0 -0.8
position 9.8 0 -40.5
}
DEF ViewpointSacristyAndBackRoom Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Sacristy interior and back room"
orientation 0 1 0 1.5
position 17.8 0 -45.5
}
DEF ViewpointNaveView Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Nave, view"
orientation 0 1 0 3.14
position 5.8 0 -42.5
}
DEF ViewpointNaveAndBalcony Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Nave and Balcony"
orientation 0 1 0 3.14
position 5.8 0 -21
}
DEF ViewpointPicture Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Left side wall, picture"
orientation 0 1 0 1.57
position 3.8 1 -21.4
}
DEF ViewpointPortrait Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Left side wall, picture, portrait of the man who commissioned the stations of the cross"
orientation 0 1 0 1.57
position 3.2 0.85 -20.1
}
DEF ViewpointLeftSideWall Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Left side wall, looking north est"
orientation 0 1 0 2.6
position 5.8 1 -18
}
DEF ViewpointEntranceAndStair Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Entrance, stairs to tower and balcony"
orientation 0 1 0 1.9
position 6.8 -0.8 -2.5
}
DEF ViewpointStairStairs Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Stairs to tower and balcony"
orientation 0 1 0 1.57
position 6.4 0 -1.5
}
DEF ViewpointLanding Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Landing"
orientation 1 1 0 -1.1
position -3.09 4.2 -0.7
}
DEF ViewpointStairsToBalcony Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Stairs to balcony"
orientation 0 1 0 -1.57
position -3.09 3 -1.5
}
DEF ViewpointBalcony Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Balcony"
orientation 0 1 0 -0.7
position 2.1 4 -2.7
}
DEF ViewpointBalconyWindow Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Balcony, window"
orientation 0 1 0 -1.8
position 2.1 4 -2.7
}
DEF ViewpointLeftRearBalcony Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Left rear balcony"
orientation 1 1 0 -0.3
position 3 4 -5
}
DEF ViewpointOrgan Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Organ"
orientation 0 1 0 -2.3
position 2.5 4 -7
}
DEF ViewpointBalconyDoors Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Balcony, doors"
orientation 0 1 0 2.2
position 5 4 -5
}
DEF ViewpointTopStairs Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Top stairs to tower"
orientation 0 1 0 1.57
position 4.3 4 -1.2
}
DEF ViewpointTopStairsCloser Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Top stairs to tower, closer"
orientation 0 1 0 1.8
position 2.7 4 -0.9
}
DEF ViewpointTopStairsAndBells Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Top stairs to tower and bells"
orientation 0 1 0 2.1
position 1.4 4.9 -1
}
DEF ViewpointBells Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Bells"
orientation 0 1 0 2.9
position -0.2 5 -2
}
DEF ViewpointTowerBells Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Tower, Bells"
orientation 0 1 0 3.34
position -1.4 6 -3
}
DEF ViewpointTowerArcs Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Tower, arcs"
orientation 0 1 0 1.57
position -0.3 6.5 -2
}
DEF ViewpointTowerEntrance Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Tower, entrance"
orientation 0 1 0 -1.77
position -2.2 5.2 -1.8
}
DEF ViewpointViewFromTheTower Viewpoint {
centerOfRotation 5.8 0 -24.4
description "View from the tower"
orientation 0 1 0 0.1
position -2 6 -0.3
}
]
}
DEF PrototypeDeclarations Group {
children [
# ====================
# ====================
EXTERNPROTO ViewpointSequencer [
# [appinfo] Sequentially binds each Viewpoint in a set of Viewpoint USE nodes, creating an automatic tour for a scene
field MFNode viewpoints # [appinfo] Viewpoint USE nodes that are sequentially bound
# default value NULL node, overridden by ProtoInstance
exposedField SFTime interval # [appinfo] number of seconds between viewpoint shifts
exposedField SFBool enabled # [appinfo] whether ViewpointSequencer is enabled or not
eventIn SFBool set_enabled # [appinfo] whether ViewpointSequencer is enabled or not
eventIn SFBool previous # [appinfo] bind previous Viewpoint in list
eventIn SFBool next # [appinfo] bind next Viewpoint in list
exposedField MFString toggleMessage # [appinfo] Select message to toggle ViewpointSequencer
field SFFloat toggleMessageFontSize # [appinfo] Font size for toggleMessage text
exposedField SFColor toggleMessageColor # [appinfo] Color for toggleMessage text
exposedField SFBool traceEnabled # [appinfo] enable console output
][
"../../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"
]
PROTO TouchSensorSelected [
# [appinfo] TouchSensorSelected provides full TouchSensor functionality and adds output field isSelected, which only sends true events and filters out false events
exposedField SFString description ""
exposedField SFBool enabled TRUE # [appinfo] default value true
### Info: SFNode not provided for field 'metadata' with @accessType='inputOutput'. (Authors can silence this warning by inserting a comment.)
exposedField SFNode metadata NULL
eventOut SFVec3f hitNormal_changed
eventOut SFVec3f hitPoint_changed
eventOut SFVec2f hitTexCoord_changed
eventOut SFTime touchTime
eventOut SFBool isActive
eventOut SFBool isOver
eventOut SFBool isSelected
eventOut SFVec3f isSelected2
eventOut SFVec3f isSelected3
eventOut SFInt32 isSelected4
eventOut SFInt32 isSelected5
eventOut SFBool isSelected6
eventOut SFVec3f isSelected7
eventOut SFVec3f isSelected8
eventOut SFVec3f isSelected9
eventOut SFVec3f isSelected10
eventOut SFVec3f isSelected11
eventOut SFVec3f isSelected12
eventOut SFVec3f isSelected13
eventOut SFColor isSelected14
eventOut SFColor isSelected15
eventOut SFVec3f isSelected16
eventOut SFVec3f isSelected17
eventOut SFVec3f isSelected18
eventOut SFVec3f isSelected19
eventOut SFVec3f isSelected20
eventOut SFInt32 isSelected21
eventOut SFInt32 isSelected22
eventOut SFInt32 isSelected23
eventOut SFInt32 isSelected24
eventOut SFInt32 isSelected25
eventOut SFInt32 isSelected26
eventOut SFInt32 isSelected27
eventOut SFInt32 isSelected28
eventOut SFInt32 isSelected29
] {
DEF TouchSensorRootNode TouchSensor {
### Warning: IS/connect ignored for nodeField='description' since not a supported field in VRML97 for parent TouchSensor
### description IS description
enabled IS enabled
metadata IS metadata
hitNormal_changed IS hitNormal_changed
hitPoint_changed IS hitPoint_changed
hitTexCoord_changed IS hitTexCoord_changed
touchTime IS touchTime
isActive IS isActive
isOver IS isOver
}
DEF BooleanFilterIsActive BooleanFilter {
inputTrue IS isSelected
}
ROUTE TouchSensorRootNode.isActive TO BooleanFilterIsActive.set_boolean
DEF BooleanFilterIsActive2 BooleanFilter {
inputFalse IS isSelected6
}
ROUTE TouchSensorRootNode.isActive TO BooleanFilterIsActive2.set_boolean
DEF Time TimeSensor {
}
DEF Interpolator PositionInterpolator {
key [ 0 1 ]
keyValue [ 0 0 0.2 0 0 0 ]
value_changed IS isSelected2
}
DEF Interpolator2 PositionInterpolator {
key [ 0 1 ]
keyValue [ 0 0 0 0 0 0.2 ]
value_changed IS isSelected3
}
DEF Interpolator3 PositionInterpolator {
key [ 0 1 ]
keyValue [ 0 0 0 0 0 1 ]
value_changed IS isSelected7
}
DEF Interpolator4 PositionInterpolator {
key [ 0 1 ]
keyValue [ 0 0 -1 0 0 -1 ]
value_changed IS isSelected8
}
DEF Interpolator5 PositionInterpolator {
key [ 0 1 ]
keyValue [ 1.3 -1.13 -1 1.3 -1.13 -0.7 ]
value_changed IS isSelected9
}
DEF Interpolator6 PositionInterpolator {
key [ 0 1 ]
keyValue [ 1.3 -1.13 -0.7 1.3 -1.13 -1 ]
value_changed IS isSelected10
}
DEF Interpolator7 PositionInterpolator {
key [ 0 1 ]
keyValue [ 0 0 -0.6 0 0 0 ]
value_changed IS isSelected11
}
DEF Interpolator8 PositionInterpolator {
key [ 0 1 ]
keyValue [ 0 0 0 0 0 -0.6 ]
value_changed IS isSelected12
}
DEF Interpolator9 PositionInterpolator {
key [ 0 1 ]
keyValue [ 0 -3 0 0 0 0 ]
value_changed IS isSelected13
}
DEF Interpolator10 PositionInterpolator {
key [ 0 1 ]
keyValue [ 0 0 -1 0 0 0 ]
value_changed IS isSelected16
}
DEF Interpolator11 PositionInterpolator {
key [ 0 1 ]
keyValue [ 0 0 0 0 0 0 ]
value_changed IS isSelected17
}
DEF Interpolator12 PositionInterpolator {
key [ 0 1 ]
keyValue [ 0 0 0 0 0 -1 ]
value_changed IS isSelected18
}
DEF Interpolator13 PositionInterpolator {
key [ 0 1 ]
keyValue [ 0 0 0 0 -3 0 ]
value_changed IS isSelected19
}
DEF Interpolator14 PositionInterpolator {
key [ 0 1 ]
keyValue [ 0 0 -0.2 0 0 0 ]
value_changed IS isSelected20
}
ROUTE TouchSensorRootNode.touchTime TO Time.startTime
ROUTE Time.fraction_changed TO Interpolator.set_fraction
ROUTE Time.fraction_changed TO Interpolator2.set_fraction
ROUTE Time.fraction_changed TO Interpolator3.set_fraction
ROUTE Time.fraction_changed TO Interpolator4.set_fraction
ROUTE Time.fraction_changed TO Interpolator5.set_fraction
ROUTE Time.fraction_changed TO Interpolator6.set_fraction
ROUTE Time.fraction_changed TO Interpolator7.set_fraction
ROUTE Time.fraction_changed TO Interpolator8.set_fraction
ROUTE Time.fraction_changed TO Interpolator9.set_fraction
ROUTE Time.fraction_changed TO Interpolator10.set_fraction
ROUTE Time.fraction_changed TO Interpolator11.set_fraction
ROUTE Time.fraction_changed TO Interpolator12.set_fraction
ROUTE Time.fraction_changed TO Interpolator13.set_fraction
ROUTE Time.fraction_changed TO Interpolator14.set_fraction
DEF ColorInterpolator ColorInterpolator {
key [ 0 1 ]
keyValue [ 0 0 0 1 1 1 ]
value_changed IS isSelected14
}
DEF ColorInterpolator2 ColorInterpolator {
key [ 0 1 ]
keyValue [ 0 0 0 0 0 0 ]
value_changed IS isSelected15
}
ROUTE Time.fraction_changed TO ColorInterpolator.set_fraction
ROUTE Time.fraction_changed TO ColorInterpolator2.set_fraction
DEF IntegerIsActive IntegerTrigger {
integerKey 1
triggerValue IS isSelected4
}
ROUTE TouchSensorRootNode.isActive TO IntegerIsActive.set_boolean
DEF IntegerIsActive2 IntegerTrigger {
integerKey 0
triggerValue IS isSelected5
}
ROUTE TouchSensorRootNode.isActive TO IntegerIsActive2.set_boolean
DEF IntegerIsActive3 IntegerTrigger {
integerKey 1
triggerValue IS isSelected21
}
ROUTE TouchSensorRootNode.isActive TO IntegerIsActive3.set_boolean
DEF IntegerIsActive4 IntegerTrigger {
integerKey 2
triggerValue IS isSelected22
}
ROUTE TouchSensorRootNode.isActive TO IntegerIsActive4.set_boolean
DEF IntegerIsActive5 IntegerTrigger {
integerKey 3
triggerValue IS isSelected23
}
ROUTE TouchSensorRootNode.isActive TO IntegerIsActive5.set_boolean
DEF IntegerIsActive6 IntegerTrigger {
integerKey 4
triggerValue IS isSelected24
}
ROUTE TouchSensorRootNode.isActive TO IntegerIsActive6.set_boolean
DEF IntegerIsActive7 IntegerTrigger {
integerKey 5
triggerValue IS isSelected25
}
ROUTE TouchSensorRootNode.isActive TO IntegerIsActive7.set_boolean
DEF IntegerIsActive8 IntegerTrigger {
integerKey 6
triggerValue IS isSelected26
}
ROUTE TouchSensorRootNode.isActive TO IntegerIsActive8.set_boolean
DEF IntegerIsActive9 IntegerTrigger {
integerKey 7
triggerValue IS isSelected27
}
ROUTE TouchSensorRootNode.isActive TO IntegerIsActive9.set_boolean
DEF IntegerIsActive10 IntegerTrigger {
integerKey 8
triggerValue IS isSelected28
}
ROUTE TouchSensorRootNode.isActive TO IntegerIsActive10.set_boolean
DEF IntegerIsActive11 IntegerTrigger {
integerKey 9
triggerValue IS isSelected29
}
ROUTE TouchSensorRootNode.isActive TO IntegerIsActive11.set_boolean
}
]
}
# Here strts a big switch (it finishes at line -, useful to change from the present church to the historic church. It is made up of two groups: The first one () regards everything related to the present church, the second regards everything related to the historic churc.
DEF PresentToHistorichChurch Switch {
whichChoice 0
choice [
# PRESENT CHURCH
# Yellow Panel of the present church
Group {
children [
# Here strts another big switch. (it finishes at line -, useful to hide or show the yellow panel. It is made up of two HUDs: The first one () is the writing 'Main menu' in the top right of the screen (when the panel is hidden), the second is the yellow panel and everything on it.
DEF MainmenuToMainpanel Switch {
whichChoice 0
choice [
Group {
children [
DEF HudContainer1 Transform {
children [
Transform {
translation 3 1.7 -5
children [
Group {
children [
DEF touchUP TouchSensor {
# description "Main MenĂ¹"
}
Shape {
geometry Text {
string [ "Main Menu" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
emissiveColor 1 1 1
}
}
}
DEF MainMenuSphereLeft Transform {
scale 1.05 1 2.3
translation -0.708 0.048 0.1
children [
Shape {
geometry Sphere {
radius 0.04
}
appearance Appearance {
material Material {
emissiveColor 1 1 1
}
}
}
]
}
DEF MainMenuSphereRight Transform {
rotation 1 0 0 -0.23
scale 0.88 1 1.5
translation 0.589 0.039 0.1
children [
Shape {
geometry Sphere {
radius 0.04
}
appearance Appearance {
material Material {
emissiveColor 1 1 1
}
}
}
]
}
]
}
]
}
]
}
DEF HereIAm1 ProximitySensor {
size 10000000 10000000 10000000
}
]
ROUTE HereIAm1.orientation_changed TO HudContainer1.rotation
ROUTE HereIAm1.position_changed TO HudContainer1.translation
}
Group {
children [
DEF HudContainer2 Transform {
children [
Transform {
translation 0 0.2 -5.5
children [
Group {
children [
Transform {
scale 0.25 0.25 0.25
translation 0 0 3
children [
# Red pyramids are links to differents viewpoints. They are positioned in the small model of the church, on the yellow panel
DEF RedPyramidTransform Transform {
translation 0 0 -1
children [
Transform {
scale 0.3 0.3 0.3
translation 1.6 0.1 0.5
children [
# Replacement
DEF SelectNave TouchSensorSelected {
description "Nave"
}
# Prior block start... ...prior block finish
DEF RedPyramidButton Shape {
geometry IndexedFaceSet {
convex FALSE
coordIndex [ 0 1 4 -1 3 4 0 -1 3 4 2 -1 2 4 1 -1 0 1 2 3 -1 ]
solid FALSE
coord Coordinate {
point [ 0 0 0 0 0 0.25 0.25 0 0.25 0.25 0 0 0.125 0.42 0.125 ]
}
}
appearance Appearance {
material Material {
diffuseColor 1 0.25 0.25
}
}
}
]
ROUTE SelectNave.isSelected TO ViewpointFrontView.set_bind
}
Transform {
scale 0.3 0.3 0.3
translation 2.5 0.1 0.5
children [
DEF SelectTranseptAxes TouchSensorSelected {
description "Transept/Axes"
}
USE RedPyramidButton
]
ROUTE SelectTranseptAxes.isSelected TO ViewpointNaveView.set_bind
}
Transform {
scale 0.3 0.3 0.3
translation 2.9 -0.5 0.5
children [
DEF SelectSacristy TouchSensorSelected {
description "Sacristy"
}
USE RedPyramidButton
]
ROUTE SelectSacristy.isSelected TO ViewpointSacristyAndBackRoom.set_bind
}
Transform {
scale 0.3 0.3 0.3
translation 3.3 0.7 0.5
children [
DEF SelectOutsideSouth TouchSensorSelected {
description "Outside South"
}
USE RedPyramidButton
]
ROUTE SelectOutsideSouth.isSelected TO ViewpointBackOutside.set_bind
}
Transform {
scale 0.3 0.3 0.3
translation 1.4 0.6 0.5
children [
DEF SelectOutsideEast TouchSensorSelected {
description "Outside East"
}
USE RedPyramidButton
]
ROUTE SelectOutsideEast.isSelected TO ViewpointTowerBack.set_bind
}
Transform {
scale 0.3 0.3 0.3
translation 1.4 -1 0.5
children [
DEF SelectOutsideWest TouchSensorSelected {
description "Outside West"
}
USE RedPyramidButton
]
ROUTE SelectOutsideWest.isSelected TO ViewpointRightOutside.set_bind
}
Transform {
scale 0.3 0.3 0.3
translation -0.22 0 0.5
children [
DEF SelectOutsideNorth TouchSensorSelected {
description "Outside North"
}
USE RedPyramidButton
]
ROUTE SelectOutsideNorth.isSelected TO ViewpointFront.set_bind
}
Transform {
scale 0.3 0.3 0.3
translation 0.1 0 0.5
children [
DEF SelectEntrance TouchSensorSelected {
description "Entrance"
}
USE RedPyramidButton
]
ROUTE SelectEntrance.isSelected TO ViewpointFrontDoors.set_bind
}
Transform {
scale 0.3 0.3 0.3
translation 0.5 0.26 0.6
children [
DEF SelectBalcony TouchSensorSelected {
description "Balcony"
}
USE RedPyramidButton
]
ROUTE SelectBalcony.isSelected TO ViewpointLeftRearBalcony.set_bind
}
Transform {
scale 0.3 0.3 0.3
translation 0.26 0.6 0.7
children [
DEF SelectTower TouchSensorSelected {
description "Tower"
}
USE RedPyramidButton
]
ROUTE SelectTower.isSelected TO ViewpointTowerBells.set_bind
}
]
}
# Small models of the church on the yellow panel. One with the roof, the other without roof (249-260)
DEF ChurchModelTransform Transform {
rotation 0 1 0 -1.57
scale 0.6 0.6 0.6
translation 0.2 0.4 0.3
children [
Transform {
rotation 0 0 1 -1.2
children [
Transform {
rotation 1 0 0 0
children [
# Switch that permits to change from the small church with roof to the one without roof
DEF ChurcRoofToChurcModel Switch {
whichChoice 0
choice [
DEF ChurchRoof Inline {
url [ "ChurchRoof.x3d" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/ChurchRoof.x3d" "ChurchRoof.wrl" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/ChurchRoof.wrl" ]
}
DEF ChurchModel Inline {
url [ "ChurchModel.x3d" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/ChurchModel.x3d" "ChurchModel.wrl" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/ChurchModel.wrl" ]
}
]
}
]
}
]
}
]
}
DEF MainPanel Transform {
translation 0.75 0 0
children [
Shape {
geometry Box {
size 6.5 3 0.2
}
appearance Appearance {
material Material {
diffuseColor 1 0.75 0.25
}
}
}
]
}
# This light is necessary when, clicking on the Lighting Button, HeadLight is turned off
DEF PanelPointLight PointLight {
ambientIntensity 1
location 0.75 0 1
on FALSE
radius 1.1
}
### Warning: PointLight node location and radius are affected by translation and scaling of parent-hierarchy
# First panel, or the first screen of the panel (-)
DEF FirstPanel Transform {
translation 0 0 0.2
children [
Transform {
translation -1.2 0 0
children [
DEF HidePanelText1 Transform {
translation 2.2 1.2 0
children [
Shape {
geometry Text {
string [ "Hide Panel" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF HidePanelButton1 Transform {
translation 1.5 1.28 0
children [
DEF touchHidePanel1 TouchSensorSelected {
description "Hide panel"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchHidePanel1.isSelected5 TO MainmenuToMainpanel.whichChoice
}
DEF NavigatingText Transform {
translation 0 1 0
children [
Shape {
geometry Text {
string [ "Navigating" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF NavigatingButton Transform {
translation -0.8 1.08 0
children [
DEF touchNavigating TouchSensorSelected {
description "Navigating"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchNavigating.isSelected2 TO FirstPanel.translation
ROUTE touchNavigating.isSelected4 TO ChurcRoofToChurcModel.whichChoice
ROUTE touchNavigating.isSelected16 TO RedPyramidTransform.translation
}
DEF LightingText Transform {
translation 0.25 0.6 0
children [
Shape {
geometry Text {
string [ "Lighting" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.25
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF LightingButton Transform {
translation -0.8 0.68 0
children [
DEF touchLighting TouchSensorSelected {
description "Lighting"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchLighting.isSelected2 TO FirstPanel.translation
ROUTE touchLighting.isSelected6 TO NavigationFly.headlight
ROUTE touchLighting.isSelected TO PanelPointLight.on
ROUTE touchLighting.isSelected4 TO ChurcRoofToChurcModel.whichChoice
ROUTE touchLighting.isSelected16 TO RedPyramidTransform.translation
}
DEF PicturesText Transform {
translation 0 0.2 0
children [
Shape {
geometry Text {
string [ "Pictures" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF PicturesButton Transform {
translation -0.8 0.28 0
children [
DEF touchPictures TouchSensorSelected {
description "Pictures"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchPictures.isSelected2 TO FirstPanel.translation
ROUTE touchPictures.isSelected4 TO ChurcRoofToChurcModel.whichChoice
ROUTE touchPictures.isSelected16 TO RedPyramidTransform.translation
}
DEF SourcesText Transform {
translation 0 -0.2 0
children [
Shape {
geometry Text {
string [ "Sources" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF SourcesButton Transform {
translation -0.8 -0.12 0
children [
DEF touchSources TouchSensorSelected {
description "Sources"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchSources.isSelected2 TO FirstPanel.translation
ROUTE touchSources.isSelected4 TO ChurcRoofToChurcModel.whichChoice
ROUTE touchSources.isSelected16 TO RedPyramidTransform.translation
}
DEF ModelingText Transform {
translation 0 -0.6 0
children [
Shape {
geometry Text {
string [ "Modeling" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Modeling"
parameter [ "target=blank" ]
url [ "documentation/Modeling.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/Modeling.html" ]
children [
DEF ModelingButton Transform {
translation -0.8 -0.52 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF HistoricCurchText Transform {
translation 0.25 -1 0
children [
Shape {
geometry Text {
string [ "Historic church" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.27
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF HistoricCurchButton Transform {
translation -0.8 -0.92 0
children [
DEF touchHistoricCurch TouchSensorSelected {
description "Historic church"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchHistoricCurch.isSelected2 TO FirstPanel.translation
ROUTE touchHistoricCurch.isSelected4 TO ChurcRoofToChurcModel.whichChoice
ROUTE touchHistoricCurch.isSelected16 TO RedPyramidTransform.translation
}
DEF NextPanelText1 Transform {
translation -0.4 -1.3 0
children [
Shape {
geometry Text {
string [ "Next Panel" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.2
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF NextPanelButton1 Transform {
translation -0.8 -1.25 0
children [
DEF touchNextPanel1 TouchSensorSelected {
description "Next Panel"
}
Shape {
geometry Sphere {
radius 0.05
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchNextPanel1.isSelected2 TO FirstPanel.translation
}
]
}
]
}
# Second part of the First Panel, it appears clicking on Next Panel at the bottom ()
DEF FirstPanelBis Transform {
children [
Transform {
translation -1.2 0 0
children [
DEF HidePanelText2 Transform {
translation 2 1.2 0
children [
Shape {
geometry Text {
string [ "Hide Panel" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF HidePanelButton2 Transform {
translation 1.5 1.28 0
children [
DEF touchHidePanel2 TouchSensorSelected {
description "Hide panel"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchHidePanel2.isSelected5 TO MainmenuToMainpanel.whichChoice
}
DEF ChurchHistoryText Transform {
translation 0.2 1 0
children [
Shape {
geometry Text {
string [ "Church History" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Church History"
parameter [ "target=blank" ]
url [ "documentation/ChurchHistory.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/ChurchHistory.html" ]
children [
DEF ChurchHistoryButton Transform {
translation -0.8 1.08 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF BellsSoundText Transform {
translation 0.2 0.6 0
children [
Shape {
geometry Text {
string [ "Bells sound" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF BellsSoundButton Transform {
translation -0.8 0.68 0
children [
DEF touchBellsSound TouchSensorSelected {
description "Bells Sound"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchBellsSound.isSelected2 TO FirstPanelBis.translation
ROUTE touchBellsSound.isSelected4 TO ChurcRoofToChurcModel.whichChoice
ROUTE touchBellsSound.isSelected16 TO RedPyramidTransform.translation
ROUTE touchBellsSound.isSelected TO ViewpointFrontFromGround.set_bind
}
DEF CoordinateSystemText Transform {
translation 0.26 0.2 0
children [
Shape {
geometry Text {
string [ "Coordinate System" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.28
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF CoordinateSystemSphere Transform {
translation -0.8 0.28 0
children [
DEF touchCoordinateSystem TouchSensorSelected {
description "Coordinate System"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchCoordinateSystem.isSelected2 TO FirstPanelBis.translation
ROUTE touchCoordinateSystem.isSelected4 TO ChurcRoofToChurcModel.whichChoice
ROUTE touchCoordinateSystem.isSelected16 TO RedPyramidTransform.translation
ROUTE touchCoordinateSystem.isSelected TO ViewpointFrontFromGround.set_bind
}
DEF EmptyText1 Transform {
translation 0 -0.2 0
children [
Shape {
geometry Text {
string [ "x" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyButton1 Transform {
translation -0.8 -0.12 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyText2 Transform {
translation 0 -0.6 0
children [
Shape {
geometry Text {
string [ "x" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyButton2 Transform {
translation -0.8 -0.52 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyText3 Transform {
translation 0 -1 0
children [
Shape {
geometry Text {
string [ "x" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyButton3 Transform {
translation -0.8 -0.92 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF PreviousPanelText Transform {
translation -0.2 -1.3 0
children [
Shape {
geometry Text {
string [ "Previous Panel" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.2
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF PreviousPanelButton1 Transform {
translation -0.8 -1.25 0
children [
DEF touchPreviousPanel1 TouchSensorSelected {
description "Previous Panel"
}
Shape {
geometry Sphere {
radius 0.05
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchPreviousPanel1.isSelected3 TO FirstPanel.translation
ROUTE touchPreviousPanel1.isSelected2 TO FirstPanelBis.translation
}
]
}
]
ROUTE touchNextPanel1.isSelected3 TO FirstPanelBis.translation
}
# Navigating Panel, it appears clicking on the Navigating button on the first panel ()
DEF NavigatingPanel Transform {
children [
Transform {
translation -1.2 0 0
children [
DEF Note1 Transform {
translation 3 0.98 0
children [
Shape {
geometry Text {
string [ "Red links go to corresponding viewpoints" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.2
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF BackButtonText1 Transform {
translation 2 1.2 0
children [
Shape {
geometry Text {
string [ "Back" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF BackButton1 Transform {
translation 1.5 1.28 0
children [
DEF touchBackButton1 TouchSensorSelected {
description "Back"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchBackButton1.isSelected3 TO FirstPanel.translation
ROUTE touchBackButton1.isSelected5 TO ChurcRoofToChurcModel.whichChoice
ROUTE touchBackButton1.isSelected18 TO RedPyramidTransform.translation
ROUTE touchBackButton1.isSelected2 TO NavigatingPanel.translation
}
DEF HidePanelText3 Transform {
translation 3.2 1.2 0
children [
Shape {
geometry Text {
string [ "Hide Panel" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF HidePanelButton3 Transform {
translation 2.7 1.28 0
children [
DEF touchHidePanel3 TouchSensorSelected {
description "Hide panel"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchHidePanel3.isSelected5 TO MainmenuToMainpanel.whichChoice
}
DEF FlyModeText Transform {
translation 0 1 0
children [
Shape {
geometry Text {
string [ "Fly" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF FlyModeButton Transform {
translation -0.8 1.08 0
children [
DEF touchFlyMode TouchSensorSelected {
description "Fly"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material DEF FlyModeColor Material {
diffuseColor 1 1 1
}
}
}
]
ROUTE touchFlyMode.isSelected TO NavigationFly.set_bind
}
DEF WalkModeText Transform {
translation 0 0.6 0
children [
Shape {
geometry Text {
string [ "Walk" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF WalkModeButton Transform {
translation -0.8 0.68 0
children [
DEF touchWalkMode TouchSensorSelected {
description "Walk"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material DEF WalkModeColor Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchWalkMode.isSelected15 TO FlyModeColor.diffuseColor
ROUTE touchWalkMode.isSelected TO NavigationWalk.set_bind
}
DEF ExamineModeText Transform {
translation 0 0.2 0
children [
Shape {
geometry Text {
string [ "Examine" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF ExamineModeButton Transform {
translation -0.8 0.28 0
children [
DEF touchExamineMode TouchSensorSelected {
description "Examine"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material DEF ExamineModeColor Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchExamineMode.isSelected15 TO WalkModeColor.diffuseColor
ROUTE touchExamineMode.isSelected15 TO FlyModeColor.diffuseColor
ROUTE touchExamineMode.isSelected TO NavigationExamine.set_bind
}
DEF switchTour Switch {
whichChoice 0
choice [
DEF FullGuidedTourText Transform {
translation 0.2 -0.2 0
children [
Shape {
geometry Text {
string [ "Full Guided Tour" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.26
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF FullGuidedTourText2 Transform {
translation 0.2 -0.2 0
children [
Shape {
geometry Text {
string [ "Resume Tour" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.26
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF FullGuidedTourButton Transform {
translation -0.8 -0.12 0
children [
DEF touchFullGuidedTour TouchSensor {
# description "Full Guided Tour"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF ShortGuidedTourText Transform {
translation 0.2 -0.6 0
children [
Shape {
geometry Text {
string [ "Short Guided Tour" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.26
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF ShortGuidedTourButton Transform {
translation -0.8 -0.52 0
children [
DEF touchShortGuidedTour TouchSensor {
# description "Short Guided Tour"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF SacredFurnishingTourText Transform {
translation 0.5 -1 0
children [
Shape {
geometry Text {
string [ "Sacred Furnishing Tour" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.26
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF SacredFurnishingTourButton Transform {
translation -0.8 -0.92 0
children [
DEF touchSacredFurnishingTour TouchSensor {
# description "Sacred Furnishing Tour"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF NextPanelText2 Transform {
translation -0.4 -1.3 0
children [
Shape {
geometry Text {
string [ "Next Panel" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.2
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF NextPanelButton2 Transform {
translation -0.8 -1.25 0
children [
DEF touchNextPanel2 TouchSensorSelected {
description "Next Panel"
}
Shape {
geometry Sphere {
radius 0.05
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchNextPanel2.isSelected2 TO NavigatingPanel.translation
}
]
ROUTE touchFlyMode.isSelected14 TO FlyModeColor.diffuseColor
ROUTE touchWalkMode.isSelected14 TO WalkModeColor.diffuseColor
ROUTE touchFlyMode.isSelected15 TO WalkModeColor.diffuseColor
ROUTE touchFlyMode.isSelected15 TO ExamineModeColor.diffuseColor
ROUTE touchWalkMode.isSelected15 TO ExamineModeColor.diffuseColor
ROUTE touchExamineMode.isSelected14 TO ExamineModeColor.diffuseColor
}
]
ROUTE touchNavigating.isSelected3 TO NavigatingPanel.translation
}
# Second part of the Navigating Panel, it appears clicking on Next Panel at the bottom ()
DEF NavigatingPanelBis Transform {
children [
Transform {
translation -1.2 0 0
children [
DEF BackButtonText2 Transform {
translation 2 1.2 0
children [
Shape {
geometry Text {
string [ "Back" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF BackButton2 Transform {
translation 1.5 1.28 0
children [
DEF touchBackButton2 TouchSensorSelected {
description "Back"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchBackButton2.isSelected3 TO FirstPanel.translation
ROUTE touchBackButton2.isSelected5 TO ChurcRoofToChurcModel.whichChoice
ROUTE touchBackButton2.isSelected18 TO RedPyramidTransform.translation
ROUTE touchBackButton2.isSelected2 TO NavigatingPanelBis.translation
}
DEF HidePanelText4 Transform {
translation 3.2 1.2 0
children [
Shape {
geometry Text {
string [ "Hide Panel" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF HidePanelButton4 Transform {
translation 2.7 1.28 0
children [
DEF touchHidePanel4 TouchSensorSelected {
description "Hide panel"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchHidePanel4.isSelected5 TO MainmenuToMainpanel.whichChoice
}
DEF Note2 Transform {
translation 3 0.98 0
children [
Shape {
geometry Text {
string [ "Red links go to corresponding viewpoint" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.2
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF WeyPointInterpolatorTourText Transform {
translation 0.27 1.1 0
children [
Shape {
geometry Text {
string [ "Wey Point Interpolator" "Tour" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.24
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF WeyPointInterpolatorTourButton Transform {
translation -0.8 1.08 0
children [
DEF touchWeyPointInterpolatorTour TouchSensor {
# description "Tour using WayPointInterpolator"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyText4 Transform {
translation 0 0.6 0
children [
Shape {
geometry Text {
string [ "x" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyButton4 Transform {
translation -0.8 0.68 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyText5 Transform {
translation 0 0.2 0
children [
Shape {
geometry Text {
string [ "x" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF Emptybutton5 Transform {
translation -0.8 0.28 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyText6 Transform {
translation 0 -0.2 0
children [
Shape {
geometry Text {
string [ "x" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyButton6 Transform {
translation -0.8 -0.12 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyText7 Transform {
translation 0 -0.6 0
children [
Shape {
geometry Text {
string [ "x" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF Emptyutton7 Transform {
translation -0.8 -0.52 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyText8 Transform {
translation 0 -1 0
children [
Shape {
geometry Text {
string [ "x" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyButton8 Transform {
translation -0.8 -0.92 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF PreviousPanelText2 Transform {
translation -0.3 -1.3 0
children [
Shape {
geometry Text {
string [ "Previous Panel" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.2
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF PreviousPanelButton2 Transform {
translation -0.8 -1.25 0
children [
DEF touchPreviousPanel2 TouchSensorSelected {
description "Previous Panel"
}
Shape {
geometry Sphere {
radius 0.05
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchPreviousPanel2.isSelected3 TO NavigatingPanel.translation
ROUTE touchPreviousPanel2.isSelected2 TO NavigatingPanelBis.translation
}
]
}
]
ROUTE touchNextPanel2.isSelected3 TO NavigatingPanelBis.translation
}
# Lighting Panel, it appears clicking on the Lighting button on the First panel ()
DEF LightingPanel Transform {
children [
Transform {
translation -1.2 0 0
children [
DEF BackButtonText3 Transform {
translation 2 1.2 0
children [
Shape {
geometry Text {
string [ "Back" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF BackButton3 Transform {
translation 1.5 1.28 0
children [
DEF touchBackButton3 TouchSensorSelected {
description "Back"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchBackButton3.isSelected3 TO FirstPanel.translation
ROUTE touchBackButton3.isSelected5 TO ChurcRoofToChurcModel.whichChoice
ROUTE touchBackButton3.isSelected18 TO RedPyramidTransform.translation
ROUTE touchBackButton3.isSelected2 TO LightingPanel.translation
}
DEF HidePanelText6 Transform {
translation 3.2 1.2 0
children [
Shape {
geometry Text {
string [ "Hide Panel" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF HidePanelButton6 Transform {
translation 2.7 1.28 0
children [
DEF touchHidePanel6 TouchSensorSelected {
description "Hide panel"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchHidePanel6.isSelected5 TO MainmenuToMainpanel.whichChoice
}
DEF Note4 Transform {
translation 3 0.96 0
children [
Shape {
geometry Text {
string [ "Red links go to corresponding viewpoint" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.2
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF ExteriorNavigationText Transform {
translation 0.17 1.2 0
children [
Shape {
geometry Text {
string [ "Exterior navigation" "(Main light on)" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.25
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF ExteriorNavigationButton Transform {
translation -0.8 1.08 0
children [
DEF touchExteriorNavigation TouchSensorSelected {
description "Exterior navigation (Main light on)"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material DEF ExteriorNavigationColor Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchExteriorNavigation.isSelected TO NavigationFly.headlight
ROUTE touchExteriorNavigation.isSelected6 TO PanelPointLight.on
}
DEF Light1Text Transform {
translation 0 0.6 0
children [
Shape {
geometry Text {
string [ "Light1" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF Light1Button Transform {
translation -0.8 0.68 0
children [
DEF touchLight1 TouchSensorSelected {
description "Light 1"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material DEF Light1Color Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchLight1.isSelected6 TO NavigationFly.headlight
ROUTE touchLight1.isSelected TO PanelPointLight.on
}
DEF Light2Text Transform {
translation 0 0.2 0
children [
Shape {
geometry Text {
string [ "Light2" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF Light2button Transform {
translation -0.8 0.28 0
children [
DEF touchLight2 TouchSensorSelected {
description "Light 2"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material DEF Light2Color Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchLight2.isSelected6 TO NavigationFly.headlight
ROUTE touchLight2.isSelected TO PanelPointLight.on
}
DEF Light3Text Transform {
translation 0 -0.2 0
children [
Shape {
geometry Text {
string [ "Light3" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF Light3Button Transform {
translation -0.8 -0.12 0
children [
DEF touchLight3 TouchSensorSelected {
description "Light 3"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material DEF Light3Color Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchLight3.isSelected6 TO NavigationFly.headlight
ROUTE touchLight3.isSelected TO PanelPointLight.on
}
DEF Light4Text Transform {
translation 0 -0.6 0
children [
Shape {
geometry Text {
string [ "Light4" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF Light4Button Transform {
translation -0.8 -0.52 0
children [
DEF touchLight4 TouchSensorSelected {
description "Light 4"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material DEF Light4Color Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchLight4.isSelected6 TO NavigationFly.headlight
ROUTE touchLight4.isSelected TO PanelPointLight.on
}
DEF Light5Text Transform {
translation 0 -1 0
children [
Shape {
geometry Text {
string [ "Light5" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF Light5Button Transform {
translation -0.8 -0.92 0
children [
DEF touchLight5 TouchSensorSelected {
description "Light 5"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material DEF Light5Color Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchLight5.isSelected6 TO NavigationFly.headlight
ROUTE touchLight5.isSelected TO PanelPointLight.on
}
DEF NextPanelText3 Transform {
translation -0.4 -1.3 0
children [
Shape {
geometry Text {
string [ "Next Panel" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.2
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF NextPaneleButton3 Transform {
translation -0.8 -1.25 0
children [
DEF touchNextPanel3 TouchSensorSelected {
description "Next Panel"
}
Shape {
geometry Sphere {
radius 0.05
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchNextPanel3.isSelected2 TO LightingPanel.translation
}
]
}
]
ROUTE touchLighting.isSelected3 TO LightingPanel.translation
}
# Second part of the Lighting Panel, it appears clicking on Next Panel at the bottom ()
DEF LightingPanelBis Transform {
children [
Transform {
translation -1.2 0 0
children [
DEF BackButtonText4 Transform {
translation 2 1.2 0
children [
Shape {
geometry Text {
string [ "Back" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF BackButton4 Transform {
translation 1.5 1.28 0
children [
DEF touchBackButton4 TouchSensorSelected {
description "Back"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchBackButton4.isSelected3 TO FirstPanel.translation
ROUTE touchBackButton4.isSelected5 TO ChurcRoofToChurcModel.whichChoice
ROUTE touchBackButton4.isSelected18 TO RedPyramidTransform.translation
ROUTE touchBackButton4.isSelected2 TO LightingPanelBis.translation
}
DEF HidePanelText7 Transform {
translation 3.2 1.2 0
children [
Shape {
geometry Text {
string [ "Hide Panel" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF HidePanelButton7 Transform {
translation 2.7 1.28 0
children [
DEF touchHidePanel7 TouchSensorSelected {
description "Hide panel"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchHidePanel7.isSelected5 TO MainmenuToMainpanel.whichChoice
}
DEF Note5 Transform {
translation 3 0.96 0
children [
Shape {
geometry Text {
string [ "Red links go to corresponding viewpoint" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.2
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF Light6Text Transform {
translation 0 1 0
children [
Shape {
geometry Text {
string [ "Light6" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF Light6Button Transform {
translation -0.8 1.08 0
children [
DEF touchLight6 TouchSensorSelected {
description "Light 6"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material DEF Light6Color Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchLight6.isSelected6 TO NavigationFly.headlight
ROUTE touchLight6.isSelected TO PanelPointLight.on
}
DEF Light7Text Transform {
translation 0 0.6 0
children [
Shape {
geometry Text {
string [ "Light7" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF Light7Button Transform {
translation -0.8 0.68 0
children [
DEF touchLight7 TouchSensorSelected {
description "Light 7"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material DEF Light7Color Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchLight7.isSelected6 TO NavigationFly.headlight
ROUTE touchLight7.isSelected TO PanelPointLight.on
}
DEF Light8Text Transform {
translation 0 0.2 0
children [
Shape {
geometry Text {
string [ "Light8" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF Light8Button Transform {
translation -0.8 0.28 0
children [
DEF touchLight8 TouchSensorSelected {
description "Light 8"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material DEF Light8Color Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchLight8.isSelected6 TO NavigationFly.headlight
ROUTE touchLight8.isSelected TO PanelPointLight.on
}
DEF Light9Text Transform {
translation 0 -0.2 0
children [
Shape {
geometry Text {
string [ "Light9" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF Light9Button Transform {
translation -0.8 -0.12 0
children [
DEF touchLight9 TouchSensorSelected {
description "Light 9"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material DEF Light9Color Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchLight9.isSelected6 TO NavigationFly.headlight
ROUTE touchLight9.isSelected TO PanelPointLight.on
}
DEF Light10Text Transform {
translation 0 -0.6 0
children [
Shape {
geometry Text {
string [ "Light10" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF Light10Button Transform {
translation -0.8 -0.52 0
children [
DEF touchLight10 TouchSensorSelected {
description "Light 10"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material DEF Light10Color Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchLight10.isSelected6 TO NavigationFly.headlight
ROUTE touchLight10.isSelected TO PanelPointLight.on
}
DEF EmptyText13 Transform {
translation 0 -1 0
children [
Shape {
geometry Text {
string [ "x" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyButton13 Transform {
translation -0.8 -0.92 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF PreviousPanelText3 Transform {
translation 0 -1.3 0
children [
Shape {
geometry Text {
string [ "Previous Panel" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.2
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF PreviousPanelButton3 Transform {
translation -0.8 -1.25 0
children [
DEF touchPreviousPanel3 TouchSensorSelected {
description "Previous Panel"
}
Shape {
geometry Sphere {
radius 0.05
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchPreviousPanel3.isSelected3 TO LightingPanel.translation
ROUTE touchPreviousPanel3.isSelected2 TO LightingPanelBis.translation
}
]
}
]
ROUTE touchNextPanel3.isSelected3 TO LightingPanelBis.translation
}
# The following routes change color to buttons of the lighing panel
# The following blue spheres represent the position of the sources of light (pointlights or spotlights) in the model
DEF SourcesOfLightSpheres Transform {
children [
DEF SourcesOfLightFirstCombination Transform {
translation 0 0 -1
children [
DEF ThreeWindowsn Transform {
translation 0.66 0.31 0.5
children [
DEF SourcesOfLightSecondCombination Transform {
children [
DEF BlueSphere1 Transform {
children [
Shape {
geometry Sphere {
radius 0.05
}
appearance Appearance {
material Material {
diffuseColor 0 0 1
}
}
}
]
}
DEF BlueSphere2 Transform {
translation 0.54 0 0
children [
Shape {
geometry Sphere {
radius 0.05
}
appearance Appearance {
material Material {
diffuseColor 0 0 1
}
}
}
]
}
DEF BlueSphere3 Transform {
translation 1.08 0 0
children [
Shape {
geometry Sphere {
radius 0.05
}
appearance Appearance {
material Material {
diffuseColor 0 0 1
}
}
}
]
}
]
}
DEF BlueSphere4 Transform {
translation 0 -0.5 0
children [
Shape {
geometry Sphere {
radius 0.05
}
appearance Appearance {
material Material {
diffuseColor 0 0 1
}
}
}
]
}
DEF BlueSphere5 Transform {
translation 0.55 -0.5 0
children [
Shape {
geometry Sphere {
radius 0.05
}
appearance Appearance {
material Material {
diffuseColor 0 0 1
}
}
}
]
}
DEF BlueSphere6 Transform {
translation 1.1 -0.5 0
children [
Shape {
geometry Sphere {
radius 0.05
}
appearance Appearance {
material Material {
diffuseColor 0 0 1
}
}
}
]
}
]
}
]
}
DEF SourcesOfLightThirdCombination Transform {
translation 0 0 -1
children [
DEF SourcesOfLightFourthCombination Transform {
translation 0.66 0.31 0.5
children [
DEF BlueSphere7 Transform {
children [
Shape {
geometry Sphere {
radius 0.05
}
appearance Appearance {
material Material {
diffuseColor 0 0 1
}
}
}
]
}
DEF BlueSphere8 Transform {
translation 0.54 0 0
children [
Shape {
geometry Sphere {
radius 0.05
}
appearance Appearance {
material Material {
diffuseColor 0 0 1
}
}
}
]
}
DEF BlueSphere9 Transform {
translation 1.08 0 0
children [
Shape {
geometry Sphere {
radius 0.05
}
appearance Appearance {
material Material {
diffuseColor 0 0 1
}
}
}
]
}
DEF BlueSphere10 Transform {
translation 1.6 0.38 0
children [
Shape {
geometry Sphere {
radius 0.05
}
appearance Appearance {
material Material {
diffuseColor 0 0 1
}
}
}
]
}
]
}
]
}
DEF SourcesOfLightFifthCombination Transform {
translation 0 0 -1
children [
DEF SourcesOfLightSixthCombination Transform {
translation 0.9 0.14 0.5
children [
DEF BlueSphere11 Transform {
children [
Shape {
geometry Sphere {
radius 0.05
}
appearance Appearance {
material Material {
diffuseColor 0 0 1
}
}
}
]
}
DEF BlueSphere12 Transform {
translation 0.69 0 0
children [
Shape {
geometry Sphere {
radius 0.05
}
appearance Appearance {
material Material {
diffuseColor 0 0 1
}
}
}
]
}
DEF BlueSphere13 Transform {
translation 1.38 0 0
children [
Shape {
geometry Sphere {
radius 0.05
}
appearance Appearance {
material Material {
diffuseColor 0 0 1
}
}
}
]
}
DEF BlueSphere14 Transform {
translation 1.35 0.38 0
children [
Shape {
geometry Sphere {
radius 0.05
}
appearance Appearance {
material Material {
diffuseColor 0 0 1
}
}
}
]
}
DEF BlueSphere15 Transform {
translation 1.42 -0.38 0
children [
Shape {
geometry Sphere {
radius 0.05
}
appearance Appearance {
material Material {
diffuseColor 0 0 1
}
}
}
]
}
]
}
]
}
]
ROUTE touchLighting.isSelected17 TO SourcesOfLightSpheres.translation
ROUTE touchBackButton3.isSelected18 TO SourcesOfLightSpheres.translation
ROUTE touchBackButton4.isSelected18 TO SourcesOfLightSpheres.translation
}
# The following routes change the blu spheres representing the souurces of light
# Short descriptions of the various light. For example: Light 3 = Morning Beam. They appear in bottom right of the model.
DEF LightDescriptions Transform {
translation 1.3 -1.13 -0.7
children [
DEF Light1Description Transform {
children [
Shape {
geometry Text {
string [ "Simulating sun light (SpotLights)" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
DEF NoteB Transform {
translation 0.9 -0.22 0
children [
Shape {
geometry Text {
string [ "Blue spheres represent sources of light" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.2
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF Light2Description Transform {
children [
Shape {
geometry Text {
string [ "No Lights" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF Light3Description Transform {
children [
Shape {
geometry Text {
string [ "Morning Beam" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
USE NoteB
]
}
DEF Light4Description Transform {
children [
Shape {
geometry Text {
string [ "Morning Light" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
USE NoteB
]
}
DEF Light5Description Transform {
children [
Shape {
geometry Text {
string [ "Artificial light (PointLights from chandeliers)" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
USE NoteB
]
}
DEF Light6Description Transform {
children [
Shape {
geometry Text {
string [ "Artificial light (PointLights from chandeliers)" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
USE NoteB
]
}
DEF Light78910Description Transform {
children [
Shape {
geometry Text {
string [ "Simulating sun light (PointLights)" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
USE NoteB
]
}
DEF ExteriorNavigationDescription Transform {
children [
Shape {
geometry Text {
string [ "Headlight on" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
USE NoteB
]
}
]
ROUTE touchLighting.isSelected9 TO LightDescriptions.translation
ROUTE touchBackButton3.isSelected10 TO LightDescriptions.translation
ROUTE touchBackButton4.isSelected10 TO LightDescriptions.translation
}
# The following routes change the text that describe each light in the lighting panel
# Pictures Panel, it appears clicking on the Pictures button on the First panel ()
DEF PicturesPanel Transform {
children [
Transform {
translation -1.2 0 0
children [
DEF BackButtonText5 Transform {
translation 2 1.2 0
children [
Shape {
geometry Text {
string [ "Back" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchPictures.isSelected3 TO PicturesPanel.translation
}
DEF BackButton5 Transform {
translation 1.5 1.28 0
children [
DEF touchBackButton5 TouchSensorSelected {
description "Back"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchBackButton5.isSelected3 TO FirstPanel.translation
ROUTE touchBackButton5.isSelected5 TO ChurcRoofToChurcModel.whichChoice
ROUTE touchBackButton5.isSelected18 TO RedPyramidTransform.translation
ROUTE touchBackButton5.isSelected2 TO PicturesPanel.translation
}
DEF HidePanelText8 Transform {
translation 3.2 1.2 0
children [
Shape {
geometry Text {
string [ "Hide Panel" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF HidePanelButton8 Transform {
translation 2.7 1.28 0
children [
DEF touchHidePanel8 TouchSensorSelected {
description "Hide panel"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchHidePanel8.isSelected5 TO MainmenuToMainpanel.whichChoice
}
DEF Note6 Transform {
translation 3 0.96 0
children [
Shape {
geometry Text {
string [ "Red links go to corresponding viewpoint" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.2
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF FacadePicturesText Transform {
translation -0.27 1 0
children [
Shape {
geometry Text {
string [ "Facade" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Facade Pictures"
parameter [ "target=blank" ]
url [ "documentation/pictures/Facade.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pictures/Facade.html" ]
children [
DEF FacadePicturesButton Transform {
translation -0.8 1.08 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF ExteriorLeftPicturesText Transform {
translation 0 0.6 0
children [
Shape {
geometry Text {
string [ "Exterior left" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Exterior left"
parameter [ "target=blank" ]
url [ "documentation/pictures/ExteriorLeft.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pictures/ExteriorLeft.html" ]
children [
DEF ExteriorLeftPicturesButton Transform {
translation -0.8 0.68 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF ExteriorRightPicturesText Transform {
translation 0.08 0.2 0
children [
Shape {
geometry Text {
string [ "Exterior right" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Exterior right"
parameter [ "target=blank" ]
url [ "documentation/pictures/ExteriorRight.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pictures/ExteriorRight.html" ]
children [
DEF ExteriorRightPicturesButton Transform {
translation -0.8 0.28 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF ExteriorBackPicturesText Transform {
translation 0.07 -0.2 0
children [
Shape {
geometry Text {
string [ "Exterior back" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Exterior back"
parameter [ "target=blank" ]
url [ "documentation/pictures/ExteriorBack.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pictures/ExteriorBack.html" ]
children [
DEF ExteriorBackPicturesButton Transform {
translation -0.8 -0.12 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF EntrancePicturesText Transform {
translation -0.16 -0.6 0
children [
Shape {
geometry Text {
string [ "Entrance" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Entrance"
parameter [ "target=blank" ]
url [ "documentation/pictures/Entrance.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pictures/Entrance.html" ]
children [
DEF EntrancePicturesButton Transform {
translation -0.8 -0.52 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF NavePicturesText Transform {
translation -0.34 -1 0
children [
Shape {
geometry Text {
string [ "Nave" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Nave"
parameter [ "target=blank" ]
url [ "documentation/pictures/Nave.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pictures/Nave.html" ]
children [
DEF NavePicturesButton Transform {
translation -0.8 -0.92 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF NextPanelText4 Transform {
translation -0.4 -1.3 0
children [
Shape {
geometry Text {
string [ "Next Panel" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.2
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF NextPanelButton4 Transform {
translation -0.8 -1.25 0
children [
DEF touchNextPanel4 TouchSensorSelected {
description "Next Panel"
}
Shape {
geometry Sphere {
radius 0.05
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchNextPanel4.isSelected2 TO PicturesPanel.translation
}
]
}
]
}
# Second part of the Pictures Panel, it appears clicking on Next Panel at the bottom ()
DEF PicturesPanelBis Transform {
children [
Transform {
translation -1.2 0 0
children [
DEF BackButtonText6 Transform {
translation 2 1.2 0
children [
Shape {
geometry Text {
string [ "Back" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF BackButton6 Transform {
translation 1.5 1.28 0
children [
DEF touchBackButton6 TouchSensorSelected {
description "Back"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchBackButton6.isSelected3 TO FirstPanel.translation
ROUTE touchBackButton6.isSelected5 TO ChurcRoofToChurcModel.whichChoice
ROUTE touchBackButton6.isSelected18 TO RedPyramidTransform.translation
ROUTE touchBackButton6.isSelected2 TO PicturesPanelBis.translation
}
DEF HidePanelText9 Transform {
translation 3.2 1.2 0
children [
Shape {
geometry Text {
string [ "Hide Panel" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF HidePanelButton9 Transform {
translation 2.7 1.28 0
children [
DEF touchHidePanel9 TouchSensorSelected {
description "Hide panel"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchHidePanel9.isSelected5 TO MainmenuToMainpanel.whichChoice
}
DEF Note7 Transform {
translation 3 0.96 0
children [
Shape {
geometry Text {
string [ "Red links go to corresponding viewpoint" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.2
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF TranseptAndAxesPicturesText Transform {
translation 0.11 1 0
children [
Shape {
geometry Text {
string [ "Transept and axes" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Transept and axes"
parameter [ "target=blank" ]
url [ "documentation/pictures/TranseptAxes.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pictures/TranseptAxes.html" ]
children [
DEF TranseptAndAxesPicturesButton Transform {
translation -0.8 1.08 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF SacristyPicturesText Transform {
translation -0.2 0.6 0
children [
Shape {
geometry Text {
string [ "Sacristy" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Sacristy"
parameter [ "target=blank" ]
url [ "documentation/pictures/Sacristy.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pictures/Sacristy.html" ]
children [
DEF SacristyPicturesButton Transform {
translation -0.8 0.68 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF BalconyPicturesText Transform {
translation -0.2 0.2 0
children [
Shape {
geometry Text {
string [ "Balcony" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Balcony"
parameter [ "target=blank" ]
url [ "documentation/pictures/Balcony.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pictures/Balcony.html" ]
children [
DEF BalconyPicturesButton Transform {
translation -0.8 0.28 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF TowerPicturesText Transform {
translation -0.28 -0.2 0
children [
Shape {
geometry Text {
string [ "Tower" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Tower"
parameter [ "target=blank" ]
url [ "documentation/pictures/Tower.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pictures/Tower.html" ]
children [
DEF TowerPicturesButton Transform {
translation -0.8 -0.12 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF FurnishingPicturesText Transform {
translation -0.04 -0.6 0
children [
Shape {
geometry Text {
string [ "Furnishing" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Furnishing"
parameter [ "target=blank" ]
url [ "documentation/pictures/Furnishing.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pictures/Furnishing.html" ]
children [
DEF FurnishingPicturesButton Transform {
translation -0.8 -0.52 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF DecorationsPicturesText Transform {
translation 0 -1 0
children [
Shape {
geometry Text {
string [ "Decorations" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Decorations"
parameter [ "target=blank" ]
url [ "documentation/pictures/Decorations.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pictures/Decorations.html" ]
children [
DEF DecorationsPicturesButton Transform {
translation -0.8 -0.92 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF PreviousPanelText4 Transform {
translation 0 -1.3 0
children [
Shape {
geometry Text {
string [ "Previous Panel" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.2
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF PreviousPanelButton4 Transform {
translation -0.8 -1.25 0
children [
DEF touchPreviousPanel4 TouchSensorSelected {
description "Previous Panel"
}
Shape {
geometry Sphere {
radius 0.05
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchPreviousPanel4.isSelected3 TO PicturesPanel.translation
ROUTE touchPreviousPanel4.isSelected2 TO PicturesPanelBis.translation
}
]
}
]
ROUTE touchNextPanel4.isSelected3 TO PicturesPanelBis.translation
}
# Sources Panel, it appears clicking on the Sources button on the First panel ()
DEF SourcesPanel Transform {
children [
Transform {
translation -1.2 0 0
children [
DEF BackButtonText7 Transform {
translation 2 1.2 0
children [
Shape {
geometry Text {
string [ "Back" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF BackButton7 Transform {
translation 1.5 1.28 0
children [
DEF touchBackButton7 TouchSensorSelected {
description "Back"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchBackButton7.isSelected3 TO FirstPanel.translation
ROUTE touchBackButton7.isSelected5 TO ChurcRoofToChurcModel.whichChoice
ROUTE touchBackButton7.isSelected18 TO RedPyramidTransform.translation
ROUTE touchBackButton7.isSelected2 TO SourcesPanel.translation
}
DEF HidePanelText10 Transform {
translation 3.2 1.2 0
children [
Shape {
geometry Text {
string [ "Hide Panel" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF HidePanelButton10 Transform {
translation 2.7 1.28 0
children [
DEF touchHidePanel10 TouchSensorSelected {
description "Hide panel"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchHidePanel10.isSelected5 TO MainmenuToMainpanel.whichChoice
}
DEF Note8 Transform {
translation 3 0.96 0
children [
Shape {
geometry Text {
string [ "Red links go to corresponding viewpoint" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.2
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF FacadeSourcesText Transform {
translation -0.27 1 0
children [
Shape {
geometry Text {
string [ "Facade" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Facade"
parameter [ "target=blank" ]
url [ "documentation/sources/Facade.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/sources/Facade.html" ]
children [
DEF FacadeSourcesButton Transform {
translation -0.8 1.08 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF ExteriorLeftSourcesText Transform {
translation 0 0.6 0
children [
Shape {
geometry Text {
string [ "Exterior left" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Exterior left"
parameter [ "target=blank" ]
url [ "documentation/sources/ExteriorLeft.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/sources/ExteriorLeft.html" ]
children [
DEF ExteriorLeftSourcesButton Transform {
translation -0.8 0.68 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF ExteriorRightSourcesText Transform {
translation 0.08 0.2 0
children [
Shape {
geometry Text {
string [ "Exterior right" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Exterior right"
parameter [ "target=blank" ]
url [ "documentation/sources/ExteriorRight.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/sources/ExteriorRight.html" ]
children [
DEF ExteriorRightSourcesButton Transform {
translation -0.8 0.28 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF ExteriorBackSourcesText Transform {
translation 0.07 -0.2 0
children [
Shape {
geometry Text {
string [ "Exterior back" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Exterior back"
parameter [ "target=blank" ]
url [ "documentation/sources/ExteriorBack.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/sources/ExteriorBack.html" ]
children [
DEF ExteriorBackSourcesButton Transform {
translation -0.8 -0.12 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF EntranceSourcesText Transform {
translation -0.16 -0.6 0
children [
Shape {
geometry Text {
string [ "Entrance" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Entrance"
parameter [ "target=blank" ]
url [ "documentation/sources/Entrance.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/sources/Entrance.html" ]
children [
DEF EntranceSourcesButton Transform {
translation -0.8 -0.52 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF NaveSourcesText Transform {
translation -0.34 -1 0
children [
Shape {
geometry Text {
string [ "Nave" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Nave"
parameter [ "target=blank" ]
url [ "documentation/sources/Nave.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/sources/Nave.html" ]
children [
DEF NaveSourcesButton Transform {
translation -0.8 -0.92 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF NextPanelText5 Transform {
translation -0.4 -1.3 0
children [
Shape {
geometry Text {
string [ "Next Panel" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.2
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF NextPanelButton5 Transform {
translation -0.8 -1.25 0
children [
DEF touchNextPanel5 TouchSensorSelected {
description "Next Panel"
}
Shape {
geometry Sphere {
radius 0.05
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchNextPanel5.isSelected2 TO SourcesPanel.translation
}
]
}
]
ROUTE touchSources.isSelected3 TO SourcesPanel.translation
}
# Second part of the Sources Panel, it appears clicking on Next Panel at the bottom ()
DEF SourcesPanelBis Transform {
children [
Transform {
translation -1.2 0 0
children [
DEF BackButtonText8 Transform {
translation 2 1.2 0
children [
Shape {
geometry Text {
string [ "Back" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF BackButton8 Transform {
translation 1.5 1.28 0
children [
DEF touchBackButton8 TouchSensorSelected {
description "Back"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchBackButton8.isSelected3 TO FirstPanel.translation
ROUTE touchBackButton8.isSelected5 TO ChurcRoofToChurcModel.whichChoice
ROUTE touchBackButton8.isSelected18 TO RedPyramidTransform.translation
ROUTE touchBackButton8.isSelected2 TO SourcesPanelBis.translation
}
DEF HidePanelText11 Transform {
translation 3.2 1.2 0
children [
Shape {
geometry Text {
string [ "Hide Panel" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF HidePanelButton11 Transform {
translation 2.7 1.28 0
children [
DEF touchHidePanel11 TouchSensorSelected {
description "Hide panel"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchHidePanel11.isSelected5 TO MainmenuToMainpanel.whichChoice
}
DEF Note9 Transform {
translation 3 0.96 0
children [
Shape {
geometry Text {
string [ "Red links go to corresponding viewpoint" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.2
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF TranseptAndAxesSourcesText Transform {
translation 0.11 1 0
children [
Shape {
geometry Text {
string [ "Transept and axes" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Transept and axes"
parameter [ "target=blank" ]
url [ "documentation/sources/TranseptAxes.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/sources/TranseptAxes.html" ]
children [
DEF TranseptAndAxesSourcesButton Transform {
translation -0.8 1.08 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF SacristySourcesText Transform {
translation -0.2 0.6 0
children [
Shape {
geometry Text {
string [ "Sacristy" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Sacristy"
parameter [ "target=blank" ]
url [ "documentation/sources/Sacristy.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/sources/Sacristy.html" ]
children [
DEF SacristySourcesButton Transform {
translation -0.8 0.68 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF BalconySourcesText Transform {
translation -0.2 0.2 0
children [
Shape {
geometry Text {
string [ "Balcony" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Balcony"
parameter [ "target=blank" ]
url [ "documentation/sources/Balcony.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/sources/Balcony.html" ]
children [
DEF BalconySourcesButton Transform {
translation -0.8 0.28 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF TowerSourcesText Transform {
translation -0.28 -0.2 0
children [
Shape {
geometry Text {
string [ "Tower" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Tower"
parameter [ "target=blank" ]
url [ "documentation/sources/Tower.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/sources/Tower.html" ]
children [
DEF TowerSourcesButton Transform {
translation -0.8 -0.12 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF FurnishingSourcesText Transform {
translation -0.04 -0.6 0
children [
Shape {
geometry Text {
string [ "Furnishing" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Furnishing"
parameter [ "target=blank" ]
url [ "documentation/sources/Furnishing.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/sources/Furnishing.html" ]
children [
DEF FurnishingSourcesButton Transform {
translation -0.8 -0.52 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF DecorationsSourcesText Transform {
translation 0 -1 0
children [
Shape {
geometry Text {
string [ "Decorations" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Decorations"
parameter [ "target=blank" ]
url [ "documentation/sources/Decorations.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/sources/Decorations.html" ]
children [
DEF DecorationsSourcesButton Transform {
translation -0.8 -0.92 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF PreviousPanelText5 Transform {
translation 0 -1.3 0
children [
Shape {
geometry Text {
string [ "Previous Panel" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.2
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF PreviousPanelButton5 Transform {
translation -0.8 -1.25 0
children [
DEF touchPreviousPanel5 TouchSensorSelected {
description "Previous Panel"
}
Shape {
geometry Sphere {
radius 0.05
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchPreviousPanel5.isSelected3 TO SourcesPanel.translation
ROUTE touchPreviousPanel5.isSelected2 TO SourcesPanelBis.translation
}
]
}
]
ROUTE touchNextPanel5.isSelected3 TO SourcesPanelBis.translation
}
# Historic Church Panel, it appears clicking on the Historic Church button on the First panel ()
DEF HistoricChurchPanel Transform {
children [
Transform {
translation -1.2 0 0
children [
DEF BackButtonText9 Transform {
translation 2 1.2 0
children [
Shape {
geometry Text {
string [ "Back" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF BackButton9 Transform {
translation 1.5 1.28 0
children [
DEF touchBackButton9 TouchSensorSelected {
description "Back"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchBackButton9.isSelected3 TO FirstPanel.translation
ROUTE touchBackButton9.isSelected5 TO ChurcRoofToChurcModel.whichChoice
ROUTE touchBackButton9.isSelected18 TO RedPyramidTransform.translation
ROUTE touchBackButton9.isSelected2 TO HistoricChurchPanel.translation
}
DEF HidePanelText5 Transform {
translation 3.2 1.2 0
children [
Shape {
geometry Text {
string [ "Hide Panel" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF HidePanelButton5 Transform {
translation 2.7 1.28 0
children [
DEF touchHidePanel5 TouchSensorSelected {
description "Hide panel"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchHidePanel5.isSelected5 TO MainmenuToMainpanel.whichChoice
}
DEF Note3 Transform {
translation 3 0.96 0
children [
Shape {
geometry Text {
string [ "Red links go to corresponding viewpoint" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.2
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF TodayText Transform {
translation 0 1 0
children [
Shape {
geometry Text {
string [ "Today" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF TodayButton Transform {
translation -0.8 1.08 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 1 1 1
}
}
}
]
}
DEF Mid19thCenturyText Transform {
translation 0.3 0.6 0
children [
Shape {
geometry Text {
string [ "Mid 19th Century" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF Mid19thCenturyButton Transform {
translation -0.8 0.68 0
children [
DEF touchMid19thCentury TouchSensorSelected {
description "Mid 19th Century"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchMid19thCentury.isSelected4 TO PresentToHistorichChurch.whichChoice
ROUTE touchMid19thCentury.isSelected TO NavigationFly.headlight
ROUTE touchMid19thCentury.isSelected6 TO PanelPointLight.on
}
DEF EmptyText9 Transform {
translation 0 0.2 0
children [
Shape {
geometry Text {
string [ "x" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyButton9 Transform {
translation -0.8 0.28 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyText10 Transform {
translation 0 -0.2 0
children [
Shape {
geometry Text {
string [ "x" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyButton10 Transform {
translation -0.8 -0.12 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyText11 Transform {
translation 0 -0.6 0
children [
Shape {
geometry Text {
string [ "x" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyButton11 Transform {
translation -0.8 -0.52 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyText12 Transform {
translation 0 -1 0
children [
Shape {
geometry Text {
string [ "x" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyButton12 Transform {
translation -0.8 -0.92 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
]
ROUTE touchHistoricCurch.isSelected3 TO HistoricChurchPanel.translation
}
# Bells Sound Panel, it appears clicking on the Bells Sound button on the First panel (). It brings you in front of bells
DEF BellsSoundPanel Transform {
children [
Transform {
translation -1.2 0 0
children [
DEF BackButtonText10 Transform {
translation 2 1.2 0
children [
Shape {
geometry Text {
string [ "Back" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF BackButton10 Transform {
translation 1.5 1.28 0
children [
DEF touchBackButton10 TouchSensorSelected {
description "Back"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchBackButton10.isSelected3 TO FirstPanelBis.translation
ROUTE touchBackButton10.isSelected5 TO ChurcRoofToChurcModel.whichChoice
ROUTE touchBackButton10.isSelected18 TO RedPyramidTransform.translation
ROUTE touchBackButton10.isSelected2 TO BellsSoundPanel.translation
}
DEF HidePanelText12 Transform {
translation 3.2 1.2 0
children [
Shape {
geometry Text {
string [ "Hide Panel" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF HidePanelButton12 Transform {
translation 2.7 1.28 0
children [
DEF touchHidePanel12 TouchSensorSelected {
description "Hide panel"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchHidePanel12.isSelected5 TO MainmenuToMainpanel.whichChoice
}
DEF Note10 Transform {
translation 3 0.96 0
children [
Shape {
geometry Text {
string [ "Red links go to corresponding viewpoint" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.2
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF Note11 Transform {
translation 3 -1.2 0
children [
Shape {
geometry Text {
string [ "Green references take you in front of bells" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.2
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF TextBellsSound Transform {
translation 0 1 0
children [
Shape {
geometry Text {
string [ "Click on bells in the main" "model to start animation" "and sound" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.26
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
]
ROUTE touchBellsSound.isSelected3 TO BellsSoundPanel.translation
}
# Green pyramids are links to viewpoints in front of bells. They are positioned in the small model of the church (only in the Bells Sound Panel), on the yellow panel
DEF GreenPyramidTransform Transform {
translation 0 0 -1
children [
Transform {
scale 0.3 0.3 0.3
translation -0.22 0 0.51
children [
DEF SelectBellsFromGround TouchSensorSelected {
description "Bells From Ground"
}
DEF GreenPyramidButton Shape {
geometry IndexedFaceSet {
convex FALSE
coordIndex [ 0 1 4 -1 3 4 0 -1 3 4 2 -1 2 4 1 -1 0 1 2 3 -1 ]
solid FALSE
coord Coordinate {
point [ 0 0 0 0 0 0.25 0.25 0 0.25 0.25 0 0 0.125 0.42 0.125 ]
}
}
appearance Appearance {
material Material {
diffuseColor 0.235 0.698 0.141
}
}
}
]
ROUTE SelectBellsFromGround.isSelected TO ViewpointFrontFromGround.set_bind
}
Transform {
scale 0.3 0.3 0.3
translation 0.26 0.6 0.71
children [
DEF SelectBellsFromTower TouchSensorSelected {
description "Bells From Tower"
}
USE GreenPyramidButton
]
ROUTE SelectBellsFromTower.isSelected TO ViewpointTowerBells.set_bind
}
]
ROUTE touchBellsSound.isSelected16 TO GreenPyramidTransform.translation
ROUTE touchBackButton10.isSelected18 TO GreenPyramidTransform.translation
}
DEF CoordinateSystemPanel Transform {
children [
Transform {
translation -1.2 0 0
children [
DEF BackButtonText11 Transform {
translation 2 1.2 0
children [
Shape {
geometry Text {
string [ "Back" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF BackButton11 Transform {
translation 1.5 1.28 0
children [
DEF touchBackButton11 TouchSensorSelected {
description "Back"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchBackButton11.isSelected3 TO FirstPanelBis.translation
ROUTE touchBackButton11.isSelected5 TO ChurcRoofToChurcModel.whichChoice
ROUTE touchBackButton11.isSelected18 TO RedPyramidTransform.translation
ROUTE touchBackButton11.isSelected2 TO CoordinateSystemPanel.translation
}
DEF HidePanelText13 Transform {
translation 3.2 1.2 0
children [
Shape {
geometry Text {
string [ "Hide Panel" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF HidePanelButton13 Transform {
translation 2.7 1.28 0
children [
DEF touchHidePanel13 TouchSensorSelected {
description "Hide panel"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchHidePanel13.isSelected5 TO MainmenuToMainpanel.whichChoice
}
DEF Note12 Transform {
translation 3 0.96 0
children [
Shape {
geometry Text {
string [ "Red links go to corresponding viewpoint" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.2
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF Note13 Transform {
translation 3 -1.2 0
children [
Shape {
geometry Text {
string [ "Green references take you in front of facade" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.2
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF TextCoordinateSystem Transform {
translation 0 1 0
children [
Shape {
geometry Text {
string [ "Click on left facade in the" "main model to view the" "center of coordinate system" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.26
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
]
ROUTE touchCoordinateSystem.isSelected3 TO CoordinateSystemPanel.translation
}
DEF GreenPyramidTransform2 Transform {
translation 0 0 -1
children [
Transform {
scale 0.3 0.3 0.3
translation -0.22 0 0.51
children [
DEF SelectCoordinateSystemFromGround TouchSensorSelected {
description "CoordinateSystem From Ground"
}
USE GreenPyramidButton
]
ROUTE SelectCoordinateSystemFromGround.isSelected TO ViewpointFrontFromGround.set_bind
}
]
ROUTE touchCoordinateSystem.isSelected16 TO GreenPyramidTransform2.translation
ROUTE touchBackButton11.isSelected18 TO GreenPyramidTransform2.translation
}
]
ROUTE touchExteriorNavigation.isSelected14 TO ExteriorNavigationColor.diffuseColor
ROUTE touchExteriorNavigation.isSelected15 TO Light2Color.diffuseColor
ROUTE touchExteriorNavigation.isSelected15 TO Light1Color.diffuseColor
ROUTE touchExteriorNavigation.isSelected15 TO Light3Color.diffuseColor
ROUTE touchExteriorNavigation.isSelected15 TO Light5Color.diffuseColor
ROUTE touchExteriorNavigation.isSelected15 TO Light6Color.diffuseColor
ROUTE touchExteriorNavigation.isSelected15 TO Light7Color.diffuseColor
ROUTE touchExteriorNavigation.isSelected15 TO Light8Color.diffuseColor
ROUTE touchExteriorNavigation.isSelected15 TO Light9Color.diffuseColor
ROUTE touchExteriorNavigation.isSelected15 TO Light10Color.diffuseColor
ROUTE touchExteriorNavigation.isSelected15 TO Light4Color.diffuseColor
ROUTE touchLight1.isSelected14 TO Light1Color.diffuseColor
ROUTE touchLight1.isSelected15 TO Light2Color.diffuseColor
ROUTE touchLight1.isSelected15 TO ExteriorNavigationColor.diffuseColor
ROUTE touchLight1.isSelected15 TO Light3Color.diffuseColor
ROUTE touchLight1.isSelected15 TO Light5Color.diffuseColor
ROUTE touchLight1.isSelected15 TO Light6Color.diffuseColor
ROUTE touchLight1.isSelected15 TO Light7Color.diffuseColor
ROUTE touchLight1.isSelected15 TO Light8Color.diffuseColor
ROUTE touchLight1.isSelected15 TO Light9Color.diffuseColor
ROUTE touchLight1.isSelected15 TO Light10Color.diffuseColor
ROUTE touchLight1.isSelected15 TO Light4Color.diffuseColor
ROUTE touchLight2.isSelected14 TO Light2Color.diffuseColor
ROUTE touchLight2.isSelected15 TO Light1Color.diffuseColor
ROUTE touchLight2.isSelected15 TO ExteriorNavigationColor.diffuseColor
ROUTE touchLight2.isSelected15 TO Light3Color.diffuseColor
ROUTE touchLight2.isSelected15 TO Light5Color.diffuseColor
ROUTE touchLight2.isSelected15 TO Light6Color.diffuseColor
ROUTE touchLight2.isSelected15 TO Light7Color.diffuseColor
ROUTE touchLight2.isSelected15 TO Light8Color.diffuseColor
ROUTE touchLight2.isSelected15 TO Light9Color.diffuseColor
ROUTE touchLight2.isSelected15 TO Light10Color.diffuseColor
ROUTE touchLight2.isSelected15 TO Light4Color.diffuseColor
ROUTE touchLight3.isSelected14 TO Light3Color.diffuseColor
ROUTE touchLight3.isSelected15 TO Light1Color.diffuseColor
ROUTE touchLight3.isSelected15 TO ExteriorNavigationColor.diffuseColor
ROUTE touchLight3.isSelected15 TO Light2Color.diffuseColor
ROUTE touchLight3.isSelected15 TO Light5Color.diffuseColor
ROUTE touchLight3.isSelected15 TO Light6Color.diffuseColor
ROUTE touchLight3.isSelected15 TO Light7Color.diffuseColor
ROUTE touchLight3.isSelected15 TO Light8Color.diffuseColor
ROUTE touchLight3.isSelected15 TO Light9Color.diffuseColor
ROUTE touchLight3.isSelected15 TO Light10Color.diffuseColor
ROUTE touchLight3.isSelected15 TO Light4Color.diffuseColor
ROUTE touchLight4.isSelected14 TO Light4Color.diffuseColor
ROUTE touchLight4.isSelected15 TO Light1Color.diffuseColor
ROUTE touchLight4.isSelected15 TO ExteriorNavigationColor.diffuseColor
ROUTE touchLight4.isSelected15 TO Light2Color.diffuseColor
ROUTE touchLight4.isSelected15 TO Light5Color.diffuseColor
ROUTE touchLight4.isSelected15 TO Light6Color.diffuseColor
ROUTE touchLight4.isSelected15 TO Light7Color.diffuseColor
ROUTE touchLight4.isSelected15 TO Light8Color.diffuseColor
ROUTE touchLight4.isSelected15 TO Light9Color.diffuseColor
ROUTE touchLight4.isSelected15 TO Light10Color.diffuseColor
ROUTE touchLight4.isSelected15 TO Light3Color.diffuseColor
ROUTE touchLight5.isSelected14 TO Light5Color.diffuseColor
ROUTE touchLight5.isSelected15 TO Light1Color.diffuseColor
ROUTE touchLight5.isSelected15 TO ExteriorNavigationColor.diffuseColor
ROUTE touchLight5.isSelected15 TO Light2Color.diffuseColor
ROUTE touchLight5.isSelected15 TO Light4Color.diffuseColor
ROUTE touchLight5.isSelected15 TO Light6Color.diffuseColor
ROUTE touchLight5.isSelected15 TO Light7Color.diffuseColor
ROUTE touchLight5.isSelected15 TO Light8Color.diffuseColor
ROUTE touchLight5.isSelected15 TO Light9Color.diffuseColor
ROUTE touchLight5.isSelected15 TO Light10Color.diffuseColor
ROUTE touchLight5.isSelected15 TO Light3Color.diffuseColor
ROUTE touchLight6.isSelected14 TO Light6Color.diffuseColor
ROUTE touchLight6.isSelected15 TO Light1Color.diffuseColor
ROUTE touchLight6.isSelected15 TO ExteriorNavigationColor.diffuseColor
ROUTE touchLight6.isSelected15 TO Light2Color.diffuseColor
ROUTE touchLight6.isSelected15 TO Light4Color.diffuseColor
ROUTE touchLight6.isSelected15 TO Light5Color.diffuseColor
ROUTE touchLight6.isSelected15 TO Light7Color.diffuseColor
ROUTE touchLight6.isSelected15 TO Light8Color.diffuseColor
ROUTE touchLight6.isSelected15 TO Light9Color.diffuseColor
ROUTE touchLight6.isSelected15 TO Light10Color.diffuseColor
ROUTE touchLight6.isSelected15 TO Light3Color.diffuseColor
ROUTE touchLight7.isSelected14 TO Light7Color.diffuseColor
ROUTE touchLight7.isSelected15 TO Light1Color.diffuseColor
ROUTE touchLight7.isSelected15 TO ExteriorNavigationColor.diffuseColor
ROUTE touchLight7.isSelected15 TO Light2Color.diffuseColor
ROUTE touchLight7.isSelected15 TO Light4Color.diffuseColor
ROUTE touchLight7.isSelected15 TO Light5Color.diffuseColor
ROUTE touchLight7.isSelected15 TO Light6Color.diffuseColor
ROUTE touchLight7.isSelected15 TO Light8Color.diffuseColor
ROUTE touchLight7.isSelected15 TO Light9Color.diffuseColor
ROUTE touchLight7.isSelected15 TO Light10Color.diffuseColor
ROUTE touchLight7.isSelected15 TO Light3Color.diffuseColor
ROUTE touchLight8.isSelected14 TO Light8Color.diffuseColor
ROUTE touchLight8.isSelected15 TO Light1Color.diffuseColor
ROUTE touchLight8.isSelected15 TO ExteriorNavigationColor.diffuseColor
ROUTE touchLight8.isSelected15 TO Light2Color.diffuseColor
ROUTE touchLight8.isSelected15 TO Light4Color.diffuseColor
ROUTE touchLight8.isSelected15 TO Light5Color.diffuseColor
ROUTE touchLight8.isSelected15 TO Light6Color.diffuseColor
ROUTE touchLight8.isSelected15 TO Light7Color.diffuseColor
ROUTE touchLight8.isSelected15 TO Light9Color.diffuseColor
ROUTE touchLight8.isSelected15 TO Light10Color.diffuseColor
ROUTE touchLight8.isSelected15 TO Light3Color.diffuseColor
ROUTE touchLight9.isSelected14 TO Light9Color.diffuseColor
ROUTE touchLight9.isSelected15 TO Light1Color.diffuseColor
ROUTE touchLight9.isSelected15 TO ExteriorNavigationColor.diffuseColor
ROUTE touchLight9.isSelected15 TO Light2Color.diffuseColor
ROUTE touchLight9.isSelected15 TO Light4Color.diffuseColor
ROUTE touchLight9.isSelected15 TO Light5Color.diffuseColor
ROUTE touchLight9.isSelected15 TO Light6Color.diffuseColor
ROUTE touchLight9.isSelected15 TO Light7Color.diffuseColor
ROUTE touchLight9.isSelected15 TO Light8Color.diffuseColor
ROUTE touchLight9.isSelected15 TO Light10Color.diffuseColor
ROUTE touchLight9.isSelected15 TO Light3Color.diffuseColor
ROUTE touchLight10.isSelected14 TO Light10Color.diffuseColor
ROUTE touchLight10.isSelected15 TO Light1Color.diffuseColor
ROUTE touchLight10.isSelected15 TO ExteriorNavigationColor.diffuseColor
ROUTE touchLight10.isSelected15 TO Light2Color.diffuseColor
ROUTE touchLight10.isSelected15 TO Light4Color.diffuseColor
ROUTE touchLight10.isSelected15 TO Light5Color.diffuseColor
ROUTE touchLight10.isSelected15 TO Light6Color.diffuseColor
ROUTE touchLight10.isSelected15 TO Light7Color.diffuseColor
ROUTE touchLight10.isSelected15 TO Light8Color.diffuseColor
ROUTE touchLight10.isSelected15 TO Light9Color.diffuseColor
ROUTE touchLight10.isSelected15 TO Light3Color.diffuseColor
ROUTE touchExteriorNavigation.isSelected8 TO SourcesOfLightFirstCombination.translation
ROUTE touchExteriorNavigation.isSelected8 TO SourcesOfLightFifthCombination.translation
ROUTE touchExteriorNavigation.isSelected8 TO SourcesOfLightThirdCombination.translation
ROUTE touchExteriorNavigation.isSelected10 TO SourcesOfLightSecondCombination.translation
ROUTE touchLight1.isSelected8 TO SourcesOfLightFirstCombination.translation
ROUTE touchLight1.isSelected8 TO SourcesOfLightFifthCombination.translation
ROUTE touchLight1.isSelected8 TO SourcesOfLightThirdCombination.translation
ROUTE touchLight1.isSelected16 TO SourcesOfLightSecondCombination.translation
ROUTE touchLight2.isSelected8 TO SourcesOfLightFirstCombination.translation
ROUTE touchLight2.isSelected8 TO SourcesOfLightFifthCombination.translation
ROUTE touchLight2.isSelected8 TO SourcesOfLightThirdCombination.translation
ROUTE touchLight2.isSelected7 TO SourcesOfLightSecondCombination.translation
ROUTE touchLight3.isSelected8 TO SourcesOfLightFirstCombination.translation
ROUTE touchLight3.isSelected8 TO SourcesOfLightFifthCombination.translation
ROUTE touchLight3.isSelected8 TO SourcesOfLightThirdCombination.translation
ROUTE touchLight3.isSelected7 TO SourcesOfLightSecondCombination.translation
ROUTE touchLight4.isSelected8 TO SourcesOfLightFirstCombination.translation
ROUTE touchLight4.isSelected16 TO SourcesOfLightFifthCombination.translation
ROUTE touchLight4.isSelected8 TO SourcesOfLightThirdCombination.translation
ROUTE touchLight4.isSelected17 TO SourcesOfLightSecondCombination.translation
ROUTE touchLight5.isSelected8 TO SourcesOfLightFirstCombination.translation
ROUTE touchLight5.isSelected16 TO SourcesOfLightFifthCombination.translation
ROUTE touchLight5.isSelected8 TO SourcesOfLightThirdCombination.translation
ROUTE touchLight5.isSelected17 TO SourcesOfLightSecondCombination.translation
ROUTE touchLight6.isSelected8 TO SourcesOfLightFirstCombination.translation
ROUTE touchLight6.isSelected8 TO SourcesOfLightFifthCombination.translation
ROUTE touchLight6.isSelected16 TO SourcesOfLightThirdCombination.translation
ROUTE touchLight6.isSelected17 TO SourcesOfLightSecondCombination.translation
ROUTE touchLight7.isSelected8 TO SourcesOfLightFirstCombination.translation
ROUTE touchLight7.isSelected8 TO SourcesOfLightFifthCombination.translation
ROUTE touchLight7.isSelected16 TO SourcesOfLightThirdCombination.translation
ROUTE touchLight7.isSelected17 TO SourcesOfLightSecondCombination.translation
ROUTE touchLight8.isSelected16 TO SourcesOfLightFirstCombination.translation
ROUTE touchLight8.isSelected8 TO SourcesOfLightFifthCombination.translation
ROUTE touchLight8.isSelected8 TO SourcesOfLightThirdCombination.translation
ROUTE touchLight8.isSelected17 TO SourcesOfLightSecondCombination.translation
ROUTE touchLight9.isSelected8 TO SourcesOfLightFirstCombination.translation
ROUTE touchLight9.isSelected8 TO SourcesOfLightFifthCombination.translation
ROUTE touchLight9.isSelected16 TO SourcesOfLightThirdCombination.translation
ROUTE touchLight9.isSelected17 TO SourcesOfLightSecondCombination.translation
ROUTE touchLight10.isSelected16 TO SourcesOfLightFirstCombination.translation
ROUTE touchLight10.isSelected8 TO SourcesOfLightFifthCombination.translation
ROUTE touchLight10.isSelected8 TO SourcesOfLightThirdCombination.translation
ROUTE touchLight10.isSelected17 TO SourcesOfLightSecondCombination.translation
ROUTE touchExteriorNavigation.isSelected7 TO ExteriorNavigationDescription.translation
ROUTE touchExteriorNavigation.isSelected8 TO Light1Description.translation
ROUTE touchExteriorNavigation.isSelected8 TO Light2Description.translation
ROUTE touchExteriorNavigation.isSelected8 TO Light4Description.translation
ROUTE touchExteriorNavigation.isSelected8 TO Light5Description.translation
ROUTE touchExteriorNavigation.isSelected8 TO Light6Description.translation
ROUTE touchExteriorNavigation.isSelected8 TO Light3Description.translation
ROUTE touchExteriorNavigation.isSelected8 TO Light78910Description.translation
ROUTE touchExteriorNavigation.isSelected9 TO LightDescriptions.translation
ROUTE touchLight1.isSelected7 TO Light1Description.translation
ROUTE touchLight1.isSelected8 TO ExteriorNavigationDescription.translation
ROUTE touchLight1.isSelected8 TO Light2Description.translation
ROUTE touchLight1.isSelected8 TO Light4Description.translation
ROUTE touchLight1.isSelected8 TO Light5Description.translation
ROUTE touchLight1.isSelected8 TO Light6Description.translation
ROUTE touchLight1.isSelected8 TO Light3Description.translation
ROUTE touchLight1.isSelected8 TO Light78910Description.translation
ROUTE touchLight1.isSelected9 TO LightDescriptions.translation
ROUTE touchLight2.isSelected7 TO Light2Description.translation
ROUTE touchLight2.isSelected8 TO ExteriorNavigationDescription.translation
ROUTE touchLight2.isSelected8 TO Light1Description.translation
ROUTE touchLight2.isSelected8 TO Light4Description.translation
ROUTE touchLight2.isSelected8 TO Light5Description.translation
ROUTE touchLight2.isSelected8 TO Light6Description.translation
ROUTE touchLight2.isSelected8 TO Light3Description.translation
ROUTE touchLight2.isSelected8 TO Light78910Description.translation
ROUTE touchLight2.isSelected9 TO LightDescriptions.translation
ROUTE touchLight3.isSelected7 TO Light3Description.translation
ROUTE touchLight3.isSelected8 TO ExteriorNavigationDescription.translation
ROUTE touchLight3.isSelected8 TO Light1Description.translation
ROUTE touchLight3.isSelected8 TO Light4Description.translation
ROUTE touchLight3.isSelected8 TO Light5Description.translation
ROUTE touchLight3.isSelected8 TO Light6Description.translation
ROUTE touchLight3.isSelected8 TO Light2Description.translation
ROUTE touchLight3.isSelected8 TO Light78910Description.translation
ROUTE touchLight3.isSelected9 TO LightDescriptions.translation
ROUTE touchLight4.isSelected7 TO Light4Description.translation
ROUTE touchLight4.isSelected8 TO ExteriorNavigationDescription.translation
ROUTE touchLight4.isSelected8 TO Light1Description.translation
ROUTE touchLight4.isSelected8 TO Light3Description.translation
ROUTE touchLight4.isSelected8 TO Light5Description.translation
ROUTE touchLight4.isSelected8 TO Light6Description.translation
ROUTE touchLight4.isSelected8 TO Light2Description.translation
ROUTE touchLight4.isSelected8 TO Light78910Description.translation
ROUTE touchLight4.isSelected9 TO LightDescriptions.translation
ROUTE touchLight5.isSelected7 TO Light5Description.translation
ROUTE touchLight5.isSelected8 TO ExteriorNavigationDescription.translation
ROUTE touchLight5.isSelected8 TO Light1Description.translation
ROUTE touchLight5.isSelected8 TO Light3Description.translation
ROUTE touchLight5.isSelected8 TO Light4Description.translation
ROUTE touchLight5.isSelected8 TO Light6Description.translation
ROUTE touchLight5.isSelected8 TO Light2Description.translation
ROUTE touchLight5.isSelected8 TO Light78910Description.translation
ROUTE touchLight5.isSelected9 TO LightDescriptions.translation
ROUTE touchLight6.isSelected7 TO Light6Description.translation
ROUTE touchLight6.isSelected8 TO ExteriorNavigationDescription.translation
ROUTE touchLight6.isSelected8 TO Light1Description.translation
ROUTE touchLight6.isSelected8 TO Light3Description.translation
ROUTE touchLight6.isSelected8 TO Light4Description.translation
ROUTE touchLight6.isSelected8 TO Light5Description.translation
ROUTE touchLight6.isSelected8 TO Light2Description.translation
ROUTE touchLight6.isSelected8 TO Light78910Description.translation
ROUTE touchLight6.isSelected9 TO LightDescriptions.translation
ROUTE touchLight7.isSelected7 TO Light78910Description.translation
ROUTE touchLight7.isSelected8 TO ExteriorNavigationDescription.translation
ROUTE touchLight7.isSelected8 TO Light1Description.translation
ROUTE touchLight7.isSelected8 TO Light3Description.translation
ROUTE touchLight7.isSelected8 TO Light4Description.translation
ROUTE touchLight7.isSelected8 TO Light5Description.translation
ROUTE touchLight7.isSelected8 TO Light2Description.translation
ROUTE touchLight7.isSelected8 TO Light6Description.translation
ROUTE touchLight7.isSelected9 TO LightDescriptions.translation
ROUTE touchLight8.isSelected7 TO Light78910Description.translation
ROUTE touchLight8.isSelected8 TO ExteriorNavigationDescription.translation
ROUTE touchLight8.isSelected8 TO Light1Description.translation
ROUTE touchLight8.isSelected8 TO Light3Description.translation
ROUTE touchLight8.isSelected8 TO Light4Description.translation
ROUTE touchLight8.isSelected8 TO Light5Description.translation
ROUTE touchLight8.isSelected8 TO Light2Description.translation
ROUTE touchLight8.isSelected8 TO Light6Description.translation
ROUTE touchLight8.isSelected9 TO LightDescriptions.translation
ROUTE touchLight9.isSelected7 TO Light78910Description.translation
ROUTE touchLight9.isSelected8 TO ExteriorNavigationDescription.translation
ROUTE touchLight9.isSelected8 TO Light1Description.translation
ROUTE touchLight9.isSelected8 TO Light3Description.translation
ROUTE touchLight9.isSelected8 TO Light4Description.translation
ROUTE touchLight9.isSelected8 TO Light5Description.translation
ROUTE touchLight9.isSelected8 TO Light2Description.translation
ROUTE touchLight9.isSelected8 TO Light6Description.translation
ROUTE touchLight9.isSelected9 TO LightDescriptions.translation
ROUTE touchLight10.isSelected7 TO Light78910Description.translation
ROUTE touchLight10.isSelected8 TO ExteriorNavigationDescription.translation
ROUTE touchLight10.isSelected8 TO Light1Description.translation
ROUTE touchLight10.isSelected8 TO Light3Description.translation
ROUTE touchLight10.isSelected8 TO Light4Description.translation
ROUTE touchLight10.isSelected8 TO Light5Description.translation
ROUTE touchLight10.isSelected8 TO Light2Description.translation
ROUTE touchLight10.isSelected8 TO Light6Description.translation
ROUTE touchLight10.isSelected9 TO LightDescriptions.translation
}
]
}
]
}
]
}
DEF HereIAm2 ProximitySensor {
size 10000000 10000000 10000000
}
]
ROUTE HereIAm2.orientation_changed TO HudContainer2.rotation
ROUTE HereIAm2.position_changed TO HudContainer2.translation
}
Group {
children [
DEF HudContainer3 Transform {
children [
Transform {
translation 3 1.7 -5
children [
Group {
children [
DEF touchStopTour TouchSensor {
# description "Pause Tour"
}
Shape {
geometry Text {
string [ "Pause Tour" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
emissiveColor 1 1 1
}
}
}
DEF StopTourSphereLeft Transform {
scale 1.05 1 2.3
translation -0.708 0.048 0.1
children [
Shape {
geometry Sphere {
radius 0.04
}
appearance Appearance {
material Material {
emissiveColor 1 1 1
}
}
}
]
}
DEF StopTourSphereRight Transform {
rotation 1 0 0 -0.23
scale 0.88 1 1.5
translation 0.589 0.039 0.1
children [
Shape {
geometry Sphere {
radius 0.04
}
appearance Appearance {
material Material {
emissiveColor 1 1 1
}
}
}
]
}
]
}
]
}
]
}
DEF HereIAm3 ProximitySensor {
size 10000000 10000000 10000000
}
]
ROUTE HereIAm3.orientation_changed TO HudContainer3.rotation
ROUTE HereIAm3.position_changed TO HudContainer3.translation
}
]
}
DEF timeUP TimeSensor {
}
DEF SequencUP IntegerSequencer {
key [ 0 1 ]
keyValue [ 0 1 ]
}
# Model of the present church
DEF Church Inline {
url [ "Church.x3d" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/Church.x3d" "Church.wrl" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/Church.wrl" ]
}
]
ROUTE touchUP.touchTime TO timeUP.startTime
ROUTE timeUP.fraction_changed TO SequencUP.set_fraction
ROUTE SequencUP.value_changed TO MainmenuToMainpanel.whichChoice
}
# HISTORIC CHURCH
# Yellow Panel of the historic church
Group {
children [
# Blue small pyramids are links to the past documentation. They are positioned in the small model of the church, on the yellow panel, if requested
DEF BlueSmallPyramidTransform Transform {
translation 0 -3 0
children [
Transform {
translation 4 0 -0.6
children [
Anchor {
description "Exterior"
parameter [ "target=blank" ]
url [ "documentation/pastDocumentation/Exterior.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pastDocumentation/Exterior.html" ]
children [
Transform {
scale 0.4 0.4 0.4
translation 0 -0.5 6
children [
DEF BlueSmallPyramidButton Shape {
geometry IndexedFaceSet {
convex FALSE
coordIndex [ 0 1 4 -1 3 4 0 -1 3 4 2 -1 2 4 1 -1 0 1 2 3 -1 ]
solid FALSE
coord Coordinate {
point [ 0 0 0 0 0 0.25 0.25 0 0.25 0.25 0 0 0.125 0.42 0.125 ]
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 1
}
}
}
]
}
]
}
Anchor {
description "Exterior"
parameter [ "target=blank" ]
url [ "documentation/pastDocumentation/Exterior.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pastDocumentation/Exterior.html" ]
children [
Transform {
scale 0.4 0.4 0.4
translation -9 0.5 -8
children [
USE BlueSmallPyramidButton
]
}
]
}
Anchor {
description "Interior"
parameter [ "target=blank" ]
url [ "documentation/pastDocumentation/Interior.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pastDocumentation/Interior.html" ]
children [
Transform {
scale 0.4 0.4 0.4
translation 2 -0.4 -11
children [
USE BlueSmallPyramidButton
]
}
]
}
Anchor {
description "Furnishing"
parameter [ "target=blank" ]
url [ "documentation/pastDocumentation/Furnishing.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pastDocumentation/Furnishing.html" ]
children [
Transform {
scale 0.4 0.4 0.4
translation 2 -0.4 -26
children [
USE BlueSmallPyramidButton
]
}
]
}
Anchor {
description "Baptistery"
parameter [ "target=blank" ]
url [ "documentation/pastDocumentation/Baptistery.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pastDocumentation/Baptistery.html" ]
children [
Transform {
scale 0.4 0.4 0.4
translation -8 -0.4 -26
children [
USE BlueSmallPyramidButton
]
}
]
}
Anchor {
description "Sacristy"
parameter [ "target=blank" ]
url [ "documentation/pastDocumentation/Sacristy.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pastDocumentation/Sacristy.html" ]
children [
Transform {
scale 0.4 0.4 0.4
translation 11 -0.4 -26
children [
USE BlueSmallPyramidButton
]
}
]
}
Anchor {
description "Floor Plan"
parameter [ "target=blank" ]
url [ "documentation/pastDocumentation/FloorPlan.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pastDocumentation/FloorPlan.html" ]
children [
Transform {
scale 0.4 0.4 0.4
translation 8 -0.5 6
children [
USE BlueSmallPyramidButton
]
}
]
}
Anchor {
description "Wall Decoration"
parameter [ "target=blank" ]
url [ "documentation/pastDocumentation/WallDecoration.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pastDocumentation/WallDecoration.html" ]
children [
Transform {
scale 0.4 0.4 0.4
translation -1.4 -0.4 -18
children [
USE BlueSmallPyramidButton
]
}
]
}
Anchor {
description "Balcony"
parameter [ "target=blank" ]
url [ "documentation/pastDocumentation/Balcony.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pastDocumentation/Balcony.html" ]
children [
Transform {
scale 0.4 0.4 0.4
translation 3.5 3 -2
children [
USE BlueSmallPyramidButton
]
}
]
}
Anchor {
description "Tower Plan"
parameter [ "target=blank" ]
url [ "documentation/pastDocumentation/Tower.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pastDocumentation/Tower.html" ]
children [
Transform {
scale 0.4 0.4 0.4
translation -6.2 6 -1
children [
USE BlueSmallPyramidButton
]
}
]
}
]
}
]
}
# Here strts a big switch. (it finishes at line -, useful to hide or show the yellow panel. It is made up of two HUDs: The first one () is the yellow panel and everything on it , the second is the writing 'Main menu' in the top right of the screen (when the panel is hidden).
DEF MainmenuToMainPanelPast Switch {
whichChoice 0
choice [
Group {
children [
DEF HudContainer5 Transform {
children [
Transform {
translation 0 0.2 -5.5
children [
Group {
children [
# Red pyramids are links to differents viewpoints. They are positioned in the small model of the church, on the yellow panel
Transform {
scale 0.25 0.25 0.25
translation 0 0 3
children [
# Red pyramids are links to differents viewpoints. They are positioned in the small model of the church, on the yellow panel
DEF RedPyramidTransformPast Transform {
children [
Transform {
scale 0.3 0.3 0.3
translation 1.6 0.1 0.5
children [
# Replacement
DEF SelectNavePast TouchSensorSelected {
description "Nave"
}
# Prior block start... ...prior block finish
USE RedPyramidButton
]
ROUTE SelectNavePast.isSelected TO ViewpointFrontView.set_bind
}
Transform {
scale 0.3 0.3 0.3
translation 2.5 0.1 0.5
children [
DEF SelectTranseptAxesPast TouchSensorSelected {
description "Transept/Axes"
}
USE RedPyramidButton
]
ROUTE SelectTranseptAxesPast.isSelected TO ViewpointNaveView.set_bind
}
Transform {
scale 0.3 0.3 0.3
translation 2.9 -0.5 0.5
children [
DEF SelectSacristyPast TouchSensorSelected {
description "Sacristy"
}
USE RedPyramidButton
]
ROUTE SelectSacristyPast.isSelected TO ViewpointSacristyAndBackRoom.set_bind
}
Transform {
scale 0.3 0.3 0.3
translation 3.3 0.7 0.5
children [
DEF SelectOutsideSouthPast TouchSensorSelected {
description "Outside South"
}
USE RedPyramidButton
]
ROUTE SelectOutsideSouthPast.isSelected TO ViewpointBackOutside.set_bind
}
Transform {
scale 0.3 0.3 0.3
translation 1.4 0.6 0.5
children [
DEF SelectOutsideEastPast TouchSensorSelected {
description "Outside East"
}
USE RedPyramidButton
]
ROUTE SelectOutsideEastPast.isSelected TO ViewpointTowerBack.set_bind
}
Transform {
scale 0.3 0.3 0.3
translation 1.4 -1 0.5
children [
DEF SelectOutsideWestPast TouchSensorSelected {
description "Outside West"
}
USE RedPyramidButton
]
ROUTE SelectOutsideWestPast.isSelected TO ViewpointRightOutside.set_bind
}
Transform {
scale 0.3 0.3 0.3
translation -0.22 0 0.5
children [
DEF SelectOutsideNorthPast TouchSensorSelected {
description "Outside North"
}
USE RedPyramidButton
]
ROUTE SelectOutsideNorthPast.isSelected TO ViewpointFront.set_bind
}
Transform {
scale 0.3 0.3 0.3
translation 0.1 0 0.5
children [
DEF SelectEntrancePast TouchSensorSelected {
description "Entrance"
}
USE RedPyramidButton
]
ROUTE SelectEntrancePast.isSelected TO ViewpointFrontDoors.set_bind
}
Transform {
scale 0.3 0.3 0.3
translation 0.5 0.26 0.6
children [
DEF SelectBalconyPast TouchSensorSelected {
description "Balcony"
}
USE RedPyramidButton
]
ROUTE SelectBalconyPast.isSelected TO ViewpointLeftRearBalcony.set_bind
}
Transform {
scale 0.3 0.3 0.3
translation 0.26 0.6 0.7
children [
DEF SelectTowerPast TouchSensorSelected {
description "Tower"
}
USE RedPyramidButton
]
ROUTE SelectTowerPast.isSelected TO ViewpointTowerBells.set_bind
}
]
}
# Blue big pyramids are links to the past documentation. They are positioned in the main model of the church, if requested.
DEF BlueBigPyramidTransform Transform {
translation 0 0 -0.6
children [
Anchor {
description "Exterior front"
parameter [ "target=blank" ]
url [ "documentation/pastDocumentation/ExteriorFront.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pastDocumentation/ExteriorFront.html" ]
children [
Transform {
scale 0.3 0.3 0.3
translation 1.6 0.1 0.5
children [
DEF BlueBigPyramidButton Shape {
geometry IndexedFaceSet {
convex FALSE
coordIndex [ 0 1 4 -1 3 4 0 -1 3 4 2 -1 2 4 1 -1 0 1 2 3 -1 ]
solid FALSE
coord Coordinate {
point [ 0 0 0 0 0 0.25 0.25 0 0.25 0.25 0 0 0.125 0.42 0.125 ]
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 1
}
}
}
]
}
]
}
Anchor {
description "Interior"
parameter [ "target=blank" ]
url [ "documentation/pastDocumentation/Interior.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pastDocumentation/Interior.html" ]
children [
Transform {
scale 0.3 0.3 0.3
translation 1 0.1 0.5
children [
USE BlueBigPyramidButton
]
}
]
}
Anchor {
description "Sacristy"
parameter [ "target=blank" ]
url [ "documentation/pastDocumentation/Sacristy.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pastDocumentation/Sacristy.html" ]
children [
Transform {
scale 0.3 0.3 0.3
translation 1.8 -0.4 0.5
children [
USE BlueBigPyramidButton
]
}
]
}
Anchor {
description "Baptistery"
parameter [ "target=blank" ]
url [ "documentation/pastDocumentation/Baptistery.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pastDocumentation/Baptistery.html" ]
children [
Transform {
scale 0.3 0.3 0.3
translation 1.7 0.5 0.5
children [
USE BlueBigPyramidButton
]
}
]
}
Anchor {
description "Wall decorations"
parameter [ "target=blank" ]
url [ "documentation/pastDocumentation/WallDecorations.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pastDocumentation/WallDecorations.html" ]
children [
Transform {
scale 0.3 0.3 0.3
translation 1.2 0.3 0.55
children [
USE BlueBigPyramidButton
]
}
]
}
Anchor {
description "Exterior"
parameter [ "target=blank" ]
url [ "documentation/pastDocumentation/ExteriorFront.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pastDocumentation/Exterior.html" ]
children [
Transform {
scale 0.3 0.3 0.3
translation 1.1 0.6 0.5
children [
USE BlueBigPyramidButton
]
}
]
}
Anchor {
description "Exterior"
parameter [ "target=blank" ]
url [ "documentation/pastDocumentation/Exterior.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pastDocumentation/Exterior.html" ]
children [
Transform {
scale 0.3 0.3 0.3
translation -0.07 0.3 0.5
children [
USE BlueBigPyramidButton
]
}
]
}
Anchor {
description "Furnishing"
parameter [ "target=blank" ]
url [ "documentation/pastDocumentation/Furnishing.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pastDocumentation/Furnishing.html" ]
children [
Transform {
scale 0.3 0.3 0.3
translation 1.75 0.1 0.5
children [
USE BlueBigPyramidButton
]
}
]
}
Anchor {
description "Floor Plan"
parameter [ "target=blank" ]
url [ "documentation/pastDocumentation/FloorPlan.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pastDocumentation/FloorPlan.html" ]
children [
Transform {
scale 0.3 0.3 0.3
translation 0.5 -0.5 0.5
children [
USE BlueBigPyramidButton
]
}
]
}
Anchor {
description "Balcony"
parameter [ "target=blank" ]
url [ "documentation//pastDocumentation/Balcony.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation//pastDocumentation/Balcony.html" ]
children [
Transform {
scale 0.3 0.3 0.3
translation 0.32 0.05 0.6
children [
USE BlueBigPyramidButton
]
}
]
}
Anchor {
description "Tower"
parameter [ "target=blank" ]
url [ "documentation//pastDocumentation/Tower.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation//pastDocumentation/Tower.html" ]
children [
Transform {
scale 0.3 0.3 0.3
translation 0.32 0.5 0.7
children [
USE BlueBigPyramidButton
]
}
]
}
DEF Note14 Transform {
translation 1.6 -1.3 0.2
children [
Shape {
geometry Text {
string [ "Blue references open a link to the sources of the reconstruction" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.2
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF HidePanelLinksText Transform {
translation 0.28 -1.05 0.2
children [
Shape {
geometry Text {
string [ "Hide Panel links" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.27
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF HidePanelLinksButton Transform {
translation -0.5 -1 0.1
children [
DEF touchHidePanelLinks TouchSensorSelected {
description "Hide Panel links"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchHidePanelLinks.isSelected12 TO BlueBigPyramidTransform.translation
ROUTE touchHidePanelLinks.isSelected19 TO BlueSmallPyramidTransform.translation
}
]
}
DEF ChurchModelTransformPast Transform {
rotation 0 1 0 -1.57
scale 0.6 0.6 0.6
translation 0.2 0.4 0.3
children [
Transform {
rotation 0 0 1 -1.2
children [
Transform {
rotation 1 0 0 0
children [
DEF Century19thModelToCentury19thModel2 Switch {
whichChoice 0
choice [
DEF Century19thModel Inline {
url [ "Century19thModel.x3d" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/Century19thModel.x3d" "Century19thModel.wrl" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/Altar.wrl" ]
}
DEF Century19thModel2 Inline {
url [ "Century19thModel2.x3d" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/Century19thModel2.x3d" "Century19thModel.wrl" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/Century19thModel.wrl" ]
}
]
}
]
}
]
}
]
}
DEF MainPanelPast Transform {
translation 0.75 0 0
children [
Shape {
geometry Box {
size 6.5 3 0.2
}
appearance Appearance {
material Material {
diffuseColor 1 0.75 0.25
}
}
}
]
}
DEF FirstPanelPast Transform {
children [
Transform {
translation -1.2 0 0
children [
DEF HidePanelText14 Transform {
translation 2 1.2 0
children [
Shape {
geometry Text {
string [ "Hide Panel" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF HidePanelButton14 Transform {
translation 1.5 1.28 0
children [
DEF touchHidePanel14 TouchSensorSelected {
description "Hide panel"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchHidePanel14.isSelected4 TO MainmenuToMainPanelPast.whichChoice
}
DEF NavigatingTextPast Transform {
translation 0 1 0
children [
Shape {
geometry Text {
string [ "Navigating" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF NavigatingButtonPast Transform {
translation -0.8 1.08 0
children [
DEF touchNavigatingPast TouchSensorSelected {
description "Navigating"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchNavigatingPast.isSelected16 TO RedPyramidTransform.translation
ROUTE touchNavigatingPast.isSelected2 TO FirstPanelPast.translation
ROUTE touchNavigatingPast.isSelected16 TO RedPyramidTransformPast.translation
ROUTE touchNavigatingPast.isSelected5 TO Century19thModelToCentury19thModel2.whichChoice
}
DEF PresentAndHistoricChurchText Transform {
translation -0.56 0.3 0
children [
Shape {
geometry Text {
string [ "Present and historic church" ]
fontStyle FontStyle {
justify [ "BEGIN" "BEGIN" ]
size 0.25
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF PresentAndHistoricChurchButton Transform {
translation -0.8 0.28 0
children [
DEF touchPresentAndHistoricChurch TouchSensorSelected {
description "Present and historic church"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchPresentAndHistoricChurch.isSelected2 TO FirstPanelPast.translation
ROUTE touchPresentAndHistoricChurch.isSelected5 TO Century19thModelToCentury19thModel2.whichChoice
ROUTE touchPresentAndHistoricChurch.isSelected11 TO RedPyramidTransformPast.translation
}
DEF PastdocumentationText Transform {
translation -0.151 0.6 0
children [
Shape {
geometry Text {
string [ "Past documentation" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF PastDocumentationButton Transform {
translation -0.8 0.68 0
children [
DEF touchPastDocumentation TouchSensorSelected {
description "Past documentation"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchPastDocumentation.isSelected2 TO FirstPanelPast.translation
ROUTE touchPastDocumentation.isSelected5 TO Century19thModelToCentury19thModel2.whichChoice
ROUTE touchPastDocumentation.isSelected16 TO RedPyramidTransformPast.translation
}
DEF EmptyText14 Transform {
translation 0 -0.2 0
children [
Shape {
geometry Text {
string [ "x" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyButton14 Transform {
translation -0.8 -0.12 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyText15 Transform {
translation 0 -0.6 0
children [
Shape {
geometry Text {
string [ "x" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyButton15 Transform {
translation -0.8 -0.52 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyText16 Transform {
translation 0 -1 0
children [
Shape {
geometry Text {
string [ "x" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyButton16 Transform {
translation -0.8 -0.92 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
]
}
# Present and historic church panel, it appears when the historic church is shown for the first time and clicking on the Present and historic church button (in the FirstPanelPast)
DEF PresentAndHistoricChurchPanel Transform {
translation 0 0 0.2
children [
Transform {
translation -1.2 0 0
children [
DEF NavigationAndSourcesText Transform {
translation 2.1 1.28 0
children [
Shape {
geometry Text {
string [ "Navigation" "and sources" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.22
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF NavigationAndSourcesButton Transform {
translation 1.5 1.28 0
children [
DEF touchNavigationAndSources TouchSensorSelected {
description "Navigation and sources"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchNavigationAndSources.isSelected3 TO FirstPanelPast.translation
ROUTE touchNavigationAndSources.isSelected2 TO PresentAndHistoricChurchPanel.translation
ROUTE touchNavigationAndSources.isSelected4 TO Century19thModelToCentury19thModel2.whichChoice
ROUTE touchNavigationAndSources.isSelected12 TO RedPyramidTransformPast.translation
}
DEF HidePanelText15 Transform {
translation 3.2 1.2 0
children [
Shape {
geometry Text {
string [ "Hide Panel" ]
fontStyle FontStyle {
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF HidePanelButton15 Transform {
translation 3.05 1.28 0
children [
DEF touchHidePanel15 TouchSensorSelected {
description "Hide panel"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchHidePanel15.isSelected4 TO MainmenuToMainPanelPast.whichChoice
}
DEF Note15 Transform {
translation 3 -1.2 0
children [
Shape {
geometry Text {
string [ "Red links go to corresponding viewpoints" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.2
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF TodayTextPast Transform {
translation 0 1 0
children [
Shape {
geometry Text {
string [ "Today" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF TodayButtonPast Transform {
translation -0.8 1.08 0
children [
DEF touchToday TouchSensorSelected {
description "Today"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchToday.isSelected5 TO PresentToHistorichChurch.whichChoice
}
DEF Mid19thCenturyTextPast Transform {
translation 0.3 0.6 0
children [
Shape {
geometry Text {
string [ "Mid 19th Century" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF Mid19thCenturyButtonPast Transform {
translation -0.8 0.68 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 1 1 1
}
}
}
]
}
DEF EmptyText17 Transform {
translation 0 0.2 0
children [
Shape {
geometry Text {
string [ "x" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyButton17 Transform {
translation -0.8 0.28 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyText18 Transform {
translation 0 -0.2 0
children [
Shape {
geometry Text {
string [ "x" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyButton18 Transform {
translation -0.8 -0.12 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyText19 Transform {
translation 0 -0.6 0
children [
Shape {
geometry Text {
string [ "x" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyButton19 Transform {
translation -0.8 -0.52 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyText20 Transform {
translation 0 -1 0
children [
Shape {
geometry Text {
string [ "x" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyButton20 Transform {
translation -0.8 -0.92 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
]
ROUTE touchPresentAndHistoricChurch.isSelected3 TO PresentAndHistoricChurchPanel.translation
}
# Navigating Panel Past, it appears clicking on the Navigating button on the First Panel Past ()
DEF NavigatingPanelPast Transform {
children [
Transform {
translation -1.2 0 0
children [
DEF BackButtonText12 Transform {
translation 2 1.2 0
children [
Shape {
geometry Text {
string [ "Back" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF BackButton12 Transform {
translation 1.5 1.28 0
children [
DEF touchBackButton12 TouchSensorSelected {
description "Back"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchBackButton12.isSelected3 TO FirstPanelPast.translation
ROUTE touchBackButton12.isSelected4 TO Century19thModelToCentury19thModel2.whichChoice
ROUTE touchBackButton12.isSelected18 TO RedPyramidTransformPast.translation
ROUTE touchBackButton12.isSelected2 TO NavigatingPanelPast.translation
}
DEF HidePanelText16 Transform {
translation 3.2 1.2 0
children [
Shape {
geometry Text {
string [ "Hide Panel" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF HidePanelButton16 Transform {
translation 2.7 1.28 0
children [
DEF touchHidePanel16 TouchSensorSelected {
description "Hide panel"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchHidePanel16.isSelected4 TO MainmenuToMainPanelPast.whichChoice
}
DEF FlyModeTextPast Transform {
translation 0 1 0
children [
Shape {
geometry Text {
string [ "Fly" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF FlyModeButtonPast Transform {
translation -0.8 1.08 0
children [
DEF touchFlyModePast TouchSensorSelected {
description "Fly"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material DEF FlyModeColorPast Material {
diffuseColor 1 1 1
}
}
}
]
ROUTE touchFlyModePast.isSelected TO NavigationFly.set_bind
}
DEF WalkModeTextPast Transform {
translation 0 0.6 0
children [
Shape {
geometry Text {
string [ "Walk" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF WalkModeButtonPast Transform {
translation -0.8 0.68 0
children [
DEF touchWalkModePast TouchSensorSelected {
description "Walk"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material DEF WalkModeColorPast Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchWalkModePast.isSelected TO NavigationWalk.set_bind
ROUTE touchWalkModePast.isSelected15 TO FlyModeColorPast.diffuseColor
}
DEF ExamineModeTextPast Transform {
translation 0 0.2 0
children [
Shape {
geometry Text {
string [ "Examine" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF ExamineModeButtonPast Transform {
translation -0.8 0.28 0
children [
DEF touchExamineModePast TouchSensorSelected {
description "Examine"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material DEF ExamineModeColorPast Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchExamineModePast.isSelected15 TO FlyModeColorPast.diffuseColor
ROUTE touchExamineModePast.isSelected15 TO WalkModeColorPast.diffuseColor
ROUTE touchExamineModePast.isSelected TO NavigationExamine.set_bind
}
DEF FullGuidedTourTextPast Transform {
translation 0.2 -0.2 0
children [
Shape {
geometry Text {
string [ "Full Guided Tour" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.26
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF FullGuidedTourButtonPast Transform {
translation -0.8 -0.12 0
children [
DEF touchFullGuidedTourPast TouchSensor {
# description "Full guided tour"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF ShortGuidedTourTextPast Transform {
translation 0.26 -0.6 0
children [
Shape {
geometry Text {
string [ "Short Guided Tour" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.26
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF ShortGuidedTourButtonPast Transform {
translation -0.8 -0.52 0
children [
DEF touchShortGuidedTourPast TouchSensor {
# description "Short Guided Tour"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF SacredFurnishingTourTextPast Transform {
translation 0.55 -1 0
children [
Shape {
geometry Text {
string [ "Sacred Furnishing Tour" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.26
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF SacredFurnishingTourButtonPast Transform {
translation -0.8 -0.92 0
children [
DEF touchSacredFurnishingTourPast TouchSensor {
# description "Sacred Furnishing Tour"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF NextPanelText6 Transform {
translation -0.4 -1.3 0
children [
Shape {
geometry Text {
string [ "Next Panel" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.2
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF NextPanelButton6 Transform {
translation -0.8 -1.25 0
children [
DEF touchNextPanel6 TouchSensorSelected {
description "Next Panel"
}
Shape {
geometry Sphere {
radius 0.05
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchNextPanel6.isSelected2 TO NavigatingPanelPast.translation
}
]
ROUTE touchFlyModePast.isSelected14 TO FlyModeColorPast.diffuseColor
ROUTE touchFlyModePast.isSelected15 TO WalkModeColorPast.diffuseColor
ROUTE touchWalkModePast.isSelected14 TO WalkModeColorPast.diffuseColor
ROUTE touchExamineModePast.isSelected14 TO ExamineModeColorPast.diffuseColor
ROUTE touchWalkModePast.isSelected15 TO ExamineModeColorPast.diffuseColor
ROUTE touchFlyModePast.isSelected15 TO ExamineModeColorPast.diffuseColor
}
]
ROUTE touchNavigatingPast.isSelected3 TO NavigatingPanelPast.translation
}
# Second part of the Navigating Panel Past, it appears clicking on Next Panel at the bottom ()
DEF NavigatingPanelPastBis Transform {
children [
Transform {
translation -1.2 0 0
children [
DEF BackButtonText13 Transform {
translation 2 1.2 0
children [
Shape {
geometry Text {
string [ "Back" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF BackButton13 Transform {
translation 1.5 1.28 0
children [
DEF touchBackButton13 TouchSensorSelected {
description "Back"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchBackButton13.isSelected3 TO FirstPanelPast.translation
ROUTE touchBackButton13.isSelected4 TO Century19thModelToCentury19thModel2.whichChoice
ROUTE touchBackButton13.isSelected18 TO RedPyramidTransformPast.translation
ROUTE touchBackButton13.isSelected2 TO NavigatingPanelPastBis.translation
}
DEF HidePanelText17 Transform {
translation 3.2 1.2 0
children [
Shape {
geometry Text {
string [ "Hide Panel" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF HidePanelButton17 Transform {
translation 2.7 1.28 0
children [
DEF touchHidePanel17 TouchSensorSelected {
description "Hide panel"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchHidePanel17.isSelected4 TO MainmenuToMainPanelPast.whichChoice
}
DEF WeyPointInterpolatorTourTextPast Transform {
translation 0.27 1.1 0
children [
Shape {
geometry Text {
string [ "Wey Point Interpolator" "Tour" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.24
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF WeyPointInterpolatorTourButtonPast Transform {
translation -0.8 1.08 0
children [
DEF touchWeyPointInterpolatorTourPast TouchSensor {
# description "Way Point Interpolator Tour"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyText21 Transform {
translation 0 0.6 0
children [
Shape {
geometry Text {
string [ "x" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyButton21 Transform {
translation -0.8 0.68 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyText22 Transform {
translation 0 0.2 0
children [
Shape {
geometry Text {
string [ "x" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyButton22 Transform {
translation -0.8 0.28 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyText23 Transform {
translation 0 -0.2 0
children [
Shape {
geometry Text {
string [ "x" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyButton23 Transform {
translation -0.8 -0.12 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyText24 Transform {
translation 0 -0.6 0
children [
Shape {
geometry Text {
string [ "x" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyButton24 Transform {
translation -0.8 -0.52 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyText25 Transform {
translation 0 -1 0
children [
Shape {
geometry Text {
string [ "x" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyButton25 Transform {
translation -0.8 -0.92 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF PreviousPanelText6 Transform {
translation -0.2 -1.3 0
children [
Shape {
geometry Text {
string [ "Previous Panel" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.2
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF PreviousPanelButton6 Transform {
translation -0.8 -1.25 0
children [
DEF touchPreviousPanel6 TouchSensorSelected {
description "Previous Panel"
}
Shape {
geometry Sphere {
radius 0.05
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchPreviousPanel6.isSelected3 TO NavigatingPanelPast.translation
ROUTE touchPreviousPanel6.isSelected2 TO NavigatingPanelPastBis.translation
}
]
}
]
ROUTE touchNextPanel6.isSelected3 TO NavigatingPanelPastBis.translation
}
# Past Documentation Panel, it appears clicking on the Past Documentation button on the First Panel Past ()
DEF PastDocumentationPanel Transform {
children [
Transform {
translation -1.2 0 0
children [
DEF BackButtonText14 Transform {
translation 2 1.2 0
children [
Shape {
geometry Text {
string [ "Back" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF BackButton14 Transform {
translation 1.5 1.28 0
children [
DEF touchBackButton14 TouchSensorSelected {
description "Backnn"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchBackButton14.isSelected3 TO FirstPanelPast.translation
ROUTE touchBackButton14.isSelected4 TO Century19thModelToCentury19thModel2.whichChoice
ROUTE touchBackButton14.isSelected18 TO RedPyramidTransformPast.translation
ROUTE touchBackButton14.isSelected2 TO PastDocumentationPanel.translation
}
DEF HidePanelText18 Transform {
translation 3.2 1.2 0
children [
Shape {
geometry Text {
string [ "Hide Panel" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF HidePanelbutton18 Transform {
translation 2.7 1.28 0
children [
DEF touchHidePanel18 TouchSensorSelected {
description "Hide panel"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchHidePanel18.isSelected4 TO MainmenuToMainPanelPast.whichChoice
}
DEF Note16 Transform {
translation 3 0.96 0
children [
Shape {
geometry Text {
string [ "Red links go to corresponding viewpoint" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.2
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF ShowPastDocumentation Transform {
children [
Transform {
translation 3 -1.02 0
children [
Shape {
geometry Text {
string [ "SHOW links to past documentation" "while navigating in the main model" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.27
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF ShowPastDocumentationButton Transform {
translation 0.7 -1 0
children [
DEF touchShowPastDocumentation TouchSensorSelected {
description "SHOW links to past documentation while navigating in the main model"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchShowPastDocumentation.isSelected11 TO BlueBigPyramidTransform.translation
ROUTE touchShowPastDocumentation.isSelected8 TO ShowPastDocumentation.translation
ROUTE touchShowPastDocumentation.isSelected13 TO BlueSmallPyramidTransform.translation
}
]
ROUTE touchHidePanelLinks.isSelected20 TO ShowPastDocumentation.translation
}
DEF ExteriorFrontPastDocumentationText Transform {
translation -0.18 1 0
children [
Shape {
geometry Text {
string [ "Exterior Front" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Exterior front"
parameter [ "target=blank" ]
url [ "documentation/pastDocumentation/ExteriorFront.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pastDocumentation/ExteriorFront.html" ]
children [
DEF ExteriorFrontPastDocumentationButton Transform {
translation -0.8 1.08 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF ExteriorPastDocumentationText Transform {
translation -0.07 0.6 0
children [
Shape {
geometry Text {
string [ "Exterior" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Exterior"
parameter [ "target=blank" ]
url [ "documentation/pastDocumentation/Exterior.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pastDocumentation/Exterior.html" ]
children [
DEF ExteriorPastDocumentationButton Transform {
translation -0.8 0.68 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF FloorPlanPastDocumentationText Transform {
translation -0.2 0.2 0
children [
Shape {
geometry Text {
string [ "Floor plan" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Floor Plan"
parameter [ "target=blank" ]
url [ "documentation/pastDocumentation/FloorPlan.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pastDocumentation/FloorPlan.html" ]
children [
DEF FloorPlanPastDocumentationButton Transform {
translation -0.8 0.28 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF InteriorPastDocumentationText Transform {
translation 0.27 -0.2 0
children [
Shape {
geometry Text {
string [ "Interior" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Interior"
parameter [ "target=blank" ]
url [ "documentation/pastDocumentation/Interior.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pastDocumentation/Interior.html" ]
children [
DEF InteriorPastDocumentationButton Transform {
translation -0.8 -0.12 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF WallDecorationsPastDocumentationText Transform {
translation -0.01 -0.6 0
children [
Shape {
geometry Text {
string [ "Wall decorations" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Wall decorations"
parameter [ "target=blank" ]
url [ "documentation/pastDocumentation/WallDecorations.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pastDocumentation/WallDecorations.html" ]
children [
DEF WallDecorationsPastDocumentationButton Transform {
translation -0.8 -0.52 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF FurnishingPastDocumentationText Transform {
translation -0.25 -1 0
children [
Shape {
geometry Text {
string [ "Furnishing" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Furnishing"
parameter [ "target=blank" ]
url [ "documentation/pastDocumentation/Furnishing.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pastDocumentation/Furnishing.html" ]
children [
DEF FurnishingPastDocumentationButton Transform {
translation -0.8 -0.92 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF NextPanelText7 Transform {
translation -0.4 -1.3 0
children [
Shape {
geometry Text {
string [ "Next Panel" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.2
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF NextPanelButton7 Transform {
translation -0.8 -1.25 0
children [
DEF touchNextPanel7 TouchSensorSelected {
description "Next Panel"
}
Shape {
geometry Sphere {
radius 0.05
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchNextPanel7.isSelected2 TO PastDocumentationPanel.translation
}
]
}
]
ROUTE touchPastDocumentation.isSelected3 TO PastDocumentationPanel.translation
}
# Second part of the Past Documentatation Panel, it appears clicking on Next Panel at the bottom ()
DEF PastDocumentationPanelBis Transform {
children [
Transform {
translation -1.2 0 0
children [
DEF BackButtonText15 Transform {
translation 2 1.2 0
children [
Shape {
geometry Text {
string [ "Back" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF BackButton15 Transform {
translation 1.5 1.28 0
children [
DEF touchBackButton15 TouchSensorSelected {
description "Back"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchBackButton15.isSelected3 TO FirstPanelPast.translation
ROUTE touchBackButton15.isSelected4 TO Century19thModelToCentury19thModel2.whichChoice
ROUTE touchBackButton15.isSelected18 TO RedPyramidTransformPast.translation
ROUTE touchBackButton15.isSelected2 TO PastDocumentationPanelBis.translation
}
DEF HidePanelText19 Transform {
translation 3.2 1.2 0
children [
Shape {
geometry Text {
string [ "Hide Panel" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF Hidepanelbutton19 Transform {
translation 2.7 1.28 0
children [
DEF touchHidePanel19 TouchSensorSelected {
description "Hide panel"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchHidePanel19.isSelected4 TO MainmenuToMainPanelPast.whichChoice
}
DEF Note17 Transform {
translation 3 0.96 0
children [
Shape {
geometry Text {
string [ "Red links go to corresponding viewpoint" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.2
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF ShowPastDocumentationTextBis Transform {
children [
Transform {
translation 3 -1.02 0
children [
Shape {
geometry Text {
string [ "SHOW links to past documentation" "while navigating in the main model" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.27
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF ShowPastDocumentationButtonBis Transform {
translation 0.7 -1 0
children [
DEF touchShowPastDocumentationBis TouchSensorSelected {
description "SHOW links to past documentation while navigating in the main model"
}
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchShowPastDocumentationBis.isSelected11 TO BlueBigPyramidTransform.translation
ROUTE touchShowPastDocumentationBis.isSelected8 TO ShowPastDocumentationTextBis.translation
ROUTE touchShowPastDocumentationBis.isSelected13 TO BlueSmallPyramidTransform.translation
}
]
ROUTE touchHidePanelLinks.isSelected20 TO ShowPastDocumentationTextBis.translation
ROUTE touchShowPastDocumentation.isSelected8 TO ShowPastDocumentationTextBis.translation
}
DEF TowerPastDocumentationText Transform {
translation -0.115 1 0
children [
Shape {
geometry Text {
string [ "Tower" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Tower"
parameter [ "target=blank" ]
url [ "documentation/pastDocumentation/Tower.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pastDocumentation/Tower.html" ]
children [
DEF TowerPastDocumentationButton Transform {
translation -0.8 1.08 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF BalconyPastDocumentationText Transform {
translation 0 0.6 0
children [
Shape {
geometry Text {
string [ "Balcony" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Balcony"
parameter [ "target=blank" ]
url [ "documentation/pastDocumentation/Balcony.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pastDocumentation/Balcony.html" ]
children [
DEF BalconyPastDocumentationButton Transform {
translation -0.8 0.68 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF BaptisteryPastDocumentationText Transform {
translation -0.1 0.2 0
children [
Shape {
geometry Text {
string [ "Baptistery" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Baptistery"
parameter [ "target=blank" ]
url [ "documentation/pastDocumentation/Baptistery.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pastDocumentation/Baptistery.html" ]
children [
DEF BaptisteryPastDocumentationButton Transform {
translation -0.8 0.28 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF SacristyPastDocumentationText Transform {
translation 0 -0.2 0
children [
Shape {
geometry Text {
string [ "Sacristy" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
Anchor {
description "Sacristy"
parameter [ "target=blank" ]
url [ "documentation/pastDocumentation/Sacristy.html" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/documentation/pastDocumentation/Sacristy.html" ]
children [
DEF SacristyPastDocumentationButton Transform {
translation -0.8 -0.12 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
]
}
DEF EmptyText26 Transform {
translation 0 -0.6 0
children [
Shape {
geometry Text {
string [ "x" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyButton26 Transform {
translation -0.8 -0.52 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyText27 Transform {
translation 0 -1 0
children [
Shape {
geometry Text {
string [ "x" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF EmptyButton27 Transform {
translation -0.8 -0.92 0
children [
Shape {
geometry Sphere {
radius 0.1
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF PreviousPanelText7 Transform {
translation -0.2 -1.3 0
children [
Shape {
geometry Text {
string [ "Previous Panel" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.2
}
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
}
DEF PreviousPanelButton7 Transform {
translation -0.8 -1.25 0
children [
DEF touchPreviousPanel7 TouchSensorSelected {
description "Previous Panel"
}
Shape {
geometry Sphere {
radius 0.05
}
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
}
]
ROUTE touchPreviousPanel7.isSelected3 TO PastDocumentationPanel.translation
ROUTE touchPreviousPanel7.isSelected2 TO PastDocumentationPanelBis.translation
}
]
}
]
ROUTE touchNextPanel7.isSelected3 TO PastDocumentationPanelBis.translation
}
]
}
]
}
]
}
]
}
DEF HereIAm5 ProximitySensor {
size 10000000 10000000 10000000
}
]
ROUTE HereIAm5.orientation_changed TO HudContainer5.rotation
ROUTE HereIAm5.position_changed TO HudContainer5.translation
}
Group {
children [
DEF HudContainer4 Transform {
children [
Transform {
translation 3 1.7 -5
children [
Group {
children [
DEF touchUpHistory TouchSensor {
# description "Main MenĂ¹"
}
Shape {
geometry Text {
string [ "Main Menu" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
size 0.3
}
}
appearance Appearance {
material Material {
emissiveColor 1 1 1
}
}
}
DEF MainMenuSphereLeftPast Transform {
scale 1.05 1 2.3
translation -0.708 0.048 0.1
children [
Shape {
geometry Sphere {
radius 0.04
}
appearance Appearance {
material Material {
emissiveColor 1 1 1
}
}
}
]
}
DEF MainMenuSphereRightPast Transform {
rotation 1 0 0 -0.23
scale 0.88 1 1.5
translation 0.589 0.039 0.1
children [
Shape {
geometry Sphere {
radius 0.04
}
appearance Appearance {
material Material {
emissiveColor 1 1 1
}
}
}
]
}
]
}
]
}
]
}
DEF HereIAm4 ProximitySensor {
size 10000000 10000000 10000000
}
]
ROUTE HereIAm4.orientation_changed TO HudContainer4.rotation
ROUTE HereIAm4.position_changed TO HudContainer4.translation
}
]
}
DEF timeUpHistory TimeSensor {
}
DEF SequencUpHistory IntegerSequencer {
key [ 0 1 ]
keyValue [ 1 0 ]
}
# Model of the historic church
DEF history Inline {
url [ "SanCarlosChurchHistory.x3d" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/SanCarlosChurchHistory.x3d" "SanCarlosChurchHistory.wrl" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/SanCarlosChurchHistory.wrl" ]
}
]
ROUTE touchUpHistory.touchTime TO timeUpHistory.startTime
ROUTE timeUpHistory.fraction_changed TO SequencUpHistory.set_fraction
ROUTE SequencUpHistory.value_changed TO MainmenuToMainPanelPast.whichChoice
}
]
}
# ViewPointSequencer
Transform {
scale 0.5 0.5 0.5
translation 100 0 0
children [
DEF ExampleViewpointSequencer ViewpointSequencer {
viewpoints [
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "San Carlos Cathedral, front from ground"
orientation 1 0 0 0.3
position 5.8 -0.5 15
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "San Carlos Cathedral, front"
position 4.3 5 25
}
#
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "San Carlos Cathedral, front above"
orientation 1 0 0 -0.349
position 5.3 16 30
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Oblique outside view"
orientation 1 1 0 -0.5
position -12.8 15 20
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Overhead view"
orientation 1 0 0 -1.57
position 5.8 70 -23
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Oblique outside view"
orientation 0 1 0 0.5
position 20 4 20
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Facade details"
orientation 1 1 0 0.6
position 9.2 4 7
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Right outside"
orientation 0 1 0 1.57
position 50 -2 -26.5
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Sacristy"
orientation 0 1 0 2.37
position 30 0 -55.5
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Back outside"
orientation 0 1 0 3.4
position -8 7 -75
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Back outside"
orientation 0 1 0 -2.5
position -8 5 -25
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Interior Left rear balcony"
orientation 1 1 0 -0.3
position 3 4 -5
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Front doors, looking in"
position 5.8 -0.3 2
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Front doors, looking in"
orientation 0 1 0 -1.3
position 4.3 -0.9 -0.8
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Front doors, looking in"
orientation 0 1 0 -2.4
position 5.1 -0.8 -8.2
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Front doors, looking in"
orientation 0 1 0 -1.87
position 5.1 1.5 -9.5
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Front doors, looking in"
orientation 0 1 0 -1.57
position 7.7 1 -10.5
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Front doors, looking in"
orientation 0 1 0 -0.6
position 5.1 1.5 -10.5
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Interior Front2"
position 5.8 0 -23
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Rear"
orientation 0 1 0 -0.3
position 4.8 0 -33
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Transept"
orientation 0 1 0 -1.3
position 4.8 0 -33
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Transept"
orientation 0 1 0 2.8
position 13.8 -0.5 -36
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Rear"
orientation 0 1 0 1.3
position 9.8 0 -33
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Rear"
orientation 0 1 0 -0.1
position 4.8 0 -33
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Sacristy"
orientation 0 1 0 -0.8
position 9.8 0 -40.5
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Sacristy"
orientation 0 1 0 1.5
position 17.8 0 -45.5
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Nave - View"
orientation 0 1 0 3.14
position 5.8 0 -40.5
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Nave - Balcony"
orientation 0 1 0 3.14
position 5.8 0 -21
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Nave - Balcony"
orientation 0 1 0 1.57
position 3.8 1 -21.4
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Nave - Balcony"
orientation 0 1 0 1.57
position 3.2 0.85 -20.1
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Nave - Balcony"
orientation 0 1 0 2.6
position 5.8 1 -18
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Nave - Balcony"
orientation 0 1 0 1.9
position 6.8 -0.8 -2.5
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Entrance - Stairs to tower"
orientation 0 1 0 1.57
position 6.4 0 -1.5
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Stairs to tower and balcony"
orientation 1 1 0 -1.1
position -3.09 4.2 -0.7
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Stairs to tower and balcony"
orientation 0 1 0 -1.57
position -3.09 3 -1.5
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Left rear balcony1"
orientation 0 1 0 -0.7
position 2.1 4 -2.7
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Left rear balcony1"
orientation 0 1 0 -1.8
position 2.1 4 -2.7
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Left rear balcony1"
orientation 1 1 0 -0.3
position 3 4 -5
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Left rear balcony2 - Organ"
orientation 0 1 0 -2.3
position 2.5 4 -7
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Left rear balcony3"
orientation 0 1 0 2.2
position 5 4 -5
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Top stairs to tower"
orientation 0 1 0 1.57
position 4.3 4 -1.2
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Top stairs to tower"
orientation 0 1 0 1.8
position 2.7 4 -0.9
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Top stairs to tower"
orientation 0 1 0 2.1
position 1.4 4.9 -1
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Top stairs to tower"
orientation 0 1 0 2.9
position -0.2 5 -2
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Tower - Bells"
orientation 0 1 0 3.34
position -1.4 6 -2.2
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Top stairs to tower"
orientation 0 1 0 1.57
position -0.3 6.5 -2
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Top stairs to tower"
orientation 0 1 0 -1.77
position -2.2 5.2 -1.8
}
Viewpoint {
centerOfRotation 5.8 0 -24.4
description "Tower - View"
orientation 0 1 0 0.1
position -2 6 -0.3
}
]
interval 2
enabled FALSE
}
]
}
DEF ToggleSequencer BooleanToggle {
}
ROUTE touchFullGuidedTour.isActive TO ToggleSequencer.set_boolean
ROUTE ToggleSequencer.toggle_changed TO ExampleViewpointSequencer.enabled
DEF IntStop IntegerTrigger {
integerKey 2
}
ROUTE touchFullGuidedTour.isActive TO IntStop.set_boolean
ROUTE IntStop.triggerValue TO MainmenuToMainpanel.whichChoice
DEF IntStop2 IntegerTrigger {
integerKey 1
}
ROUTE touchStopTour.isActive TO IntStop2.set_boolean
ROUTE IntStop2.triggerValue TO MainmenuToMainpanel.whichChoice
ROUTE touchStopTour.isActive TO ToggleSequencer.set_boolean
DEF IntStop3 IntegerTrigger {
integerKey 1
}
ROUTE touchStopTour.isActive TO IntStop3.set_boolean
ROUTE IntStop3.triggerValue TO switchTour.whichChoice
# Example use: https://savage.nps.edu/Savage/Tools/Animation/ViewpointSequencerExample.x3d
# ====================
# Light Switch
DEF LightSwitch Switch {
whichChoice 0
choice [
DEF AlternativeLight1 Group {
children [
# Spotlights from windows (left side)
SpotLight {
ambientIntensity 0.2
color 0.4 0.4 0.4
cutOffAngle 1
direction 20 1 -40
intensity 0.2
location -6 1 -35
}
SpotLight {
ambientIntensity 0.2
color 0.4 0.4 0.4
cutOffAngle 1
direction 20 1 -30
intensity 0.2
location 1.7 1 -25.4
}
SpotLight {
ambientIntensity 0.2
color 0.7 0.7 0.7
cutOffAngle 1
direction 20 1 -20
intensity 0.4
location 1.7 1 -17
}
]
}
DEF AlternativeLight2 Group {
children [
# DirectionalLights. They don't seem to work when child of a group node
DirectionalLight {
color 0.4 0.4 0.4
direction -20 1 0
}
DirectionalLight {
color 0.4 0.4 0.4
direction 20 1 0
}
DirectionalLight {
color 0.4 0.4 0.4
direction 0 1 20
}
DirectionalLight {
color 0.4 0.4 0.4
direction 0 1 -60
}
]
}
DEF AlternativeLight3 Group {
children [
# Spotlights from windows (left side). It simulates a "First morning beam"
DirectionalLight {
color 0.5 0.5 0.5
direction 20 1 30
intensity 0.5
}
DirectionalLight {
color 0.5 0.5 0.5
direction -20 1 30
intensity 0.5
}
SpotLight {
ambientIntensity 0.4
beamWidth 1.5
cutOffAngle 1
direction 20 1 -50
location -6 1 -35
radius 10
}
SpotLight {
ambientIntensity 0.4
beamWidth 1.5
cutOffAngle 1
direction 20 1 -40
location 1.7 1 -25.4
radius 10
}
SpotLight {
ambientIntensity 0.4
beamWidth 1.5
cutOffAngle 1
direction 20 1 -57
location 1.7 1 -17
radius 10
}
]
}
DEF AlternativeLight4 Group {
children [
# Spotlights from windows (left side). It simulates a "Morning Light"
DirectionalLight {
color 0.6 0.6 0.6
direction 20 1 -30
intensity 0.6
}
DirectionalLight {
color 0.6 0.6 0.6
direction -20 1 -30
intensity 0.6
}
SpotLight {
ambientIntensity 0.2
color 0.4 0.4 0.4
cutOffAngle 1
direction 20 1 -40
intensity 0.6
location -6 1 -35
radius 10
}
SpotLight {
ambientIntensity 0.2
color 0.4 0.4 0.4
cutOffAngle 1
direction 20 1 -30
intensity 0.6
location 1.7 1 -25.4
radius 10
}
SpotLight {
ambientIntensity 0.2
beamWidth 1
color 0.6 0.6 0.6
cutOffAngle 1
direction 20 1 -20
intensity 0.6
location 1.7 1 -17
radius 10
}
]
}
DEF AlternativeLight5 Group {
children [
# PointLights from chandeliers, simulating artificial light
DEF Point1 PointLight {
color 0.8 0.8 0.8
intensity 0.8
location 5.8 2.4 -11.5
radius 12.5
}
DEF Point2 PointLight {
color 0.8 0.8 0.8
intensity 0.8
location 5.8 2.4 -23
radius 12.5
}
DEF Point3 PointLight {
color 0.8 0.8 0.8
intensity 0.8
location -1.4 2.4 -34.5
radius 12.5
}
DEF Point4 PointLight {
color 0.8 0.8 0.8
intensity 0.8
location 13 2.4 -34.5
radius 12.5
}
DEF Point5 PointLight {
color 0.8 0.8 0.8
intensity 0.8
location 5.8 2.4 -34.5
radius 12.5
}
DEF Point6 PointLight {
color 0.8 0.8 0.8
intensity 0.8
location 5.8 1 -1
radius 12.5
}
DEF Point7 PointLight {
color 0.8 0.8 0.8
intensity 0.8
location 5.8 1 -5
radius 12.5
}
]
}
DEF AlternativeLight6 Group {
children [
# PointLights from chandeliers, simulating artificial light. Tested with HeadLight ON
DEF Point1a PointLight {
color 0.5 0.5 0.5
intensity 0.5
location 5.8 2.4 -11.5
radius 8
}
DEF Point2a PointLight {
color 0.5 0.5 0.5
intensity 0.5
location 5.8 2.4 -23
radius 8
}
DEF Point3a PointLight {
color 0.5 0.5 0.5
intensity 0.5
location -1.4 2.4 -34.5
radius 8
}
DEF Point4a PointLight {
color 0.5 0.5 0.5
intensity 0.5
location 13 2.4 -34.5
radius 8
}
DEF Point5a PointLight {
color 0.5 0.5 0.5
intensity 0.5
location 5.8 2.4 -34.5
radius 8
}
DEF Point6a PointLight {
color 0.5 0.5 0.5
intensity 0.5
location 5.8 1 -1
radius 8
}
DEF Point7a PointLight {
color 0.5 0.5 0.5
intensity 0.5
location 5.8 1 -5
radius 8
}
]
}
DEF AlternativeLight7 Group {
children [
# PointLights from windows (left side). Simulating sunlight
PointLight {
intensity 0.5
location -6 1 -35
}
PointLight {
color 0.1 0.1 0.1
intensity 0.05
location 1.7 1 -25.4
radius 10
}
PointLight {
ambientIntensity 0.4
color 0.5 0.5 0.5
intensity 0.7
location 1.7 1 -17
radius 10
}
PointLight {
ambientIntensity 0.4
color 0.5 0.5 0.5
intensity 0.8
location 1.7 1 -7.5
radius 10
}
]
}
DEF AlternativeLight8 Group {
children [
# PointLights from windows (left side). Simulating sunlight. Changing Radius Changes the "Intensity"
PointLight {
ambientIntensity 0.2
color 0.4 0.4 0.4
intensity 0.2
location -6 1 -35
radius 30
}
PointLight {
ambientIntensity 0.2
color 0.4 0.4 0.4
intensity 0.2
location 1.7 1 -25.4
radius 30
}
PointLight {
ambientIntensity 0.4
color 0.7 0.7 0.7
intensity 0.4
location 1.7 1 -17
radius 30
}
PointLight {
ambientIntensity 0.4
color 0.7 0.7 0.7
intensity 0.4
location 1.7 1 -7.5
radius 30
}
]
}
DEF AlternativeLight9 Group {
children [
# PointLights from windows (both sides, six windows). Good inside navigation.
PointLight {
ambientIntensity 0.6
color 0.5 0.5 0.5
intensity 0.6
location 1.7 1 -25.4
radius 30
}
PointLight {
ambientIntensity 0.3
color 0.7 0.7 0.7
intensity 0.3
location 1.7 1 -17
radius 10
}
PointLight {
ambientIntensity 0.01
color 0.4 0.4 0.4
intensity 0.01
location 1.7 1 -7.5
radius 5
}
PointLight {
ambientIntensity 0.6
color 0.5 0.5 0.5
intensity 0.6
location 9 1 -25.4
radius 30
}
PointLight {
ambientIntensity 0.3
color 0.7 0.7 0.7
intensity 0.3
location 9 1 -17
radius 10
}
PointLight {
ambientIntensity 0.01
color 0.1 0.1 0.1
intensity 0.01
location 9 1 -7.5
radius 5
}
]
}
DEF AlternativeLight10 Group {
children [
# PointLights from windows (left side). Good inside navigation, but the light is too uniform on one side
PointLight {
ambientIntensity 0.2
color 0.4 0.4 0.4
intensity 0.2
location -6 1 -35
}
PointLight {
ambientIntensity 0.2
color 0.4 0.4 0.4
intensity 0.2
location 1.7 1 -25.4
}
PointLight {
ambientIntensity 0.4
color 0.7 0.7 0.7
intensity 0.4
location 1.7 1 -17
}
PointLight {
ambientIntensity 0.4
color 0.7 0.7 0.7
intensity 0.4
location 1.7 1 -7.5
}
]
}
]
}
ROUTE touchMid19thCentury.isSelected5 TO LightSwitch.whichChoice
ROUTE touchExteriorNavigation.isSelected5 TO LightSwitch.whichChoice
ROUTE touchLight1.isSelected5 TO LightSwitch.whichChoice
ROUTE touchLight2.isSelected21 TO LightSwitch.whichChoice
ROUTE touchLight3.isSelected22 TO LightSwitch.whichChoice
ROUTE touchLight4.isSelected23 TO LightSwitch.whichChoice
ROUTE touchLight5.isSelected24 TO LightSwitch.whichChoice
ROUTE touchLight6.isSelected25 TO LightSwitch.whichChoice
ROUTE touchLight7.isSelected26 TO LightSwitch.whichChoice
ROUTE touchLight8.isSelected27 TO LightSwitch.whichChoice
ROUTE touchLight9.isSelected28 TO LightSwitch.whichChoice
ROUTE touchLight10.isSelected28 TO LightSwitch.whichChoice