home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Late Night VRML 2.0 with Java CD-ROM
/
code.zip
/
Ch11
/
diagram
/
ellipsoidSound.wrl
< prev
next >
Wrap
Text File
|
1997-03-31
|
2KB
|
88 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 background Transform {
children Background {
skyColor 1 1 1
}
translation 26 -1.72 1.9
}
DEF ellipsoidSoundDiagram Transform {
children [
DEF soundXForm Transform {
children DEF demoSound debugSound {
direction 0 0 1
location 0 0 0
maxBack 6
maxFront 30
minBack 2
minFront 10
source DEF Sound1clip AudioClip {
url "forest.wav"
loop TRUE
startTime 1
}
}
translation 0 0 0
}
DEF soundPoint Transform {
children Shape {
appearance Appearance {
material Material {
ambientIntensity 0
diffuseColor 0 0 0
specularColor 0.587 0.596 0.582
emissiveColor 0 0 0
shininess 0.0816
transparency 0
}
texture NULL
textureTransform NULL
}
geometry Sphere {
radius 1
}
}
translation 0 0 0
rotation 0 0 1 0
scale 1 1 1
scaleOrientation 0 0 1 0
}
]
}
DEF VP1 Viewpoint {
position -52.3 1.11 2.08
orientation 0.0117 1 0.0113 4.52
fieldOfView 0.785
description "entry"
}
DEF navInfo NavigationInfo {
avatarSize [ 5, 20, 10 ]
type "EXAMINE"
}