Im writting an opengl engine. I must choose from win32 api and glut. But i dont know win32 a lot, so i wonder if the glut is good.
First, are there any things I should be aware of glut? Any fps hit? My engine will be dll, and I wonder if it will be easy to make the Init part (ive not used glut yet). Uh… thats it, can anyone tell me?
The good thing about GLUT is that it’s easy to use, but you don’t have much control over what’s going on. If you are going to create an engine, you probably want as much control as possible. Win32 API is not that hard either, at least not the part required to get an OpenGL program up and running. I suggest you go for Win32 API, cause it’s not so difficult to use (the part you need), and you will have to learn it sooner or later anyways, if you intend to do someting with your engine.
NeHe’s site is what you need to learn Win32 API/OpenGL.
Ok, thanks I’ll go for win32