Jump to content
  • Advertisement

Archived

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

bg3ntl

OpenGL SDL, windows and opengl

This topic is 6117 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

well ok after having the issue of glut and opengl cleaned up i have another api question for all you gurus out there - is sdl any good ? the reason i ask is this - the terrain engine im working will now be ported from dx8 to opengl for the rendering. BUT and its a big but, what am i to do for input and sound now ? i cant very well rely on windows msg handling and i really really dont want to have to use dx8''s input - although i like dinput, that makes it platform specific. ive been hearing about sdl - is it any good? is it another glut ? final question - if sdl wasnt about when q3 was written, what did the quake gods use to handle input ? '' That''s a nice little nothing you are almost wearing. ''

Share this post


Link to post
Share on other sites
Advertisement
I think SDL has a good reputation but I should have used your DirectInput code if the program only have to run on Windows. As far as I know does all commercial OpenGL games on Windows like Q3 use DirectInput.

Share this post


Link to post
Share on other sites
SDL does input too, and quite well at that.



To you it''s a Bently, to me it''s a blue car...
"Diddy"
P.Diddy

Share this post


Link to post
Share on other sites
quote:
Original post by Null and Void
SDL uses Direct Input in Windows .


No SDL uses DirectInput in Windows IF AVAILABLE. Otherwise it will use the Win32 API. True, DirectX ships with most versions of Windows, but not all!


(Ok, ok, I know it''s a small detail but I like correctness. )

Share this post


Link to post
Share on other sites
In my opinion SDL is very good. It''s pretty powerful, and it doesn''t get in your way (neither programming-wise nor performance-wise).

Sorry that I can''t give you any more substantial information, but I''d recommend you to just try it out. Write a little test application and see how you like it.

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!