Computer Graphics from Scratch explains raytracing and rasterization in pseudocode
This is not a news event but a book's landing page: Computer Graphics from Scratch, on gabrielgambetta.com. The page opens with a hook. Behind the imagery of the latest animated movie and the realistic environments of popular videogames lie "mysterious algorithms". The book says it aims to demystify them and to show that computer graphics can be surprisingly simple.
It describes itself as a broad introductory book that gives an overview of the computer graphics field, with a focus on two core areas of modern graphics: raytracing and rasterization. Links to interactive demos run throughout and are meant to bring the algorithms alive.
The teaching approach is spelled out. Every algorithm is built up without external libraries or APIs. Each is presented in language-agnostic pseudocode. That lets anyone with a basic understanding of programming and high school math follow along. The page repeats the promise in one line: the book demystifies the algorithms used in modern graphics software with basic programming and high school math.
The table of contents shows two parts, Part I: Raytracing and Part II: Rasterization. The chapters listed are Lines, Filled Triangles, Shaded Triangles, Perspective Projection, Describing and Rendering a Scene, Clipping, Hidden Surface Removal, Shading, Textures, and Extending the Rasterizer.
Key facts
- Computer Graphics from Scratch is a broad introductory book on the computer graphics field.
- It focuses on two core areas of modern graphics: raytracing and rasterization.
- Every algorithm is built up without external libraries or APIs and is written in language-agnostic pseudocode.
- Links to interactive demos appear throughout the book.
- Readers need only a basic understanding of programming and high school math.
Why it matters
The book goes after a common mystery: how animated movies and videogames produce their imagery. Its answer is that the algorithms behind them can be surprisingly simple. Starting from raytracing and rasterization, the two areas it focuses on, it gives a reader the core of modern graphics without a heavy toolchain.
Who it affects
The page targets anyone with a basic understanding of programming and high school math. That covers programmers curious about how graphics software works, without needing prior graphics experience.
How to use it
Read it as a guided tour. The page presents each algorithm in language-agnostic pseudocode, so you can implement it in whatever language you like. Interactive demos are linked throughout the book for trying the ideas. The table of contents runs from Lines and Filled Triangles through Perspective Projection, Clipping, Hidden Surface Removal, Shading and Textures to Extending the Rasterizer.
How solid is it
The source is the book's own landing page, so everything above is the book's description of itself. It is a description and table of contents, not a review or an independent assessment. The page text names no author.
Risks and caveats
The page does not say whether the book is free, paid, or available online or in print. No publication date, publisher, edition or price is given in the text, and the 2021 in the headline we received is not confirmed by the page. No chapter list is shown under Part I: Raytracing in the crawled text. No programming language for the demos is named.
“Computer Graphics from Scratch aims to demystify these algorithms and shows you that computer graphics can be surprisingly simple.”
— Book description, gabrielgambetta.com