http://cone3d.gamedev.net/cgi-bin/index.pl?page=tutorials/ogladv/tut3