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

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!

主站蜘蛛池模板: 阳江市| 天津市| 荆门市| 临潭县| 石林| 汾阳市| 丹凤县| 乐都县| 玛曲县| 东莞市| 建昌县| 中超| 长丰县| 北川| 久治县| 宜宾市| 县级市| 当涂县| 岑巩县| 原阳县| 河曲县| 太白县| 泰顺县| 清苑县| 新丰县| 永昌县| 峨山| 应用必备| 峨眉山市| 巩留县| 泗阳县| 桑日县| 邯郸县| 准格尔旗| 休宁县| 绥中县| 成安县| 弥渡县| 罗平县| 雷波县| 会泽县|