It's quite easy to take a minimal approach; calculate the approximate
distance of all cars (to the player's car); this is just 21x
posPlayer-posCar, which are just 3 subtractions.
Then mix the pitched samples into a single buffer; today's Pentiums
can do this without problems (an easy pitch & mix really doesn't take
that much time).
A slider for how many sounds at the same time, and then you take the
closest x cars out of the 22 available, and presto.
Not hard at all. Perhaps a day or 2 of work, tops. That includes
mixing the car sounds.
Didn't seem to bother Geoff, probably, or he was busy doing something
else. Let's hope he was busy on the patch. ;-)0
>-Jani-
>> Even if you couldn't hear the other cars, that wouldn't explain why from
>the
>> tv-views and in replays, you can still only hear one car even when the
>whole
>> grid is streaming past.
Ruud van Gaal, GPL Rank +53.53
MarketGraph / MachTech: http://www.marketgraph.nl
Art: http://www.marketgraph.nl/gallery