Re: MISC: Inlined Sound Support

Anthony Parisi ([email protected])
Mon, 17 Apr 1995 08:44:39 -0400


>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).
>

This is great. I would also suggest

AmbientSound {
fields [SFFLoat volume, SFString url ]

volume 0.5
url "http://iuma.com/Samples/HappyBirthday.aiff"
}

This is an ambient sound, i.e. it's heard everywhere in the scene. This one
is certainly easier to implement than a point sound. Can we do both?
____________________________________________________________________________

Intervista Software
Internet Visualization
415 648-2749
Tony Parisi
President [email protected]

____________________________________________________________________________