Lesson12

所属分类:OpenGL
开发工具:Visual C++
文件大小:64KB
下载次数:7
上传日期:2008-09-10 21:41:02
上 传 者hongdefa123
说明:  这次我将教你如何使用显示列表,显示列表将加快程序的速度,而且可以减少代码的长度。 当你在制作游戏里的小行星场景时,每一层上至少需要两个行星,你可以用OpenGL中的多边形来构造每一个行星。聪明点的做法是做一个循环,每个循环画出行星的一个面,最终你用几十条语句画出了一个行星。每次把行星画到屏幕上都是很困难的。当你面临更复杂的物体时你就会明白了。
(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.)

文件列表:
Data\Cube.bmp (49220, 1998-01-04)
Lesson12.cpp (20983, 2000-05-06)
Lesson12.dsp (4064, 1999-12-31)
Lesson12.dsw (541, 1999-12-31)
Lesson12.exe (49152, 2000-05-06)
HeHe OpenGL.txt (129, 2008-04-12)
Data (0, 2008-04-10)

========================================================================== OpenGL Lesson 12: Display Lists ========================================================================== Authors Name: Jeff Molofee ( NeHe ) Disclaimer: This program may crash your system or run poorly depending on your hardware. The program and code contained in this archive was scanned for virii and has passed all test before it was put online. If you use this code in project of your own, send a shout out to the author! ========================================================================== NeHe Productions 1997-2004 ==========================================================================

近期下载者

相关文件


收藏者