Open Libraries

Started by
13 comments, last by TheRealMAN11 22 years, 8 months ago
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.
Advertisement
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
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
It is foolish for a wise man to be silent, but wise for a fool.
http://www.khronos.org/menu.htm is interesting
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
----------------------------www.physicsforums.comwww.opengl.org

This topic is closed to new replies.

Advertisement