-----------------------------------------------------------------------------
David Peck
http://www.mbhs.edu/~dpeck/
Macintosh SW Games Programmer
"Weep for the future. Weep for us all..." - B5
On Fri, 14 Apr 1995, Gavin Bell wrote:
> How about this:
>
> PointSound {
> fields [ SFVec3f position, SFFloat radiusOfEffect, SFFloat volume,
> SFString url ]
>
> position 0 0 0
> radiusOfEffect 100.0
> volume 0.5
> url "http://iuma.com/Samples/HappyBirthday.aiff"
> }
>
> The sound source is transformed by the current transformation and can be
> heard if the viewer is withing radiusOfEffect of it (radiusOfEffect is
> important to allow sound sources to be view-volume culled, allowing a
> potentially infinite number sound sources to be handled).
>
>
>
>