Archived

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

shakazed

Glut

Recommended Posts

Geocyte    196
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
shakazed    138
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