The sound engine

countbasiecountbasie Join Date: 2008-12-27 Member: 65884Members
I'm not a programmer, but I have the feeling, that the sounds are actually reflected by the environment. So instead of have mappers setting values for each room to vary the delay and reverb, it is real-time rendered in ns2? Is that true? May that be the reason for sound loops not to stop (reflecting all over every corner way to strong) and the room-filling bitesound of the skulk?

I'm just wondering if this is very hardware-eating or not. Well, r-stats shows more memory to be in use for sounds than for textures.

I never recognized a sound like that in a game. You know, in racing games for example, it is easy to define tunnels by turning effects on while the car is in it. But in NS2 the differences in reverb are really subtle. Just try running around rockdown with a biting skulk, it's awesome.

Maybe someone around here knows what I mean and how they program it - and how it is usually programmed; I never heard something like that in a source game for example.

Comments

  • simon kamakazisimon kamakazi Join Date: 2009-04-28 Member: 67296Members
    hey countbasie

    the sounds dont actualy bounce off from the map geometry (they do get absorbed about 50% tho), we have to manualy set reverb spheres for each room, and depending on what preset the sphere u are in changes the reverb type applyed to the sounds.

    the doubling up of sounds is a client server issue

    and the rifle loop not stopping when it should is a bug with its code, somtimes it dosnt recive a "stop sound" msg.
  • countbasiecountbasie Join Date: 2008-12-27 Member: 65884Members
    edited January 2011
    Thanks for the reply,

    well then you use quite impressive effect units. really good sound. but the idea was not too stupid, hum? ;)

    I'm dreaming of engines using real sound reflections. And matters made of real particles instead of meshes with textures over it. Maybe this will be possible with 30-core, or even quantum-cpus.
  • ownosownos Join Date: 2010-11-21 Member: 75124Members
    I saw a video not long ago about the sound of a drop hitting water being computed and played. It was pretty cool to see how extensive and vast such computations actually are. Though what you are speaking of may be emulated in another way without doing the real simulations of the waves moving through air and what not.

    <a href="http://www.youtube.com/watch?v=V6dGU6DSCQY" target="_blank">http://www.youtube.com/watch?v=V6dGU6DSCQY</a>
  • countbasiecountbasie Join Date: 2008-12-27 Member: 65884Members
    edited January 2011
    Cool link, thank you. That's right, the waves would not have to be simulated.
    And now imagine that together with a whole level made of this...

    <a href="http://www.youtube.com/watch?v=xcdKHA6f7qM" target="_blank">http://www.youtube.com/watch?v=xcdKHA6f7qM</a>

    You can forget about red faction! It's nothing compared to an earth simulator 2.0 ;)
  • DeadzoneDeadzone Join Date: 2003-07-03 Member: 17911Members, Reinforced - Shadow
    <!--quoteo(post=1822034:date=Jan 6 2011, 01:27 PM:name=countbasie)--><div class='quotetop'>QUOTE (countbasie @ Jan 6 2011, 01:27 PM) <a href="index.php?act=findpost&pid=1822034"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Cool link, thank you. That's right, the waves would not have to be simulated.
    And now imagine that together with a whole level made of this...

    <a href="http://www.youtube.com/watch?v=xcdKHA6f7qM" target="_blank">http://www.youtube.com/watch?v=xcdKHA6f7qM</a>

    You can forget about red faction! It's nothing compared to an earth simulator 2.0 ;)<!--QuoteEnd--></div><!--QuoteEEnd-->

    That was insane. All the poor bunnies though D:
  • ownosownos Join Date: 2010-11-21 Member: 75124Members
    MMh, shouldn't have skipped Linear Algebra and excluded myself from Computer Graphics =P
  • countbasiecountbasie Join Date: 2008-12-27 Member: 65884Members
    <!--quoteo(post=1822036:date=Jan 6 2011, 08:03 PM:name=Deadzone)--><div class='quotetop'>QUOTE (Deadzone @ Jan 6 2011, 08:03 PM) <a href="index.php?act=findpost&pid=1822036"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->That was insane.<!--QuoteEnd--></div><!--QuoteEEnd-->


    finally some guys who understand, why i like this demo so much. usually people say "oh, yeah...well.."
    for me those things are little revolutions.
  • cH40z-LordcH40z-Lord Join Date: 2009-07-26 Member: 68269Members, Reinforced - Shadow
    Lagoa is absolutely incredible!

    PhysX compared to Lagoa is not worth mentioning.
Sign In or Register to comment.