[ODE] Contact sound generation

Jon Watte hplus-ode at mindcontrol.org
Wed Nov 3 17:19:42 MST 2004


But two boxes sliding against each other would still make two sounds 
for the one contact, whereas a box sliding on gravel and on metal at 
the same time would only make one sound.

Thus, I prefer keeping a hash table of <object,object> tuples and 
keep object pair sound data in that table. When objects stop making 
noise, they go away from this table so that repeated bouncing can 
still make repeated sounds.

Anyway, both ways will work :-)

Cheers,

			/ h+


-----Original Message-----
From: Megan Fox [mailto:shalinor at gmail.com]
Sent: Wednesday, November 03, 2004 3:22 PM
To: Jon Watte
Cc: Will Thimbleby; ode at q12.org
Subject: Re: [ODE] Contact sound generation


To get around the multiple sound problem (6 different contacts per
object per scene, or whatever), as well as the stacking sounds problem
(one at full volume, then the next frame, one at slightly less volume,
etc - spirals out quickly), you might consider sound states rather
than just generating sounds.




More information about the ODE mailing list