Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Different surfaces?
04-14-2009, 03:17 AM,
#21
 
joevenzon Wrote:you should provide a default value when you initialize surface_type
Definitely. The default behaviour at the moment works out quite well, but its more by luck than anything else. I'm trying to think if there is an easy way I can change the wheel collision routine based on how many parameters the track has. That would mean that if you have a surfaces value it gets used for all surfaces, bezier patch or not. But if you don't, the bezier patches determine what noises get made.

Of course the other method is to make sure all tracks get the extra parameter! :wink:

Quote:Other random thoughts:
Performance - The sound system makes sure that the data only gets loaded once right? So in effect the sound source is a pointer to it and a set of pitch, gain, and playhead data. I wouldn't think that would cause too much of a problem. I do wonder though, if its better to share the position data with all the other wheel sounds? Otherwise you have to call several times to update them all.

Kerb-noises - I've been thinking about this and I might have to contradict myself. Big Grin Kerbs are mostly concrete, with bumps. So the tire-bump noise should do enough on its own to let you know you are on a kerb?

Tires-maxed sound - I'll have a look, so far I've just used GetTireSquealAmount() without worrying about how it works!

Grass louder - Shouldn't be a problem.

@ alex25 - can do. Obviously it means that typos are easier to make and harder to detect, so there is a trade off.
Reply


Messages In This Thread
Different surfaces? - by slowDan - 04-02-2009, 05:25 PM
Re: Different surfaces? - by slowDan - 04-05-2009, 12:11 PM
[No subject] - by joevenzon_phpbb2_import3 - 04-05-2009, 05:04 PM
[No subject] - by slowDan - 04-07-2009, 02:38 PM
[No subject] - by joevenzon_phpbb2_import3 - 04-07-2009, 07:56 PM
[No subject] - by alex25 - 04-07-2009, 09:39 PM
[No subject] - by joevenzon_phpbb2_import3 - 04-08-2009, 10:10 AM
[No subject] - by alex25 - 04-08-2009, 10:28 AM
[No subject] - by FFuser - 04-09-2009, 11:43 AM
[No subject] - by slowDan - 04-09-2009, 12:14 PM
[No subject] - by alex25 - 04-09-2009, 12:49 PM
[No subject] - by FFuser - 04-09-2009, 06:35 PM
[No subject] - by joevenzon_phpbb2_import3 - 04-09-2009, 10:34 PM
[No subject] - by FFuser - 04-10-2009, 08:47 AM
[No subject] - by alex25 - 04-10-2009, 04:41 PM
[No subject] - by slowDan - 04-11-2009, 03:40 PM
[No subject] - by slowDan - 04-13-2009, 01:23 PM
[No subject] - by alex25 - 04-13-2009, 05:33 PM
[No subject] - by joevenzon_phpbb2_import3 - 04-13-2009, 10:23 PM
[No subject] - by slowDan - 04-14-2009, 03:17 AM
[No subject] - by joevenzon_phpbb2_import3 - 04-19-2009, 06:15 PM
[No subject] - by slowDan - 04-21-2009, 03:22 PM
[No subject] - by joevenzon_phpbb2_import3 - 04-21-2009, 11:56 PM
[No subject] - by joevenzon_phpbb2_import3 - 04-22-2009, 12:24 AM
[No subject] - by slowDan - 04-22-2009, 01:24 PM
[No subject] - by joevenzon_phpbb2_import3 - 04-22-2009, 08:02 PM
[No subject] - by slowDan - 05-16-2009, 04:48 AM
[No subject] - by joevenzon_phpbb2_import3 - 05-17-2009, 11:37 AM
[No subject] - by alex25 - 05-17-2009, 12:59 PM
[No subject] - by joevenzon_phpbb2_import3 - 05-18-2009, 10:16 AM
[No subject] - by slowDan - 05-31-2009, 01:20 PM
[No subject] - by joevenzon_phpbb2_import3 - 05-31-2009, 02:25 PM
[No subject] - by alex25 - 05-31-2009, 05:46 PM
[No subject] - by alex25 - 05-31-2009, 07:44 PM
[No subject] - by slowDan - 06-01-2009, 12:53 PM
[No subject] - by joevenzon_phpbb2_import3 - 06-01-2009, 06:50 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)