1
0
mirror of https://github.com/LearnOpenGL-CN/LearnOpenGL-CN.git synced 2025-08-23 04:35:28 +08:00
Commit Graph

365 Commits

Author SHA1 Message Date
ryosga
9356a9a337 Update 08 Powerups.md
修改错字
2022-05-31 12:25:51 +08:00
Kang Lin
4ece309afd 校对 01-04 你好,三角形 2022-05-30 12:51:24 +08:00
ryosga
6f5474c090 Update 03 Rendering Sprites.md
删除重复语句
2022-05-30 11:53:47 +08:00
ryosga
74fd8dacf8 Update 02 Mesh.md
纹理编号是整型, 应该调用setInt
2022-05-24 20:11:38 +08:00
ryosga
518c27de3d Update 09 Geometry Shader.md
去除重复段落
2022-05-23 12:26:28 +08:00
ryosga
09bc12e3be Update 06 Multiple lights.md
勘误: 一下 -> 以下
2022-05-13 15:47:44 +08:00
Gary Wang
3fe904ab8b Merge pull request #241 from ryosga/patch-2
Update 05 Light casters.md
2022-05-12 22:15:32 +08:00
ryosga
34a7b90529 Update 05 Light casters.md
勘误: direction  -> position
2022-05-12 20:23:48 +08:00
ryosga
ed97fa6caa Update 02 Basic Lighting.md
光源时静止的 -> 光源是静止的
2022-05-12 20:21:54 +08:00
Gary Wang
a9d2f4d95b Merge pull request #214 from lihenair/patch-1
Update 05 Light casters.md
2022-05-08 19:45:03 +08:00
Gary Wang
8d659cd5aa Merge pull request #236 from weiwen1990/patch-6
翻译准确性
2022-05-08 19:41:33 +08:00
Gary Wang
b54e12d5a7 Merge pull request #225 from LJHG/new-theme
fix typo
2022-05-04 00:03:06 +08:00
Gary Wang
09c3ffc8fe Merge pull request #233 from weiwen1990/patch-3
改进翻译
2022-05-03 01:54:27 +08:00
Gary Wang
e1a1b1fdc0 Merge pull request #232 from weiwen1990/patch-2
翻译更准确
2022-05-01 23:10:02 +08:00
WEI Wen
6d1b29fe70 翻译准确性
对照原文调整,补全一部分遗漏。
2022-04-28 19:48:20 +08:00
WEI Wen
c17e66b3ce 翻译准确性
surface翻译为表面,以及其他少量与原文偏差的地方。
2022-04-26 15:31:10 +08:00
WEI Wen
86c9e6b6d4 改进翻译
根据原文Specular Lighting部分,改进翻译,修改了几处翻译错误。
2022-04-26 01:19:15 +08:00
WEI Wen
bdb13b5f97 翻译更准确
原文:
Inversing matrices is a costly operation for shaders, so wherever possible try to avoid doing inverse operations since they have to be done on each vertex of your scene. For learning purposes this is fine, but for an efficient application you'll likely want to calculate the normal matrix on the CPU and send it to the shaders via a uniform before drawing (just like the model matrix).
In the diffuse lighting section the lighting was fine because we didn't do any scaling on the object, so there was not really a need to use a normal matrix and we could've just multiplied the normals with the model matrix. If you are doing a non-uniform scale however, it is essential that you multiply your normal vectors with the normal matrix.
2022-04-25 18:56:33 +08:00
WEI Wen
cf5ac876a7 翻译更准确
The normal matrix is defined as 'the transpose of the inverse of the upper-left 3x3 part of the model matrix'.
2022-04-25 17:01:24 +08:00
XiongYouliang
a15f337fa5 添加‘它’,指代前文的‘向量’。 2022-04-11 13:01:29 +08:00
LJHG
db8e8015fc fix typo 2022-03-20 16:30:34 +08:00
Dean
6fb42f39a8 fix typo 2022-03-17 11:01:46 +08:00
jjiangaj
5798d02a21 Update 09 Camera.md 2022-03-05 14:10:52 +08:00
krasjet
bbc32e5452 switch to local mathjax, take 2 2022-03-01 05:20:20 +00:00
krasjet
80d2e26c56 switch to local mathjax 2022-03-01 04:32:43 +00:00
Sefank
43bfe68ae3 Image file Delete on 01-02
同步原文,删除图片文件
2022-02-20 22:43:44 +08:00
Sefank
2d27df4181 Image deleted confirm on 01-02
同步原文,确认删除图片
2022-02-20 22:42:37 +08:00
Sefank
94d861595f Update Images needed for new version of 01-02
同步原文图片
2022-02-20 22:03:15 +08:00
Sefank
7a1573fed6 Update 02 Creating a window.md
更新至于原文同步
2022-02-20 21:57:21 +08:00
JeremyYv
36cbf216be fix empty link 2022-02-15 14:53:56 +08:00
ShenMian
0cf780d6f7 修复翻译错误 2022-02-14 23:44:54 +08:00
James Taylor
8e9117da6e Update 05 Shaders.md 2022-02-06 15:26:04 +08:00
lihenair
554df1e320 Update 05 Light casters.md
修改计算错误
2022-01-28 19:59:48 +08:00
squid233
a5537d7da6 Fixed solution links 2022-01-21 17:35:38 +08:00
coppx
fc17ccb271 修改错字 2021-12-30 09:59:31 +08:00
coppx
c17ddce762 fix alpha typo 2021-12-26 21:34:58 +08:00
JeremyYv
044860c14d bugfix: 更新Assimp库下载链接
原链接已失效
2021-12-16 15:32:45 +08:00
JeremyYv
f2f39b9577 Update 07 Transformations.md
修改语句通顺
2021-12-14 15:33:32 +08:00
coppx
d7c509abf2 修改关于Normal Distribution Function的翻译2 2021-12-07 09:14:08 +08:00
coppx
84a681b1e5 修改关于Normal Distribution Function的翻译 2021-12-06 09:23:06 +08:00
Changsheng Zhu
d7a6a7cde3 改正错别字 2021-11-24 10:29:03 +08:00
Changsheng Zhu
ed2344d6d6 改正错别字 2021-11-24 10:22:06 +08:00
JeremyYv
3e2ce82715 Update 03 Blending.md 2021-10-29 20:35:38 +08:00
JeremyYv
437744904b Update 03 Blending.md
默认透明度修正
2021-10-28 23:44:24 +08:00
supdrewin
2e8e6142b7 Update Linked Library for Linux
Add `-ldl` for `glad` and remove `-lGLEW`.
2021-10-21 14:42:42 +08:00
Gary Wang
2d41cb4d33 Merge pull request #189 from Devilsparta/new-theme
fix: 更多的3D -> 更3D, 原文中这里是在面片在3D中展示之后呈现这一章,旨在引出3D物体
2021-10-11 12:42:14 +08:00
张浩
26f1d2340a fix: 修改 更3D -> 更加 3D,使标题更可读,
上下文更连贯
2021-10-10 19:35:19 +08:00
Gary Wang
02c2c0988f Merge pull request #183 from augsun/new-theme
错别字修改.
2021-10-09 12:44:10 +08:00
devilsparta
012996df2c fix: 更多的3D -> 更3D, 原文中这里是在面片在3D中展示之后呈现这一章,旨在引出3D物体 2021-10-06 18:04:25 +08:00
Caden Ji
76b45b5492 Update the code in 01-05
Replace 'GLchar' with 'char' to be consistent with the original English article.
2021-10-06 16:08:39 +08:00