home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Late Night VRML 2.0 with Java CD-ROM
/
code.zip
/
Ch11
/
island
/
waveRange.wrl
< prev
next >
Wrap
Text File
|
1997-03-31
|
4KB
|
205 lines
#VRML V2.0 utf8
EXTERNPROTO debugSound [
field SFVec3f direction
field SFFloat intensity
field SFVec3f location
field SFFloat maxBack
field SFFloat maxFront
field SFFloat minBack
field SFFloat minFront
field SFFloat priority
field SFNode source
field SFBool spatialize
]
"dsp.wrl"
WorldInfo {
info [ "Created in CosmoWorlds",
"Packaged by CosmoPackage" ]
}
DEF terrainInline Transform {
children Inline {
url "islandTerrain.wrl"
bboxCenter -0.2193 104.2 -38.76
bboxSize 982.7 208.2 816.2
}
}
DEF streamGroup Transform {
children [
DEF streamInline Transform {
children Inline {
url "streamInline.wrl"
bboxCenter 44.53 80.75 177.4
bboxSize 137 161.3 348.7
}
translation 0 0 0.8643
}
DEF upperStreamSoundX Transform {
children DEF upperStreamSound Sound {
source DEF streamClip AudioClip {
url "stream.wav"
loop TRUE
startTime 1
}
location 0 0 0
direction 0.1112 0.2668 0.9573
minFront 40
maxFront 60
minBack 40
maxBack 60
}
translation 54.21 140.6 73.03
rotation 0.3002 -0.9499 0.08662 0.7312
scale 0.8807 0.8807 1.958
}
DEF lowerStreamSoundX Transform {
children DEF lowerStreamSound Sound {
source USE streamClip
location 0 0 0
direction 0.2393 -9.208e-07 0.9709
minFront 40
maxFront 60
minBack 40
maxBack 60
}
translation 5.43 64.11 248
rotation 0.9871 0.1324 0.08977 0.547
scale 0.9756 0.9756 3.22
}
]
}
DEF pondGroup Transform {
children [
DEF pondInline Transform {
children Inline {
url "pondInline.wrl"
bboxCenter 150 161 -17.19
bboxSize 126.9 0.867 98.97
}
}
DEF pondSound Sound {
source DEF frogClip AudioClip {
url "frogs.wav"
loop TRUE
startTime 1
}
location 149.4 161 -17.85
direction 0 0 1
minFront 60
maxFront 80
minBack 60
maxBack 80
}
]
translation -4.804 -5.003 0.6177
scale 1.036 1.036 1.036
}
DEF oceanInline Transform {
children Inline {
url "oceanInline.wrl"
bboxCenter 212.2 1.825 118.1
bboxSize 7377 0 7377
}
}
DEF background Transform {
children Background {
groundAngle 1.01
groundColor [ 0.1 0.1 0.09,
0.48 0.48 0.45 ]
skyAngle [ 0.05, 0.1, 1, 1.57 ]
skyColor [ 1 1 0,
1 1 0.5,
0.125 0.125 0.5,
0.3 0.3 0.55,
0.64 0.73 0.84 ]
}
translation 139.5 161.9 -16.62
rotation 0 0 1 0
}
DEF Light1 DirectionalLight {
direction -0.3017 -0.9453 0.1242
}
DEF IslandSound Sound {
source DEF cricketClip AudioClip {
url "crickets.wav"
loop TRUE
startTime 1
}
location 29.95 10 -36.62
direction 0 0 1
minFront 335
maxFront 450
minBack 335.3
maxBack 450
spatialize FALSE
}
DEF waveSoundGroup Transform {
children DEF waveSound debugSound {
source DEF waveclip AudioClip {
url "waves.wav"
loop TRUE
startTime 1
}
location 0 0 -34.81
direction 0 0 1
minFront 480
maxFront 550
minBack 480
maxBack 550
}
translation 0 -27.19 0
rotation 0 0 1 0
scale 1.155 0.1211 1.155
}
DEF flyNav NavigationInfo {
avatarSize [ 1, 4, 4 ]
speed 4
type "FLY"
}
DEF walkNav NavigationInfo {
avatarSize [ 1, 4, 4 ]
speed 4
}
DEF viewpoints Transform {
children [
DEF VP2 Viewpoint {
position -955.3 285.3 1151
orientation -0.03 -0.9954 -0.09072 0.6999
fieldOfView 0.7854
description "full view"
}
DEF mouthView Viewpoint {
position 8.272 7.301 376.5
orientation 0.8856 -0.3429 -0.3132 0.1979
fieldOfView 0.7854
description "streamMouth"
}
DEF VP1 Viewpoint {
position 127 190.2 -111.8
orientation 0.04461 0.9886 0.1439 3.27
fieldOfView 0.7854
description "pond view"
}
DEF overviewVP Viewpoint {
position 393.9 592.5 261
orientation -0.4543 0.7701 0.4479 1.487
fieldOfView 0.7854
description "overview"
}
]
}
ROUTE mouthView.isBound TO walkNav.set_bind