Archived

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

JmarsKoder

Glut is Good

Recommended Posts

JmarsKoder    122
I remember a coder saying in a tread recently that No self Respecting coder would ever use glut. I think that is total BS. Glut does 2 things that is incredible, It gives us a very clean interfact to write portable code that could be easily carried over from on platform to antother. And it protects coders who are strickly game coders and not win32''s Nasty Api hackers. The win32 api must be one of the worst pieces of trash I''ve ever seen. BeOS is an example of a nice logical and functional GUI api. Win32 is a hacked up, half OO techniques with Structured feel. To have that code in your source is nasty imho. Glut doesn''t take away our freedom, we write the interfaces and tell glut what function does what. Its a simple way to get to the game-code and skip the unneeded trash. I would like to hear why Glut is "not for any self-respection game coder." It seems like the win32 api would be more disgraceful than an intelligent interface like glut. Reality Makes Me XIC I don''t do spelling, I hack code: passion is my feul. Use my programs, experience genius. http://www.x-i-c.com/

Share this post


Link to post
Share on other sites
OctDev    158
I like Glut. I learned OGL using glut. Now I want to use Java with OGL instead of C/C++, using GL4Java, and no wrapper class for Glut is available. So now I am forced to learn the mechanics behind Glut. But if I plan on going back to C/C++, I will definitely use Glut. Needless to say, as a fairly new OGL user, I have been curious about other reasons NOT to use Glut, and will be watching this for more responses!

--OctDev

Share this post


Link to post
Share on other sites
Guest Anonymous Poster   
Guest Anonymous Poster
"GLUT (pronounced like the glut in gluttony) is the OpenGL Utility Toolkit, a window system independent toolkit for writing OpenGL programs. It implements a simple windowing application programming interface (API) for OpenGL. GLUT makes it considerably easier to learn about and explore OpenGL programming. GLUT provides a portable API so you can write a single OpenGL program that works on both Win32 PCs and X11 workstations.

GLUT is designed for constructing small to medium sized OpenGL programs. While GLUT is well-suited to learning OpenGL and developing simple OpenGL applications, GLUT is not a full-featured toolkit so large applications requiring sophisticated user interfaces are better off using native window system toolkits like Motif."

Notice:

1. "Easier to learn about and explore OpenGL Programming."
2. "Small to medium sized OpenGL Programs"
3. "Glut is not a full featured toolkit"

This is straight off the GLUT''s home page btw.


Other reasons that GLUT isn''t used in professional games include the fact that it is easier to recreate your own internal library than extend the existing GLUT library to suit your purposes.

Other things I can think of off the top of my head is that the GLULookAt() functionality isn''t nearly as flexable as an advanced camera class created with quaternions or matricies.

Like I said before it''s great for beginners, but I wouldn''t use the GLUT library unless I needed to get a quick prototype up and going, it would never end up in the final version of my game.

Share this post


Link to post
Share on other sites
thuned    122
quote:
Original post by Anonymous Poster

Other things I can think of off the top of my head is that the GLULookAt() functionality isn''t nearly as flexable as an advanced camera class created with quaternions or matricies.


glulookat is glu, not glut

i started off using nehe''s code and that''s what i''m still doing rite now. but i would like to learn glut tho



life is unfair, take advantage of it.
UNMB2 - if the link doesn''t work, try clicking it

Share this post


Link to post
Share on other sites