Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: acoustics library

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Newbie Newbie
    Join Date
    Sep 2013

    acoustics library

    Im wondering if there is a physics library in opengl that will render light particles with an inverse similar to sound. Im trying to simulate a loudspeaker in a room. The loudspeaker has different loudness per each angle 180x360. This would later be rendered onto an object.

    Any thoughts,


  2. #2
    Junior Member Newbie
    Join Date
    Jun 2013
    ummm. what you describe is sort of vague... OpenGL is simply an API to access the GPU. It's not a physics or sound code base, except for the lighting equations in the shader code. That's about the only part about it that counts as physics. However... if you want to connect sound to the visuals you can use the fMod audio library. The FFT(fast fourier transform) example code in the SDK will map the sound buffer so you can connect it to what you see on screen, particles for instance. It's free to use if your publish for free. There are also several source code example for doing this kicking around but I've seen nothing that is as easy to implement as fMod is. The API is just as easy to use as OpenAL, but OpenAL doesn't give access to the sound buffer as far as I know.

    If you want any more ideas from people you will have to explain what you want to do in more detail.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts