Wednesday, October 20, 2010

#OpenGL nehe lesson01 tip on #debian #ubuntu

Download the first lesson
Linux Code For This Lesson. ( Conversion by Richard Campbell )

mkdir lesson01
$ cd lesson01/
wget http://nehe.gamedev.net/data/lessons/linux/lesson01.tar.gz
tar -zxvf lesson01.tar.gz

sudo apt-get install freeglut3-dev
apt-get install libxmu-dev
apt-get install libxi-dev

make
./lesson1
you will get a beautiful beautiful black screen

press ESC
The webgl lesson is a little bit longer and tougher
http://learningwebgl.com/blog/?p=28

No comments: