Win32? SDL? GLUT? Which one do you use and why??
I have to admit i love GLUT. the windowing is easy, menus and various other click n' reDisplay stuff is cool and east too..win32 is also nice b/c you are more flexible in your choices and unlike GLUT you dont have to switch to "game mode" b/c windows does it for you.
i also have to admit that i havent used SDL to do any of my picking, clicking, menus etc etc. i am going to start using SDL this week and see how i like it.
so which one of these 3 do you use and why? or do you use different ones depending on what you are writing..
heh
I'd recommend you to use SDL, because it's platform independend and much more flexible than GLUT.
--------------------------------------------------------There is a theory which states that if ever anybody discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable.There is another theory which states that this has already happened...
hey Corrial! long time no email haha. still enjoying what you sent me..
umm so SDL has pretty good GUI menuing? thats the main think that i am interested in. i have used GLUI -- which is based on GLUT, you can do menus, rollout boxes, listboxes, radio button, check boxes, text boxes etc etc..so does SDL do all that?
umm so SDL has pretty good GUI menuing? thats the main think that i am interested in. i have used GLUI -- which is based on GLUT, you can do menus, rollout boxes, listboxes, radio button, check boxes, text boxes etc etc..so does SDL do all that?
heh
Well, SDL doesn't natively do that, but on the SDL webpage you can find tons of libraries people have written to enhance SDL including GUI's.
SDL can do 2D stuff, but an additional library really helps because you can only do pixel and blit operations natively. SDL can do OpenGL with almost no changes to your existing OpenGL code (by almost no changes, I mean one additional line of code). And, you can do SDL's 2d operation and SDL's OpenGL stuff on the same surface! Not to mention that SDL handles input much better than GLUT.
I use SDL 'cause I use Linux, but would like my programs to compile on Windows and maybe Mac.
[Edited by - DuncanBojangles on July 12, 2004 8:37:46 PM]
SDL can do 2D stuff, but an additional library really helps because you can only do pixel and blit operations natively. SDL can do OpenGL with almost no changes to your existing OpenGL code (by almost no changes, I mean one additional line of code). And, you can do SDL's 2d operation and SDL's OpenGL stuff on the same surface! Not to mention that SDL handles input much better than GLUT.
I use SDL 'cause I use Linux, but would like my programs to compile on Windows and maybe Mac.
[Edited by - DuncanBojangles on July 12, 2004 8:37:46 PM]
"Donkey, if it were me, you'd be dead."I cna ytpe 300 wrods pre mniute.
well if you are using linux you can port it to windows :) as long as you create a console app and not a win32 app. :) thanks for the info about SDL. would be cool to get my hands on that and be able to write menus, boxes etc etc..ill be checking that out..thanks again..
heh
Quote: Original post by OpenGL_Guru
hey Corrial! long time no email haha. still enjoying what you sent me..
umm so SDL has pretty good GUI menuing? thats the main think that i am interested in. i have used GLUI -- which is based on GLUT, you can do menus, rollout boxes, listboxes, radio button, check boxes, text boxes etc etc..so does SDL do all that?
Great ;D
So, here's the link for SDL GUIs. There a complete list which operation systems are supported.
http://www.libsdl.org/libraries.php?order=name&category=14&completed=0&os=any&match_name=&perpage=50
--------------------------------------------------------There is a theory which states that if ever anybody discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable.There is another theory which states that this has already happened...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement