What, another blog?

   

Yes, it seams that way. I will use it to keep track of my progress with opengl learning. Maybe it will help someone else trying to learn it.

Ok, so "how will you learn" you ask? Well, i will start with Red Book and use google when it won't be enough.

For starters let's see how one can compile opengl programs on system I use. First Mac OSX:
gcc -Wall -O2 -framework OpenGL -framework GLUT file.c -o file
and Linux:
gcc -Wall -O2 -lGL -lglut file.c -o file
There is also one thing you have to remember when writing portable code using opengl -- headers on osx are in different places. There is an easy way to cope with that -- use c preprocessor:

#ifdef __APPLE__
#include <OpenGL/gl.h>
#include... ... read more >>> tdgl.wordpress.com

None
A comma-separated list of terms describing this content. Example: funny, bungee jumping, "Company, Inc.".