原创文章,转载请注明: 转载自慢慢的回味
本文链接地址: Lesson 6 Texture Mapping
You asked for it, so here it is… Texture Mapping!!! In this tutorial I will teach you how to map a bitmap image onto the six sides of a cube. We’ll use the GL code from lesson one to create this project. It’s easier to start with an empty GL window than to modify the last tutorial. You’ll find the code from lesson one is extremely valuable when it comes to developing a project quickly. The code in lesson one sets everything up for you, all you have to do is concentrate on programming the effect(s).本作品采用知识共享署名 4.0 国际许可协议进行许可。