Glut? or no?

Started by
17 comments, last by Bozebo 13 years, 9 months ago
I want to start learning OpenGL,
should learn using GLUT? I'm lost, help me please

thanks
http://mateusvitali.wordpress.com/
Advertisement
GLUT's fine as a testbed for quickly testing out OpenGL things. It's not very good for games, at least ones you'd be releasing to other people.
and what should I use then?

opengl + win32?

I found almost all tutorials use glut or glux (Nehe)
http://mateusvitali.wordpress.com/
That depends on what you need it for. If you're doing Windows game development only, bare win32 is the most flexible. For cross-platform development, SDL is the most common OS abstraction layer, but don't expect your game to be cross-platform just because you're using SDL.
The quality with win32 sdl or is it?
http://mateusvitali.wordpress.com/
what?
Just write your own. If you can't do that, use SDL or the C++ derivative called SFML.
Sneftel, I asked if the performance or win32 sdl is the same
http://mateusvitali.wordpress.com/
Quote:Original post by VitaliBR
Sneftel, I asked if the performance or win32 sdl is the same


Do you mean, Win32, or do you mean SDL? Or do you mean the Win32 specific parts of SDL? I always use SDL or SFML to give me a window and give me mouse / keyboard input. So performance is not an issue (initializing my complete game takes 0.2 seconds or so, why would I optimize that???). Even if SDL/SMFL was slower then Win32 API, I'd still use SDL/SFML (for it's so much cleaner / easier / more portable).
[size="2"]SignatureShuffle: [size="2"]Random signature images on fora
Don't worry about performance at this stage of learning stuff.

You have enough to worry about with matricies and projections and all the lovely GL goodness.

Use GLUT while you get the hang on things. Later on, the stuff you've used with GLUT will move easily to SDL/Win32.

This topic is closed to new replies.

Advertisement