•Figure J−6 adds shadows and textures to the previous version of the scene. Shadows aren’t an
explicitly defined feature of OpenGL (there is no "shadow command"), but you can create them yourself using the techniques described in Chapter 13 . Texture mapping allows you to apply a two−dimensional texture to a three−dimensional object. In this scene, the top on the table surface is the most vibrant example of texture mapping. The walls, floor, table surface, and top (on top of the table) are all texture mapped.
数字歼轰6条增订阴影和纹理,为先前的版本现场。阴影是不是
明确定义特征的OpenGL (不存在"幕后指挥" ) ,但你可以创造自己运用技巧描述第13章。纹理映射允许你申请一个二维纹理,以一个三维物体。在这个场景中,顶部放在桌上面,是最有活力的例子,纹理映射。墙壁,地板,工作台面,和顶部(顶部)载都是纹理映射。
明确定义特征的OpenGL (不存在"幕后指挥" ) ,但你可以创造自己运用技巧描述第13章。纹理映射允许你申请一个二维纹理,以一个三维物体。在这个场景中,顶部放在桌上面,是最有活力的例子,纹理映射。墙壁,地板,工作台面,和顶部(顶部)载都是纹理映射。
温馨提示:答案为网友推荐,仅供参考