Introduction - If you have any usage issues, please Google them yourself
This time I will teach you how to use the display list, display list will speed up the process speed, and can reduce the length of the code. When you are in the production of game scene when the asteroid, every level requires at least two planets, you can use OpenGL s polygon to construct each of the planets. Smart point is to do a cycle, each cycle of the planet to draw a face, eventually you use dozens of statements to draw a planet. Every time the planets are drawn to the screen very difficult. When you are faced with more complex objects you ll understand.
Packet : 7941958lesson12.rar filelist
Data\Cube.bmp
Lesson12.cpp
Lesson12.dsp
Lesson12.dsw
Lesson12.exe
NeHe's Readme.txt
HeHe OpenGL.txt
Data