|
All the major game developers do it, why can't you? Using OpenGL is not simple, but it's not impossible either. (Some experience in C++ and/or Qt may be required to follow this article.)
DisclaimerThe author (that's me) knows next to nothing about OpenGL. I started coding my first OpenGL application a few days ago, and discovered that good tutorials were hard to find. Sure, I found lots of tutorials, but most of them where either poorly documented or too advanced. So, I decided to write a tutorial about what I've learned so far. I hope that my lack of knowledge will lead to an easy to understand, "OpenGL for dummies" style article. (If you know any good beginners' tutorials, or if you find any errors in this tutorial, please post them in a comment.)
PrefaceQuoting opengl.org: OpenGL is a cross-platform standard for 3D rendering and 3D hardware acceleration. It is developed by SGI. The runtime library ships with most common operating systems, including MacOS, Windows, and most versions of Unix/Linux. I'll be using Qt to implement the application, but the actual OpenGL commands are the same for any toolkit. (Some of the code in my example is from the Qt gear example.) ResourcesSome sites that might be of interest to OpenGL coders: opengl.org SGI's OpenGL page OpenGL 1.1 specification OpenGL index page OpenGL index page (different location) Mesa - an open source OpenGL implementation OpenGL in Qt Flipcode programming tutorials Comment List
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||