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

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!

主站蜘蛛池模板: 抚州市| 台东县| 洞口县| 左云县| 大化| 南部县| 荆州市| 瓦房店市| 牟定县| 湘潭市| 方山县| 临夏市| 始兴县| 会宁县| 铅山县| 邢台县| 江西省| 舟曲县| 顺平县| 安阳市| 衡阳县| 罗平县| 康保县| 垣曲县| 环江| 漠河县| 济源市| 鹤山市| 田东县| 红原县| 洱源县| 静宁县| 墨竹工卡县| 湖北省| 山阳县| 温宿县| 从江县| 毕节市| 佛山市| 聂拉木县| 阿克苏市|