Skip to content

Commit fe2bd0d

Browse files
authored
Color Management: Documentation (mrdoob#23430)
* Color Management: Documentation * Color Management: Clean up documentation * Documentation: Add color space constants. * Color management: Documentation revisions. * Color Management: Remove unused illustration. * Color Management: Revisions to documentation. * Color Management: Documentation should use title case.
1 parent 775748d commit fe2bd0d

File tree

6 files changed

+428
-19
lines changed

6 files changed

+428
-19
lines changed

docs/api/en/constants/Core.html

+31-7
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,43 @@ <h1>Core Constants</h1>
1212
<h2>Revision Number</h2>
1313

1414
<code>
15-
THREE.REVISION
15+
THREE.REVISION
1616
</code>
1717

1818
<div id="rev">
1919
The current three.js [link:https://github.com/mrdoob/three.js/releases revision number].
2020
</div>
2121

22-
<h2>Mouse Buttons</h2>
23-
<code>
24-
THREE.MOUSE.LEFT
25-
THREE.MOUSE.MIDDLE
26-
THREE.MOUSE.RIGHT
27-
</code>
22+
<h2>Color Spaces</h2>
23+
<code>
24+
THREE.SRGBColorSpace
25+
THREE.LinearSRGBColorSpace
26+
</code>
27+
28+
<p>
29+
[page:SRGBColorSpace] (“sRGB”) refers to the color space defined by the Rec. 709 primaries, D65
30+
white point, and nonlinear sRGB transfer functions. sRGB is the default color space in
31+
CSS, and is often found in color palettes and color pickers. Colors expressed in
32+
hexadecimal or CSS notation are typically in the sRGB color space.
33+
</p>
34+
35+
<p>
36+
[page:LinearSRGBColorSpace] (“Linear-sRGB”) refers to the sRGB color space (above) with
37+
linear transfer functions. Linear-sRGB is the working color space in three.js, used
38+
throughout most of the rendering process. RGB components found in three.js materials
39+
and shaders are in the Linear-sRGB color space.
40+
D</p>
41+
42+
<p>
43+
For further background and usage, see <i>Color management</i>.
44+
</p>
45+
46+
<h2>Mouse Buttons</h2>
47+
<code>
48+
THREE.MOUSE.LEFT
49+
THREE.MOUSE.MIDDLE
50+
THREE.MOUSE.RIGHT
51+
</code>
2852

2953
<h2>Source</h2>
3054

docs/api/ko/constants/Core.html

+30-6
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,36 @@ <h2>리비전 번호</h2>
1919
three.js의 현재 리비전 번호([link:https://github.com/mrdoob/three.js/releases revision number]).
2020
</div>
2121

22-
<h2>마우스 버튼</h2>
23-
<code>
24-
THREE.MOUSE.LEFT
25-
THREE.MOUSE.MIDDLE
26-
THREE.MOUSE.RIGHT
27-
</code>
22+
<h2>Color Spaces</h2>
23+
<code>
24+
THREE.SRGBColorSpace
25+
THREE.LinearSRGBColorSpace
26+
</code>
27+
28+
<p>
29+
[page:SRGBColorSpace] (“sRGB”) refers to the color space defined by the Rec. 709 primaries, D65
30+
white point, and nonlinear sRGB transfer functions. sRGB is the default color space in
31+
CSS, and is often found in color palettes and color pickers. Colors expressed in
32+
hexadecimal or CSS notation are typically in the sRGB color space.
33+
</p>
34+
35+
<p>
36+
[page:LinearSRGBColorSpace] (“Linear-sRGB”) refers to the sRGB color space (above) with
37+
linear transfer functions. Linear-sRGB is the working color space in three.js, used
38+
throughout most of the rendering process. RGB components found in three.js materials
39+
and shaders are in the Linear-sRGB color space.
40+
D</p>
41+
42+
<p>
43+
For further background and usage, see <i>Color management</i>.
44+
</p>
45+
46+
<h2>마우스 버튼</h2>
47+
<code>
48+
THREE.MOUSE.LEFT
49+
THREE.MOUSE.MIDDLE
50+
THREE.MOUSE.RIGHT
51+
</code>
2852

2953
<h2>소스 코드</h2>
3054

docs/api/zh/constants/Core.html

+30-6
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,36 @@ <h2>修订版本号</h2>
1919
当前three.js的修订版本号( [link:https://github.com/mrdoob/three.js/releases revision number])。
2020
</div>
2121

22-
<h2>鼠标按钮</h2>
23-
<code>
24-
THREE.MOUSE.LEFT
25-
THREE.MOUSE.MIDDLE
26-
THREE.MOUSE.RIGHT
27-
</code>
22+
<h2>Color Spaces</h2>
23+
<code>
24+
THREE.SRGBColorSpace
25+
THREE.LinearSRGBColorSpace
26+
</code>
27+
28+
<p>
29+
[page:SRGBColorSpace] (“sRGB”) refers to the color space defined by the Rec. 709 primaries, D65
30+
white point, and nonlinear sRGB transfer functions. sRGB is the default color space in
31+
CSS, and is often found in color palettes and color pickers. Colors expressed in
32+
hexadecimal or CSS notation are typically in the sRGB color space.
33+
</p>
34+
35+
<p>
36+
[page:LinearSRGBColorSpace] (“Linear-sRGB”) refers to the sRGB color space (above) with
37+
linear transfer functions. Linear-sRGB is the working color space in three.js, used
38+
throughout most of the rendering process. RGB components found in three.js materials
39+
and shaders are in the Linear-sRGB color space.
40+
D</p>
41+
42+
<p>
43+
For further background and usage, see <i>Color management</i>.
44+
</p>
45+
46+
<h2>鼠标按钮</h2>
47+
<code>
48+
THREE.MOUSE.LEFT
49+
THREE.MOUSE.MIDDLE
50+
THREE.MOUSE.RIGHT
51+
</code>
2852

2953
<h2>源代码</h2>
3054

docs/list.json

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"Drawing lines": "manual/en/introduction/Drawing-lines",
1313
"Creating text": "manual/en/introduction/Creating-text",
1414
"Loading 3D models": "manual/en/introduction/Loading-3D-models",
15+
"Color management": "manual/en/introduction/Color-management",
1516
"Libraries and Plugins": "manual/en/introduction/Libraries-and-Plugins",
1617
"FAQ": "manual/en/introduction/FAQ",
1718
"Useful links": "manual/en/introduction/Useful-links"

0 commit comments

Comments
 (0)