#VRML V2.0 utf8
WorldInfo {
title "Floppy's VRML97 Tutorial Example 17b"
info ["(C) Copyright 1999 Vapour Technology"
"vrmlguide@vapourtech.com"]
}
DEF SENSOR VisibilitySensor {
size 2 2 2
}
Sound {
minFront 10
minBack 10
maxFront 50
maxBack 50
source DEF SOUND AudioClip {
loop TRUE
url "boing.wav"
}
}
Shape {
appearance Appearance {
material Material {
emissiveColor 0 1 0
}
}
geometry Box {}
}
ROUTE SENSOR.enterTime TO SOUND.startTime
ROUTE SENSOR.exitTime TO SOUND.stopTime
© Copyright 1999 Vapour Technology - vrmlguide@vapourtech.com