官术网_书友最值得收藏!

Summary

This chapter has covered the core concepts that are required to display images on your screen. We started by discussing the OpenGL coordinate system for a 2D game. The coordinate system allows you to place objects on the screen. This was followed by a discussion about the camera, OpenGL's way of viewing objects that appear on your screen.

Next, you learned how triangles and quads are used to create simple graphics, and how textures can be applied to these primitives to render 2D images to the screen.

You could finally see an image on your screen that has been rendered by OpenGL. As they say, a picture is worth a thousand lines of code!

In the next chapter, you will learn how to turn your still photography into moving pictures through the wonder of animation!

主站蜘蛛池模板: 玉环县| 武陟县| 奇台县| 句容市| 河东区| 正安县| 三明市| 龙里县| 许昌县| 台南县| 南宁市| 和龙市| 溧阳市| 同德县| 文登市| 山丹县| 宝山区| 吴川市| 青铜峡市| 乐清市| 大邑县| 洛阳市| 高州市| 南溪县| 牟定县| 克拉玛依市| 寻乌县| 安乡县| 万源市| 台前县| 长宁区| 晋中市| 西和县| 宜宾县| 六安市| 兴化市| 九江市| 霍林郭勒市| 体育| 南部县| 泰宁县|