I want to start learning OpenGL,
should learn using GLUT? I'm lost, help me please
thanks
Glut? or no?
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)
opengl + win32?
I found almost all tutorials use glut or glux (Nehe)
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.
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).
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.
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
Popular Topics
Advertisement