eBook

Print

$54.99
Subscription

$15.99
Monthly
Download this book in **EPUB** and **PDF** formats

Access this title in our online reader with advanced features

Publication date :
Nov 30, 2022

Length
444 pages

Edition :
1st Edition

Language :
English

ISBN-13 :
9781801077330

Category :

Concepts :

Tools :

- Get acquainted with the essential mathematics needed to describe, simulate, and render 3D creations
- Construct and manipulate 3D animated environments using Python, Pygame, and PyOpenGL
- Develop vertex and fragment shaders in OpenGL shader language to speed up rendering

Mathematics is an essential skill when it comes to graphics and game development, particularly if you want to understand the generation of real-time computer graphics and the manipulation of objects and environments in a detailed way. Python, together with Pygame and PyOpenGL, provides you with the opportunity to explore these features under the hood, revealing how computers generate and manipulate 3D environments.
Mathematics for Game Programming and Computer Graphics is an exhaustive guide to getting “back to the basics” of mathematics, using a series of problem-based, practical exercises to explore ideas around drawing graphic lines and shapes, applying vectors and vertices, constructing and rendering meshes, and working with vertex shaders. By leveraging Python, Pygame, and PyOpenGL, you’ll be able to create your own mathematics-based engine and API that will be used throughout to build applications.
By the end of this graphics focussed book, you’ll have gained a thorough understanding of how essential mathematics is for creating, rendering, and manipulating 3D virtual environments and know the secrets behind today’s top graphics and game engines.

Get up and running with Python, Pycharm, Pygame, and PyOpenGL
Experiment with different graphics API drawing commands
Review basic trigonometry and how it’s important in 3D environments
Apply vectors and matrices to move, orient, and scale 3D objects
Render 3D objects with textures, colors, shading, and lighting
Work with vertex shaders for faster GPU-based rendering

Download this book in **EPUB** and **PDF** formats

Access this title in our online reader with advanced features

Publication date :
Nov 30, 2022

Length
444 pages

Edition :
1st Edition

Language :
English

ISBN-13 :
9781801077330

Category :

Concepts :

Tools :

Preface

1. Part 1 – Essential Tools

2. Chapter 1: Hello Graphics Window: You’re On Your Way

3. Chapter 2: Let’s Start Drawing

4. Chapter 3: Line Plotting Pixel by Pixel

5. Chapter 4: Graphics and Game Engine Components

6. Chapter 5: Let’s Light It Up!

7. Chapter 6: Updating and Drawing the Graphics Environment

8. Chapter 7: Interactions with the Keyboard and Mouse for Dynamic Graphics Programs

9. Part 2 – Essential Trigonometry

10. Chapter 8: Reviewing Our Knowledge of Triangles

11. Chapter 9: Practicing Vector Essentials

12. Chapter 10: Getting Acquainted with Lines, Rays, and Normals

13. Chapter 11: Manipulating the Light and Texture of Triangles

14. Part 3 – Essential Transformations

15. Chapter 12: Mastering Affine Transformations

16. Chapter 13: Understanding the Importance of Matrices

17. Chapter 14: Working with Coordinate Spaces

18. Chapter 15: Navigating the View Space

19. Chapter 16: Rotating with Quaternions

20. Part 4 – Essential Rendering Techniques

21. Chapter 17: Vertex and Fragment Shading

22. Chapter 18: Customizing the Render Pipeline

23. Chapter 19: Rendering Visual Realism Like a Pro

24. Index

25. Other Books You May Enjoy

N/A
Apr 4, 2024

Feefo Verified review

How do I buy and download an eBook?

How can I make a purchase on your website?

Where can I access support around an eBook?

What eBook formats do Packt support?

What are the benefits of eBooks?

What is an eBook?