Jump to content
  • Advertisement

Archived

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

shakazed

Glut

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

Advertisement
I use GLUT over win32/DirectInput (I have tried all three). It is much quicker and easier to develop with. You do get more functionality with the others but you won''t need that stuff for years.

DirectInput can allow you to make use of funky control devices like force-feedback joysticks.

You would need to use win32 if you wanted a fully multi-tasking windows-compatible application but you don''t really need it for games. There are a few lines of win32 in my code to set the mouse cursor position which GLUT cannot do, but all the basic work is done by GLUT.

Geocyte Has Committed Suicide.

Share this post


Link to post
Share on other sites
Ok. Yeah I guess it would be to reinvent the wheel if I started using the win32 api. I doubt I could make it more effecient at this time than glut does it. Might be that I´ll use it later on if I let´s say wanted to do an editor or something, but for now I´ll go glut.

Share this post


Link to post
Share on other sites
quote:
Original post by shakazed
So SDL isn´t doing graphics, it just handles sound/input etc? Like DirectX - d3d?



Something like this, but SDL is platform independet of course.

"C lets you shoot yourself in the foot rather easily. C++ allows you to reuse the bullet!"

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!