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

399 Commits

Author SHA1 Message Date
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
ShenMian
a59cb7ebb7 更正URL
原本的URL指向了错误的位置, 修改为正确的URL.
2021-09-26 16:46:09 +08:00
yslking
54270f6a53 修正关联词错误
原文是:as we only care about the orientation of the vectors.
表达的意思是:因为我们只关心向量的方向(而不关心向量的位置和长度),所以我们可以只使用“normal matrix”。

这里as是表达原因,而非表示转折。
2021-08-12 08:26:33 +08:00
codersun
fc35d975f3 错别字修改. 2021-06-25 15:24:32 +08:00
谭时杰
f85f54fbdb Update 07 Transformations.md 2021-06-21 00:57:09 +08:00
谭时杰
994b2801db Update 07 Transformations.md 2021-06-21 00:49:25 +08:00
Michael McQuade
38d6916c2a 移除了多余的“的” 2021-02-17 22:09:22 -06:00
LBV 2012-26
7b82b17a9c Update 04 Hello Triangle.md 2021-02-05 19:51:46 +08:00
397615103@qq.com
1047da32b4 Update 06 Textures.md 2020-09-12 19:01:36 +08:00
hybcloud
674f9cc7e6 Update 01 OpenGL.md
fix grammar mistake x1
2020-09-10 17:13:18 +08:00
Yang Ji
ad6a11a55b 修改一处用词,语义更准确 2020-09-07 22:08:03 +08:00
Tony Fox
1957ba60de Fix formatting error
Fix a formatting erro at line 111 in `06 In Pratice/2D Game/06 Particles.md`
2020-08-12 08:52:30 +08:00
cathy0612
8cfe37c6b8 misspelled 2020-03-09 23:36:37 +08:00
cathy0612
adbdbdcda5 全文原本都是使用中文标点 2020-03-09 23:34:05 +08:00
cathy0612
48e8f7394e 表述错误 2020-02-16 12:40:53 +08:00
cathy0612
fb875f5d91 Merge remote-tracking branch 'upstream/new-theme' into new-theme 2020-02-15 10:27:32 +08:00
hyc0612
10f2497361 错别字 2020-02-15 10:26:07 +08:00