Simplified windowing layers (SDL, GLUT, GLFW)
From the recent "mega tools" thread:
Plus GLUT. I should add that to the thread.
We all know that Carbon GUI is not coming to 64-bit nor to iPhone. Let's not debate that. My question is this: What windowing layers are built on Cocoa? I don't think GLUT is. SDL? The statements above seem to imply that, but not clearly.
Oddity007 Wrote:SDL
...
Cons:
•Pulls some nasty tricks with main()
GLFW
...
Cons:
•2.6 uses Carbon, meaning its getting outdated (OneSadCookie has the story behind why it uses Carbon)
Plus GLUT. I should add that to the thread.
We all know that Carbon GUI is not coming to 64-bit nor to iPhone. Let's not debate that. My question is this: What windowing layers are built on Cocoa? I don't think GLUT is. SDL? The statements above seem to imply that, but not clearly.
SDL and SFML is built on Cocoa.
SDL 1.3 version (in SVN) has also iPhone port.
SDL 1.3 version (in SVN) has also iPhone port.
Mac OS X GLUT is built on Cocoa. You can download the source and see for yourself.
arekkusu Wrote:Mac OS X GLUT is built on Cocoa. You can download the source and see for yourself.It is? I didn't know, that's good news! Now my GLUT code immediately feels a bit safer!
But I'll download and have a look anyway.But where can I download it? At OpenGL.org it says that it is not open source!
No source download? Do you refer to GLUT or FreeGlut?
Mac OS X GLUT source is right there in Apple's sample code. Just go look for it.
arekkusu Wrote:Mac OS X GLUT source is right there in Apple's sample code. Just go look for it.Amazing, it is not open source but Apple puts it out as sample code.
Thanks!

