计算机图形学从零开始 (2021)
Computer Graphics from Scratch (2021)

原始链接: https://www.gabrielgambetta.com/computer-graphics-from-scratch/index.html

最新动画电影的精美画面和热门电子游戏的真实环境背后,隐藏着一些神秘的算法。《从零开始的计算机图形学》旨在揭开这些算法的神秘面纱,并向你展示计算机图形学可以出乎意料地简单。这本内容广泛的入门书籍为你概述了计算机图形学领域,重点介绍现代图形学的两个核心领域:光线追踪和光栅化。全书穿插的交互式演示链接让算法活了起来。每个算法都是在不使用外部库或 API 的情况下构建的,并以与语言无关的伪代码呈现,让任何具备基本编程知识和高中数学基础的人都能跟上。

Hacker News 用户讨论《Computer Graphics from Scratch》(2021)。一位评论者批评它忽略了齐次空间中的裁剪,并推荐 Foley/van Dam。另一位询问关于坐标轴、坐标范围、局部/世界空间和矩阵变换的初学者问题。一个回复解释了常见约定,如 y 向上、透视视锥体、视图/裁剪/NDC/屏幕空间,以及归一化到 [-1,1],并指出模型空间不必归一化。该初学者随后询问不使用图形 API 的渲染从零开始资源;回复者建议原始教程、一个软件渲染器项目、Scratchapixel 和两个链接项目,同时指出没有单一的全能教程。另一位用户称赞该教程及其 No Starch Press 书籍。
相关文章

原文

Behind the beautiful imagery of the latest animated movie and the realistic environments of popular videogames lie some mysterious algorithms. Computer Graphics from Scratch aims to demystify these algorithms and shows you that computer graphics can be surprisingly simple.

This broad introductory book gives you an overview of the computer graphics field with a focus on two core areas of modern graphics: raytracing and rasterization. Links to interactive demos throughout bring the algorithms alive. Every algorithm is built up without the use of external libraries or APIs and is presented with language agnostic pseudocode, allowing anyone with a basic understanding of programming and high school math to follow along.

联系我们 contact @ memedata.com