Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Fonz

OpenGL What can be used to complement OpenGL?

This topic is 5842 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey, I''ve been looking at game programming for a while now and Im starting to feel its time to move on from text based games. I know how to use OpenGL to some extent. I was wondering what other open source librarys are out there for sound etc? Something to go with OpenGL. I gave directX a good look over but the more I look into it the more detered I get. plus I''ve heard OpenGL is faster. cheers, Fonz

Share this post


Link to post
Share on other sites
Advertisement
OpenGL is not faster. You gotta be careful you don''t start a flame war...

To answer your question, here are a few good libraries to compliment OGL:


SDL: This has sound, input, windowing/GUI functions, and probably quite a few other nifty things.

OpenAL: An audio library made to be similar to OpenGL in ease of use and functionality.

HawkNL: The Hawk network library, for all you''re networking/multiplayer needs.

DevIL: This is a good image loading library, so you don''t have to write you''re own BMP/TGA/JPG/etc loader. Very handy.

I think that should cover all the bases. Hope it helps!

--Buzzy
(formerly buzzy_b)

Share this post


Link to post
Share on other sites
Buzzy covered the basics, but I just want to add FMOD for sound. It seems to have more support than OpenAL, better documentation (I figured out FMOD by looking at the function declarations... I looked through the OpenAL docs and it appeared to be much more complex). It doesn''t used an OGL-like syntax, but it is easily configured.

In case your interested, I posted a sample FMOD MP3-playing code a few weeks ago in this thread:
http://www.gamedev.net/community/forums/topic.asp?topic_id=102851

And I am also currently using DevIL for image loading. Really handy, and it has an OGL-like syntax.

Share this post


Link to post
Share on other sites
Hey thanks,

Thats all i''ll ever need :-) .. for the next 6 months anyhoo

cheers,
Fonz

Share this post


Link to post
Share on other sites
quote:
Original post by Erunama
Buzzy covered the basics, but I just want to add FMOD for sound. It seems to have more support than OpenAL, better documentation (I figured out FMOD by looking at the function declarations... I looked through the OpenAL docs and it appeared to be much more complex). It doesn''t used an OGL-like syntax, but it is easily configured.



OpenAL probably has more flexibily in the long term than FMOD (you can work your sound system to your needs), but FMOD is probably perfect if all you want to do it play back a few sounds etc.

OpenAL was used with Solider of Fortune 2 and will be used in the up and coming UT2K3 (at least, as far as all the info I''ve seen on it says *koff*2leakeddemos*koff*) so it cant be bad at all

Share this post


Link to post
Share on other sites
quote:
Original post by Fonz
What can be used to complement OpenGL?



Well, she likes words like efficient, nicely written, elegant, easy to use, and fun. =D

(sorry, I had to. =D)

-=Lohrno

Share this post


Link to post
Share on other sites
quote:
Original post by smarechal
Altho many people don''t like it, I use DirectSound and DirectInput in conjunction with OpenGL. Works for me



OpenAL pretty much sits over the top of DirectSound on Windows anyways I belive, but it allow for the code to be more portable, granted if being portable isnt important to you then its not a problem

As for input, aside from directinput or SDL are there any other libs for input?
a X-platform standalone input system might be worth while someone making (I know one exists in SDL, but having one to use apart from that might be handy)

Share this post


Link to post
Share on other sites
quote:
Original post by _the_phantom_
a X-platform standalone input system might be worth while someone making (I know one exists in SDL, but having one to use apart from that might be handy)

The problem with making an input library is that most systems bind the input to the ''window'' of a program too much. SDL gets around this because it creates the ''window'' as well. I''ve thought about portable input libraries a lot, and I couldn''t see how one could be made standalone.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!