Archived

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

TheRealMAN11

Open Libraries

Recommended Posts

TheRealMAN11    142
Are there libraries like OpenGL and OpenAL that would do the things the DirectX components do (ie. directplay and directinput). And if there are are they cross platform like OpenGL and OpenAL. And is OpenAL as good as directsound Matthew WebMaster www.Matt-Land.com

Share this post


Link to post
Share on other sites
Null and Void    1088
OpenAL was excellent when I messed around with it (I''ll probably use it again for my current project). I''m using SDL to do crossplatform (Mac, Windows, *nix+XF86, BeOS) input, threading, window management, and time keeping. It doesn''t do networking, but there''s another library on the SDL site to do that for a couple platforms.

[Resist Windows XP''s Invasive Production Activation Technology!]

Share this post


Link to post
Share on other sites
Julio    116
OpenAL is great. you can do 3d sound and best of all it''s a cross-platform library.



How many Microsoft employees does it take to screw in a light bulb?
None, they just declare drakness as a new standard.

Share this post


Link to post
Share on other sites
Null and Void    1088
As I said before, SDL does input. Somewhere on the SDL site there is a package called SDL_Net (or something similar). I''m not sure how far along it is, but it is a cross platform network library. Also, there is something called OpenPlay (made by Apple). I didn''t like it too much though. Or, you could just use Berkeley sockets (i.e. avoid the WSA winsock functions).

[Resist Windows XP''s Invasive Production Activation Technology!]

Share this post


Link to post
Share on other sites
zedzeek    529
most companys dont use directplay, they use sockets instead. u might wanna have a look at hawknl for a crossplatform alternative.

Share this post


Link to post
Share on other sites
bobatefrei    122
I use GLUT + OpenGL + OpenAL + xaudio (a very portable free mp3 player). Maybe I will replace GLUT by SDL, I don''t like it, but it seems that GLUT is not in developpement!

Share this post


Link to post
Share on other sites
gmcbay    130
As others mentioned, SDL can be used to handle input in a platform independent way. It also has DirectDraw-like blitting and can support OpenGL rendering (though mixing them generally results in slow rendering -- better off using OpenGL directly to do the 2D if you need it).

For network related stuff, if you want something higher level than BSD style sockets (which, if used carefully, can be pretty cross-platform already between Win32 and most UNIX like systems), check out HawkNL:

http://www.hawksoft.com/hawknl/

HawkNL gives you functionality similar to DirectPlay and DirectVoice, but in a multiplatform open source package.

Share this post


Link to post
Share on other sites
Marvin    127
SDL + OpenGL + OpenAL work very well together, SDL provides you with your DirectInput equivilant, Threading, Timers, 2D graphics etc, OpenAL provides you 3D sound, OpenGL 3D graphics. As for directplay who needs it? good old plain sockets are far more powerful and almost 100% portable, you just need a few #ifdefs to select the appropriate headers depends on OS

Share this post


Link to post
Share on other sites
TheRealMAN11    142
Ok so far I have my graphics library (openGL), my audio library (openAL), and my network library (openNL/HalkNL). Now I need an input library that can do everything Direct input can do. From what I have read SDL cannot do this. Is there like a strictly input library like openGL is strictly graphics?

Matthew
WebMaster
www.Matt-Land.com

Share this post


Link to post
Share on other sites
grady    122
mmm, microsoft's name isn't on the cover of the OpenML specification. That makes me . There's also fmod for sound, www.fmod.org .

Edited by - grady on August 7, 2001 5:02:39 PM

Share this post


Link to post
Share on other sites