Re: [Quest-ed-devel] Re: GTK+ CVS only etc.
Brought to you by:
alexm
|
From: Derek S. <de...@re...> - 2001-08-10 22:11:57
|
-> SDL actually looks good. It's worked great for my Quake2 game engine. -> GLUT is dangerous only use if you have to. GLUT has some serious -> control issues unfortunately. Once you call the main GLUT loop, don't -> call it, it will call you. This can lead to control issues that I don't -> want to discuse. It's been discused on the Worldforge client lists -> already. Just think of it this way, IT has control not your program. It is true that GLUT has a main loop of its own, and all your code must be callbacks to events. But this is not unusual; practically every event handling system is like this. GTK+ is the same way. SDL lets you have your own main loop, but that's only because it doesn't offer you any events (i.e., widgets). Please "discuse" the problems with GLUT. It having its own control loop is only natural, considering that it gives you menus, windows, etc. -> OGL is fine I suppose but you can call OGL from SDL I think that is -> better. SDL is an abstract interface between your environment and OpenGL, just like glX, GLUT, or that thing Windows uses (wingl? I dunno what it's called.) -> Custom is ok.. just realize that YOU have to support the interface, and -> the interface won't support you. It makes things very difficult to -> maintain then. Huh? WTF are you talking about? No matter what we'll be writing our own interface. But life can be made much simpler by having a pre-existing widget set. I'm leaning towards the GLUI stuff... hopefull this weekend I can play around with it a little bit. --Derek |