windows c++
is it nessacary to learn to program windows (winmain and all that...) to learn opengl, and if it is, will i be able to with dev c++. thanks.
It might be easier to get used to sending messages to the opengl window, but it's not absolutely required in order to learn opengl. If you read through opengl documents well enough, you will see the connection between win32 and opengl(slightly similar), but either way, you will have a better understanding of the library you decide to use second, since they are both using windows and messages and all that.
Any Windows program that runs in a standard window will require some Win32 API code. At the very least, you'll need to register a window class, display the window, and enter a message loop that responds to WM_QUIT. The rest can be left up to OpenGL and whatever API you choose for input and sound.
Try going through these tutorials. If you encounter problems remember that msdn is your biggest friend!
Quote:Original post by shred master
is it nessacary to learn to program windows (winmain and all that...) to learn opengl
No it isn't (SDL).
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement