0
0

Sorry guys,

but your 3d attenuation system sucks realy. I use fmod in a real game with mosters in a level. When my character walks around i should hear the monsters nearby loud and monsters far away quitly tile mute. I can do anything with FMOD EX, but i cant get a realistic sound volume behavior, dependent on the distance to the monsters.

I tryed FMOD_3D_LINEARROLLOFF, FMOD_3D_LOGROLLOFF and FMOD_3D_CUSTOMROLLOF.

For example: If i use FMOD_3D_LINEARROLLOFF and for min and max, 100 and 10000. I only hear a noticeable decrease of the volume at the last 10% of the range, at the end of the distance.

But this dosent comes at surprise, because if FMOD use a realistic dB system, this is normal. And a liniear roll off coulded make a near ralistic 3d sound behavior.

Does anybody other use fmod in a game and has the same problem to tune the attenuation stuff? If you work only with the examples this problem doesent appear, beacuse here you dont have any reference to the real world.

Thankx, dodo502b

  • You must to post comments
0
0

We ended up using CUSTOM ROLLOFF, where the algorithm used for attentuation was ours, and it worked well for us.

  • You must to post comments
0
0

wow we give 3 different options for rolloff and you’re still not happy. Log mode is the same mode everyone else uses, directsound uses, openal uses, and is reacting correctly according to real world attenuation law, anything else is ‘fake’.
Linear does a linear calculation of volume = interpolate between 0 and 1. Custom is for whatever alternate system you think you need.
If the problem is it doesn’t sound right to you, you are not using it properly.

  • You must to post comments
0
0

ok – i will give it a try again. can anybody show me some examples of your custom rolloff array. I tryed some of thouse:

FMOD_VECTOR curve[3] =
{
{ 0.0f, 1.0f, 0.0f },
{ 50.0f, 0.1f, 0.0f },
{ 10000.0f, 0.0f, 0.0f }
};

FMOD_VECTOR curve2[2] =
{
{ 0.0f, 1.0f, 0.0f },
{ 10000.0f, 0.0f, 0.0f }
};

FMOD_VECTOR curve11[11] =
{
{ 100.0f, 1.0f, 0.0f },
{ 200.0f, 0.9f, 0.0f },
{ 300.0f, 0.8f, 0.0f },
{ 400.0f, 0.7f, 0.0f },
{ 500.0f, 0.6f, 0.0f },
{ 600.0f, 0.5f, 0.0f },
{ 700.0f, 0.4f, 0.0f },
{ 800.0f, 0.3f, 0.0f },
{ 900.0f, 0.2f, 0.0f },
{ 1000.0f, 0.1f, 0.0f },
{ 10000.0f, 0.0f, 0.0f }
};

In my game i have 100 units for 1 meter. Our monsters has a size of 1.5 – 2 meter. Any sugestion, what kind of cutom rolloff configuration i need?

Thanks in advance and sorry for my rough talking

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.