按年被提到
20152024 · 13 次2026
开源书›图形与游戏·No.33

Learn OpenGL

学习 OpenGL
Joey de Vries

从零学现代 OpenGL,含光照、PBR 与延迟渲染

免费阅读 ↗
被推荐 · 53 人首次 2015-06-21 · 最近 2026-07-23官方免费在线(版权保留,作者或出版社免费放出)
53不同的人
46活跃月份
28有推荐的月份
58讨论串

Joey de Vries 的在线教程,用 C++ 和 GLFW 从创建窗口讲起,一步步到基于着色器的现代 OpenGL,包括摄像机、光照、模型加载以及阴影映射、延迟渲染和 PBR 等高级主题。每章配有图示和完整源码,循序渐进。它是官方免费在线阅读的网站,没有开放许可。与偏数学理论的图形学教材相比,更偏实践,适合边写边学。

HN 为什么推荐它

HN 上的人把它当作学图形编程最常推荐的资源,说它从基础讲起、解释清楚,PBR 部分也常被引用,学完后能把知识迁移到其他图形 API。

难度 3 / 5约 40 小时
适合谁

想入门图形编程、会写 C++ 的人

读之前最好知道
1C++ 基础
2线性代数(向量与矩阵)

怎么读

由 Claude 根据这本书和 HN 上的说法整理,可能有错
  1. 1从入门部分的窗口、着色器和纹理开始,按顺序读
  2. 2每章都自己敲代码跑通,不要只复制
  3. 3读完光照部分后再看模型加载和高级主题
  4. 4想了解背后数学时配合图形学理论书看

HN 书评

推荐在前,同类按时间 · 每本最多保留 20 条,统计用全部提及 · 作者本人贴的不算
推荐cpcat · 2016-06

“Take a look at these sources for absolute beginners.”

列为绝对初学者了解图形学的资料
Ask HN: Best place to learn GPU programing?原评论 ↗
推荐Jare · 2017-06

“Online resources, the free Learn OpenGL and the $10 (链接) are both fantastic.”

称这本免费的书和另一本十美元的教程都非常棒
Ask HN: What are the best books on modern computer graphics?原评论 ↗
推荐Zolomon · 2017-11

“There are several sites that teach OpenGL, which is one of the main APIs today:”

列为学习 OpenGL 的网站之一
Show HN: 3D Game Programming using bitblting in Windows原评论 ↗
推荐valine · 2018-08

“The PBR tutorial series on LearnOpenGL.com covers a lot of the concepts implemented here like physically based BRDFs and HDR lighting, if anyone is looking for more resources like this.”

推荐其 PBR 系列,涵盖 BRDF 与 HDR 光照等概念
Filament: Physically-based rendering engine原评论 ↗
推荐fsloth · 2018-08

“With C++ both OpenGL and Vulkan have excellent didactic material, including:”

列为 C++ 下 OpenGL 的优秀教学材料之一
Is Rails still relevant in 2018?原评论 ↗
推荐robko · 2019-01

“For something a bit more modern, I'd recommend [0]”

推荐它作为更现代的 OpenGL 学习资料
How to Start Learning Computer Graphics Programming原评论 ↗
看全部 20 条 →
推荐Entalpi · 2019-01

“OpenGL stuff are usually found at docs.gl, Learn OpenGL.”

列为 OpenGL 学习资源之一
How to Start Learning Computer Graphics Programming原评论 ↗
推荐winterismute · 2019-02

“Learn OpenGL is decent enough from what I have seen.”

称就所见它足够不错,可用来入门 OpenGL 光栅化
Vulkan Raytracing Tutorials原评论 ↗
推荐tomjakubowski · 2019-02

“LearnOpenGL.com's tutorials are where I learned it from.”

说自己是从它学会 3D 基础的,如相机和顶点管线
Vulkan Raytracing Tutorials原评论 ↗
推荐bryanphe · 2019-04

“the LearnOpenGL tutorial series [2] is excellent, and uses GLFW for managing a window and getting an OpenGL context.”

称这个教程系列很棒,用 GLFW 管理窗口和 OpenGL 上下文
GLFW 3.3 Is Released原评论 ↗
推荐sam0x17 · 2019-08

“this is a pretty damn good tutorial for learning how to write shaders in opengl: Learn OpenGL”

称它是学写 OpenGL shader 相当好的教程
Ask HN: Your favourite tutorial for total beginners?原评论 ↗
推荐fesoliveira · 2020-02

“I recommend using the fantastic Learn OpenGL site. It goes through the basics of OpenGL from ground-up”

推荐它从零讲 OpenGL,含 shadow mapping、deferred shading
Ray Tracing Essentials, Part 1: Basics of Ray Tracing原评论 ↗
推荐blcArmadillo · 2020-05

“If someone is looking for a resource to help learn OpenGL, I found Learn OpenGL extremely helpful.”

说它对学 OpenGL 极有帮助
Point of WebGPU on Native原评论 ↗
推荐bl0b · 2020-08

“When I was learning 3D graphics, I found this site an excellent resource.”

称学 3D 图形时它是优秀资源,深入讲了 look-at 函数
Unlearn rotation matrices as rotations原评论 ↗
推荐gens · 2020-12

“This is good. The rest is more of theory.”

称它是实用的 3D 渲染入门,其余更偏理论
Hallucinations re: the rendering of Cyberpunk 2077原评论 ↗
推荐pfranz · 2020-12

“Learn OpenGL -- For learning modern OpenGL”

推荐它用来学现代 OpenGL
Learn 3D Computer Graphics Programming from Scratch原评论 ↗
推荐zffr · 2021-02

“If you do want to use OpenGL, I found these to be good resources: (链接) and Learn OpenGL”

把它列为学 OpenGL 的好资源之一
Ask HN: How to self-learn graphics programming?原评论 ↗
推荐sneeuwpopsneeuw · 2021-04

“Together with Learn OpenGL I learned most I know about graphics.”

说自己的图形学知识大多靠它和另一份资料学来
3D Game Shaders for Beginners原评论 ↗
推荐gfxgirl · 2022-07

“I don't know a good place to recommend to use more common techniques. A few though would be”

列出它作为常见 GPU shader 技巧的学习来源
The Book of Shaders (2015)原评论 ↗
推荐lyptt · 2022-11

“I found graphics programming impenetrable until I found Learn OpenGL. Going through the articles there was enough for me to feel comfortable working in all the other graphics APIs, even Vulkan.”

说它让自己读懂图形编程,所学可迁移到 Vulkan 等其他 API
Ask HN: Do you recall any book or course that made a topic finally click?原评论 ↗