ABSTRACT

Developing Graphics Frameworks with Python and OpenGL shows you how to create software for rendering complete three-dimensional scenes. The authors explain the foundational theoretical concepts as well as the practical programming techniques that will enable you to create your own animated and interactive computer-generated worlds.

You will learn how to combine the power of OpenGL, the most widely adopted cross-platform API for GPU programming, with the accessibility and versatility of the Python programming language. Topics you will explore include generating geometric shapes, transforming objects with matrices, applying image-based textures to surfaces, and lighting your scene. Advanced sections explain how to implement procedurally generated textures, postprocessing effects, and shadow mapping. In addition to the sophisticated graphics framework you will develop throughout this book, with the foundational knowledge you will gain, you will be able to adapt and extend the framework to achieve even more spectacular graphical results.

chapter Chapter 1|23 pages

Introduction to Computer Graphics

Size: 1.66 MB

chapter Chapter 2|58 pages

Introduction to Pygame and OpenGL

Size: 1.11 MB

chapter Chapter 3|50 pages

Matrix Algebra and Transformations

Size: 1.92 MB

chapter Chapter 4|60 pages

A Scene Graph Framework

Size: 1.80 MB

chapter Chapter 5|73 pages

Textures

Size: 2.35 MB

chapter Chapter 6|63 pages

Light and Shadow

Size: 1.82 MB