学习如何映射有很多好处。我们说你想要一个导弹…
代码说明:
光照和键盘控制: 添加光照和键盘控制,它让程序看起来更美观。 -Learning how to texture map has many benefits. Lets say you wanted a missile to fly across the screen. Up until this tutorial we d probably make the entire missile out of polygons, and fancy colors. With texture mapping, you can take a real picture of a missile and make the picture fly across the screen. Which do you think will look better? A photograph or an object made up of triangles and squares? By using texture mapping, not only will it look better, but your program will run faster. The texture mapped missile would only be one quad moving across the screen. A missile made out of polygons could be made up of hundreds or thousands of polygons. The single texture mapped quad will use alot less processing power.
下载说明:请别用迅雷下载,失败请重下,重下不扣分!