language
stringclasses
1 value
owner
stringlengths
2
15
repo
stringlengths
2
21
sha
stringlengths
45
45
message
stringlengths
7
36.3k
path
stringlengths
1
199
patch
stringlengths
15
102k
is_multipart
bool
2 classes
Other
mrdoob
three.js
fbac88d731b85fc9b25c69ce7161edd2566ed40c.json
remove references to XXXBufferGeometry
threejs/lessons/ja/threejs-primitives.md
@@ -25,51 +25,32 @@ Three.jsใฏๅคšใใฎใƒ—ใƒชใƒŸใƒ†ใ‚ฃใƒ–ใŒใ‚ใ‚Šใพใ™ใ€‚ ใใฎใŸใ‚ใ€ๅฟ…่ฆใซๅฟœใ˜ใฆใ€ไธŠๆ‰‹ใไฝฟใ„ๅˆ†ใ‘ใ‚‹ใ“ใจใŒใงใใพใ™ใ€‚ -<div id="Diagram-BoxBufferGeometry" data-primitive="BoxBufferGeometry">็ซ‹ๆ–นไฝ“</div> -<div id="Diagram-CircleBufferGeometry" data-primitive="CircleBufferGeometry">2ๆฌกๅ…ƒใฎๅ††</div> -<div id="Diagram-ConeBufferGeometry" data-primitive="ConeBufferGeome...
true
Other
mrdoob
three.js
fbac88d731b85fc9b25c69ce7161edd2566ed40c.json
remove references to XXXBufferGeometry
threejs/lessons/kr/threejs-primitives.md
@@ -22,59 +22,32 @@ Three.js์—๋Š” ๋‹ค์–‘ํ•œ ์›์‹œ ๋ชจ๋ธ์ด ์žˆ์Šต๋‹ˆ๋‹ค. ๋จผ์ € Three.js์˜ ์› ์•ž์œผ๋กœ ์†Œ๊ฐœํ•  ์›์‹œ ๋ชจ๋ธ๋“ค์€ ๋Œ€๋ถ€๋ถ„ ๊ธฐ๋ณธ๊ฐ’์ด ์žˆ์œผ๋ฏ€๋กœ ํ•„์š”์— ๋”ฐ๋ผ ์ธ์ž๋ฅผ ๋„ฃ์–ด์ฃผ๋ฉด ๋ฉ๋‹ˆ๋‹ค. -<div id="Diagram-BoxBufferGeometry" data-primitive="BoxBufferGeometry">์œก๋ฉด์ฒด(Box)</div> -<div id="Diagram-CircleBufferGeometry" data-primitive="CircleBufferGeometry">์›(flat circle)</div> -<div id="Diagra...
true
Other
mrdoob
three.js
fbac88d731b85fc9b25c69ce7161edd2566ed40c.json
remove references to XXXBufferGeometry
threejs/lessons/resources/threejs-primitives.js
@@ -19,7 +19,7 @@ import {threejsLessonUtils} from './threejs-lesson-utils.js'; }); const diagrams = { - BoxBufferGeometry: { + BoxGeometry: { ui: { width: { type: 'range', min: 1, max: 10, precision: 1, }, height: { type: 'range', min: 1, max: 10, precision: 1, }, @@ -29,30 +29,3...
true
Other
mrdoob
three.js
fbac88d731b85fc9b25c69ce7161edd2566ed40c.json
remove references to XXXBufferGeometry
threejs/lessons/ru/threejs-primitives.md
@@ -18,59 +18,31 @@ Three.js ะธะผะตะตั‚ ะฑะพะปัŒัˆะพะต ะบะพะปะธั‡ะตัั‚ะฒะพ ะฟั€ะธะผะธั‚ะธะฒะพะฒ. ะŸ ัะพะทะดะฐะฝะธะต ะธ ะทะฐะณั€ัƒะทะบัƒ ะดะฐะฝะฝั‹ั… ะธะท ะฝะตัะบะพะปัŒะบะธั… ะฟั€ะพะณั€ะฐะผะผ 3D-ะผะพะดะตะปะธั€ะพะฒะฐะฝะธั. ะ ัะตะนั‡ะฐั ะดะฐะฒะฐะนั‚ะต ั€ะฐััะผะพั‚ั€ะธะผ ะฝะตะบะพั‚ะพั€ั‹ะต ะธะท ะดะพัั‚ัƒะฟะฝั‹ั… ะฟั€ะธะผะธั‚ะธะฒะพะฒ. -<div id="Diagram-BoxBufferGeometry" data-primitive="BoxBufferGeometry">ะŸั€ัะผะพัƒะณะพะปัŒะฝั‹ะน ะฟะฐั€ะฐะปะปะตะปะตะฟะธะฟะตะด</div> -<div id=...
true
Other
mrdoob
three.js
fbac88d731b85fc9b25c69ce7161edd2566ed40c.json
remove references to XXXBufferGeometry
threejs/lessons/threejs-primitives.md
@@ -24,62 +24,32 @@ primitives. Many of the primitives below have defaults for some or all of their parameters so you can use more or less depending on your needs. -<div id="Diagram-BoxBufferGeometry" data-primitive="BoxBufferGeometry">A Box</div> -<div id="Diagram-CircleBufferGeometry" data-primitive="CircleBuffer...
true
Other
mrdoob
three.js
fbac88d731b85fc9b25c69ce7161edd2566ed40c.json
remove references to XXXBufferGeometry
threejs/lessons/zh_cn/threejs-primitives.md
@@ -18,27 +18,27 @@ Three.js ๆœ‰ๅพˆๅคšๅ›พๅ…ƒใ€‚ๅ›พๅ…ƒๅฐฑๆ˜ฏไธ€ไบ› 3D ็š„ๅฝข็Šถ๏ผŒๅœจ่ฟ่กŒๆ—ถๆ นๆฎ ไธ‹้ข็š„ๅพˆๅคšๅ›พๅ…ƒ้ƒฝๆœ‰้ป˜่ฎค็š„้ƒจๅˆ†ๆˆ–่€…ๅ…จ้ƒจๅ‚ๆ•ฐ๏ผŒๆ‰€ไปฅๅฏไปฅๆ นๆฎไฝ ็š„้œ€่ฆ้€‰ๆ‹ฉไฝฟ็”จใ€‚ -<div id="Diagram-BoxBufferGeometry" data-primitive="BoxBufferGeometry">็›’ๅญ</div> -<div id="Diagram-CircleBufferGeometry" data-primitive="CircleBufferGeometry">ๅนณ้ขๅœ†</div> -<div id="Diagram-ConeBufferGeometry" data-primitive=...
true
Other
mrdoob
three.js
d3187f287817d1eeb05904ef762be9e3848e7a6d.json
translate threejs lights to zh-cn
threejs/lessons/zh_cn/threejs-lights.md
@@ -0,0 +1,488 @@ +Title: Three.js ๅ…‰็…ง +Description: ่ฎพ็ฝฎๅ…‰็…ง +TOC: ๅ…‰็…ง + +ๆœฌๆ–‡ๆ˜ฏๅ…ณไบŽ three.js ็ณปๅˆ—ๆ–‡็ซ ็š„ไธ€้ƒจๅˆ†ใ€‚็ฌฌไธ€็ฏ‡ๆ–‡็ซ ๆ˜ฏ [three.js ๅŸบ็ก€](threejs-fundamentals.html)ใ€‚ๅฆ‚ๆžœไฝ ่ฟ˜ๆฒก็œ‹่ฟ‡่€Œไธ”ๅฏนthree.js ่ฟ˜ไธ็†Ÿๆ‚‰๏ผŒ้‚ฃๅบ”่ฏฅไปŽ้‚ฃ้‡Œๅผ€ๅง‹๏ผŒๅนถไธ”ไบ†่งฃๅฆ‚ไฝ•[่ฎพ็ฝฎๅผ€ๅ‘็Žฏๅขƒ](threejs-setup.html)ใ€‚ไธŠไธ€็ฏ‡ๆ–‡็ซ ไป‹็ปไบ† three.js ไธญ็š„ [็บน็†](threejs-textures.html)ใ€‚ + +ๆŽฅไธ‹ๆฅๆˆ‘ไปฌๅญฆไน ๅฆ‚ไฝ•ๅœจ three.js ไธญไฝฟ็”จๅ„็งไธๅŒ็ฑปๅž‹็š„ๅ…‰็…งใ€‚ + +ๅœจไธ€ไธชๅŸบๆœฌๅœบๆ™ฏ็š„ๅŸบ็ก€ไธŠ๏ผŒๆˆ‘ไปฌ่ฐƒๆ•ดไธ€ไธ‹็›ธๆœบ็š„...
false
Other
mrdoob
three.js
aec64e4f48dc806cf4bb21083ff3a60a3b056daf.json
Add userData property (issue #20621)
src/materials/Material.d.ts
@@ -53,6 +53,7 @@ export interface MaterialParameters { stencilFail?: StencilOp; stencilZFail?: StencilOp; stencilZPass?: StencilOp; + userData?: any; } /**
false
Other
mrdoob
three.js
0fd9764f82ffe812768378ad268925992f2dc643.json
Fix improper SnakeCase.
src/math/Matrix3.d.ts
@@ -1,7 +1,7 @@ import { Matrix4 } from './Matrix4'; import { Vector3 } from './Vector3'; -type Matrix3tuple = [ +type Matrix3Tuple = [ number, number, number, number, number, number, number, number, number, @@ -131,7 +131,7 @@ export class Matrix3 implements Matrix { * @return The created or provided arra...
true
Other
mrdoob
three.js
0fd9764f82ffe812768378ad268925992f2dc643.json
Fix improper SnakeCase.
src/math/Matrix4.d.ts
@@ -3,7 +3,7 @@ import { Euler } from './Euler'; import { Quaternion } from './Quaternion'; import { Matrix } from './Matrix3'; -type Matrix4tuple = [ +type Matrix4Tuple = [ number, number, number, number, number, number, number, number, number, number, number, number, @@ -243,7 +243,7 @@ export class Matrix4...
true
Other
mrdoob
three.js
0fd9764f82ffe812768378ad268925992f2dc643.json
Fix improper SnakeCase.
src/math/Vector3.d.ts
@@ -9,7 +9,7 @@ import { BufferAttribute } from './../core/BufferAttribute'; import { InterleavedBufferAttribute } from './../core/InterleavedBufferAttribute'; import { Vector } from './Vector2'; -type Vector3tuple = [number, number, number]; +type Vector3Tuple = [number, number, number]; /** * 3D vector. @@ -...
true
Other
mrdoob
three.js
0fd9764f82ffe812768378ad268925992f2dc643.json
Fix improper SnakeCase.
src/math/Vector4.d.ts
@@ -4,7 +4,7 @@ import { Matrix3 } from './Matrix3'; import { BufferAttribute } from './../core/BufferAttribute'; import { Vector } from './Vector2'; -type Vector4tuple = [number, number, number, number]; +type Vector4Tuple = [number, number, number, number]; /** * 4D vector. @@ -213,7 +213,7 @@ export class V...
true
Other
mrdoob
three.js
2f5fe01ba4444d11c605d546ed0839f3de0e96af.json
update rounded box uvs
examples/jsm/geometries/RoundedBoxBufferGeometry.js
@@ -28,6 +28,10 @@ class RoundedBoxBufferGeometry extends BoxBufferGeometry { const uvs = this.attributes.uv.array; const faceTris = positions.length / 6; + const arcLength = 2 * Math.PI * radius / 4; + const widthLength = Math.max( width - 2 * radius, 0 ); + const heightLength = Math.max( height - 2 * radiu...
false
Other
mrdoob
three.js
48a6b71bc3212c22bf34267de7d0d5e030e80e28.json
Fix typo in threejs-scenegraph (#137)
threejs/lessons/threejs-scenegraph.md
@@ -226,7 +226,7 @@ objects.push(earthMesh); Again we added more invisible scene graph nodes. The first, an `Object3D` called `earthOrbit` and added both the `earthMesh` and the `moonOrbit` to it, also new. We then added the `mooMesh` -to the `moonRobit`. The new scene graph looks like this. +to the `moonOrbit`. Th...
false
Other
mrdoob
three.js
9bf79c0c65f195cdeddaa4a72e217cf705187999.json
fix moonOrbit diagram/code
threejs/lessons/resources/images/scenegraph-sun-earth-moon.svg
@@ -1 +1 @@ -<svg version="1.1" viewBox="0.0 0.0 960.0 540.0" fill="none" stroke="none" stroke-linecap="square" stroke-miterlimit="10" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg"><clipPath id="g33826f1ac4_0_49.0"><path d="m0 0l960.0 0l0 540.0l-960.0 0l0 -540.0z" clip-rule="nonzero"/></...
true
Other
mrdoob
three.js
9bf79c0c65f195cdeddaa4a72e217cf705187999.json
fix moonOrbit diagram/code
threejs/lessons/threejs-scenegraph.md
@@ -224,9 +224,9 @@ objects.push(earthMesh); +objects.push(moonMesh); ``` -Again we added another invisible scene graph node, an `Object3D` called `earthOrbit` -and added both the `earthMesh` and the `moonMesh` to it. The new scene graph looks like -this. +Again we added more invisible scene graph nodes. The first,...
true
Other
mrdoob
three.js
9bf79c0c65f195cdeddaa4a72e217cf705187999.json
fix moonOrbit diagram/code
threejs/threejs-scenegraph-sun-earth-moon-axes-grids.html
@@ -150,6 +150,7 @@ makeAxisGrid(sunMesh, 'sunMesh'); makeAxisGrid(earthOrbit, 'earthOrbit'); makeAxisGrid(earthMesh, 'earthMesh'); + makeAxisGrid(moonOrbit, 'moonOrbit'); makeAxisGrid(moonMesh, 'moonMesh'); function resizeRendererToDisplaySize(renderer) {
true
Other
mrdoob
three.js
db4b9fe0938e533c2793f31234221664f4d97708.json
translate ja of texture
threejs/lessons/ja/threejs-textures.md
@@ -0,0 +1,607 @@ +Title: Three.jsใฎใƒ†ใ‚ฏใ‚นใƒใƒฃ +Description: Three.jsใฎใƒ†ใ‚ฏใ‚นใƒใƒฃใฎไฝฟใ„ๆ–น +TOC: ใƒ†ใ‚ฏใ‚นใƒใƒฃ + +ใ“ใฎ่จ˜ไบ‹ใฏthree.jsใซใคใ„ใฆใฎใ‚ทใƒชใƒผใ‚บ่จ˜ไบ‹ใฎไธ€ใคใงใ™ใ€‚ +ๆœ€ๅˆใฎ่จ˜ไบ‹ใฏ[Three.jsใฎๅŸบ็คŽ็Ÿฅ่ญ˜](threejs-fundamentals.html)ใงใ™ใ€‚ +ใพใ ่ชญใ‚“ใงใชใ„ไบบใฏใ€ใใกใ‚‰ใ‹ใ‚‰ๅ…ˆใซ่ชญใ‚“ใงใฟใ‚‹ใจใ„ใ„ใ‹ใ‚‚ใ—ใ‚Œใพใ›ใ‚“ใ€‚ + +ใƒ†ใ‚ฏใ‚นใƒใƒฃใฏThree.jsใฎๅคงใใชใƒˆใƒ”ใƒƒใ‚ฏใฎไธ€ใคใงใ™ใ€‚ +ใฉใฎใƒฌใƒ™ใƒซใง่ชฌๆ˜Žใ™ใ‚‹ใจใ„ใ„ใ‹100%ๆ‰ฟ็Ÿฅใ—ใฆใฏใ„ใพใ›ใ‚“ใŒใ€ใ‚„ใฃใฆใฟใ‚ˆใ†ใจๆ€ใ„ใพใ™ใ€‚ +Three.jsใซใฏใŸใใ•ใ‚“ใฎใƒˆใƒ”ใƒƒใ‚ฏใŒใ‚ใ‚Šใ€ไบ’ใ„ใซ้–ขไฟ‚ใ—ใฆใ„ใ‚‹ใฎใงใ€...
false
Other
mrdoob
three.js
20cf0fb9fabf5fe8fbe57929452303d79106d235.json
fix blank png in firefox issue
threejs/threejs-postprocessing-adobe-lut-to-png-converter.html
@@ -234,6 +234,7 @@ <h1>Adobe LUT to PNG converter</h1> }()); document.querySelector('button').addEventListener('click', () => { + render(); renderer.domElement.toBlob((blob) => { saveData(blob, `${name}-s${renderer.domElement.height}.png`); });
false
Other
mrdoob
three.js
339ae6a38ce912d4b7ad807dddccc838ddc82a62.json
add csp support to lut-reader
threejs/lessons/kr/threejs-post-processing-3dlut.md
@@ -441,10 +441,16 @@ import * as dragAndDrop from './resources/drag-and-drop.js'; dragAndDrop.setup({ msg: 'Drop LUT File here' }); dragAndDrop.onDropFile(readLUTFile); +function ext(s) { + const period = s.lastIndexOf('.'); + return s.substr(period + 1); +} + function readLUTFile(file) { const reader = new ...
true
Other
mrdoob
three.js
339ae6a38ce912d4b7ad807dddccc838ddc82a62.json
add csp support to lut-reader
threejs/lessons/threejs-post-processing-3dlut.md
@@ -433,10 +433,16 @@ Then we can use them like this dragAndDrop.setup({msg: 'Drop LUT File here'}); dragAndDrop.onDropFile(readLUTFile); +function ext(s) { + const period = s.lastIndexOf('.'); + return s.substr(period + 1); +} + function readLUTFile(file) { const reader = new FileReader(); reader.onload =...
true
Other
mrdoob
three.js
339ae6a38ce912d4b7ad807dddccc838ddc82a62.json
add csp support to lut-reader
threejs/resources/lut-reader.js
@@ -43,7 +43,83 @@ function splitOnSpaceHandleQuotesWithEscapes(str, splits = ' \t\n\r') { return strings; } -export function parse(str) { +const startWhitespaceRE = /^\s/; +const intRE = /^\d+$/; +const isNum = s => intRE.test(s); + +const quotesRE = /^".*"$/; +function trimQuotes(s) { + return quotesRE.test(s)...
true
Other
mrdoob
three.js
339ae6a38ce912d4b7ad807dddccc838ddc82a62.json
add csp support to lut-reader
threejs/threejs-postprocessing-3dlut-w-loader.html
@@ -391,10 +391,16 @@ dragAndDrop.setup({msg: 'Drop LUT File here'}); dragAndDrop.onDropFile(readLUTFile); + function ext(s) { + const period = s.lastIndexOf('.'); + return s.substr(period + 1); + } + function readLUTFile(file) { const reader = new FileReader(); reader.onload = (e) => { - ...
true
Other
mrdoob
three.js
339ae6a38ce912d4b7ad807dddccc838ddc82a62.json
add csp support to lut-reader
threejs/threejs-postprocessing-adobe-lut-to-png-converter.html
@@ -194,10 +194,16 @@ <h1>Adobe LUT to PNG converter</h1> dragAndDrop.setup({msg: 'Drop LUT File here'}); dragAndDrop.onDropFile(readLUTFile); + function ext(s) { + const period = s.lastIndexOf('.'); + return s.substr(period + 1); + } + function readLUTFile(file) { const reader = new FileReader(...
true
Other
mrdoob
three.js
b0778d0ce5bc2bba07c42918a50cb7680abf0f40.json
translate ja of scenegraph
threejs/lessons/ja/threejs-scenegraph.md
@@ -0,0 +1,487 @@ +Title: Three.jsใฎใ‚ทใƒผใƒณใ‚ฐใƒฉใƒ• +Description: ใ‚ทใƒผใƒณใ‚ฐใƒฉใƒ•ใจใฏใชใซใ‹๏ผŸ +TOC: ใ‚ทใƒผใƒณใ‚ฐใƒฉใƒ• + +ใ“ใฎ่จ˜ไบ‹ใฏthree.jsใซใคใ„ใฆใฎใ‚ทใƒชใƒผใ‚บ่จ˜ไบ‹ใฎไธ€ใคใงใ™ใ€‚ +ๆœ€ๅˆใฎ่จ˜ไบ‹ใฏ[Three.jsใฎๅŸบ็คŽ](threejs-fundamentals.html)ใงใ™ใ€‚ +ใพใ ่ชญใ‚“ใงใชใ„ไบบใฏใ€ใใกใ‚‰ใ‹ใ‚‰ๅ…ˆใซ่ชญใ‚“ใงใฟใ‚‹ใจใ„ใ„ใ‹ใ‚‚ใ—ใ‚Œใพใ›ใ‚“ใ€‚ + +Three.jsใฎๆ ธๅฟƒใฏ้–“้•ใ„ใชใใ‚ทใƒผใƒณใ‚ฐใƒฉใƒ•ใงใ™ใ€‚ +3Dใ‚จใƒณใ‚ธใƒณใฎใ‚ทใƒผใƒณใ‚ฐใƒฉใƒ•ใฏใ€ๅ„ใƒŽใƒผใƒ‰ใŒใƒญใƒผใ‚ซใƒซใช็ฉบ้–“ใ‚’่กจ็พใ—ใฆใ„ใ‚‹ใ€ใ‚ฐใƒฉใƒ•ๅ†…ใฎใƒŽใƒผใƒ‰ใฎ้šŽๅฑคใงใ™ใ€‚ + +<img src="resources/images/scenegr...
false
Other
mrdoob
three.js
b4910892bfa32c0fdc25d72d1336d8b34aec8fe1.json
fix voxel diagram
threejs/lessons/resources/threejs-voxel-geometry.js
@@ -10,7 +10,7 @@ import {threejsLessonUtils} from './threejs-lesson-utils.js'; wire: '#DDD', }; const lightColors = { - wore: '#000', + wire: '#000', }; const colors = isDarkMode ? darkColors : lightColors;
false
Other
mrdoob
three.js
03d33279e4d3cde6273be59c5f6693346ebfab42.json
remove superfluous slashes
build/templates/index.template
@@ -37,14 +37,14 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> -<meta name="description" content="Three.js tutorials and solutions" /> -<meta name="keywords" content="webgl grap...
true
Other
mrdoob
three.js
03d33279e4d3cde6273be59c5f6693346ebfab42.json
remove superfluous slashes
build/templates/lesson.template
@@ -37,24 +37,24 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> -<meta name="description" content="{{description}}" /> -<meta name="keywords" content="webgl graphics three.js" />...
true
Other
mrdoob
three.js
cdb5482850b4dc7dcbfffc3c541a046959d566bd.json
fix example threejs-prerequisites.md
threejs/lessons/threejs-prerequisites.md
@@ -165,14 +165,14 @@ Destructuring works with arrays too. Assume an array `const position = [1, 2, 3, old code ```js -const x = position[2]; -const y = position[1]; +const x = position[2]; // 3 +const y = position[1]; // 2 ``` new code ```js -const [x, y] = position; +const [, y, x] = position; // x = 3, y ...
false
Other
mrdoob
three.js
a9a96cfb8af23788ac97d77176ca1842daf2e865.json
add translation kr/threejs-tips.md
threejs/lessons/kr/threejs-tips.md
@@ -0,0 +1,361 @@ +Title: Three.js ํŒ +Description: Three.js๋ฅผ ์“ธ ๋•Œ ํ•„์š”ํ•  ์ˆ˜๋„ ์žˆ๋Š” ๊ฒƒ๋“ค +TOC: # + +์ด ๊ธ€์€ Three.js์˜ ํŒ์— ๊ด€ํ•œ ๊ธ€๋“ค ์ค‘ ๋„ˆ๋ฌด ์งง์•„ ๋ณ„๋„์˜ ๊ธ€๋กœ ๋ถ„๋ฆฌํ•˜๊ธฐ ์• ๋งคํ•œ ๊ธ€๋“ค์„ ๋ฌถ์€ ๊ฒƒ์ž…๋‹ˆ๋‹ค. + +--- + +<a id="screenshot" data-toc="์Šคํฌ๋ฆฐ์ƒท ์ฐ๊ธฐ"></a> + +# ์บ”๋ฒ„์Šค์˜ ์Šคํฌ๋ฆฐ์ƒท ์ฐ๊ธฐ + +๋ธŒ๋ผ์šฐ์ €์—์„œ ์Šคํฌ๋ฆฐ์ƒท์„ ์ฐ์„ ์ˆ˜ ์žˆ๋Š” ๋ฐฉ๋ฒ•์€ 2๊ฐ€์ง€ ์ •๋„๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค. ์˜ˆ์ „๋ถ€ํ„ฐ ์‚ฌ์šฉํ•˜๋˜ [`canvas.toDataURL`](https://developer.mozilla....
false
Other
mrdoob
three.js
7d378eeaa05faf9242027a6037af43ad8b89c920.json
add translation kr/threejs-debugging-glsl
threejs/lessons/kr/threejs-debugging-glsl.md
@@ -0,0 +1,64 @@ +Title: Three.js GLSL ๋””๋ฒ„๊น… +Description: GLSL ์‰์ด๋” ๋””๋ฒ„๊น…์— ๋Œ€ํ•ด ์•Œ์•„๋ด…๋‹ˆ๋‹ค +TOC: GLSL ๋””๋ฒ„๊น… + +์ด ์‚ฌ์ดํŠธ์—์„œ ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ ์ž์ฒด์— ๋Œ€ํ•ด ๋‹ค๋ฃจ์ง€ ์•Š๋“ฏ, ์•„์ง๊นŒ์ง€ ์ด ์‚ฌ์ดํŠธ์—๋Š” GLSL์— ๋Œ€ํ•œ ๊ธ€์ด ์—†์Šต๋‹ˆ๋‹ค. GLSL์€ ๊ฐ„๋‹จํžˆ ๋‹ค๋ฃจ๊ธฐ ์–ด๋ ค์šด ์ฃผ์ œ์ด๊ธฐ์— GLSL์„ ๋ฐฐ์šฐ๊ณ  ์‹ถ๋‹ค๋ฉด [์ด ์‹œ๋ฆฌ์ฆˆ](https://webglfundamentals.org/webgl/lessons/ko/)๋ฅผ ์ฐธ๊ณ ํ•˜๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค. + +GLSL์— ๋Œ€ํ•ด ์–ด๋А ์ •๋„ ์•ˆ๋‹ค๋ฉด ์ด ๊ธ€์ด GLSL ๋””๋ฒ„๊น…์— ๋„์›€์ด ๋  ๊ฒ๋‹ˆ๋‹ค. + +GLS...
false
Other
mrdoob
three.js
dc8aa5fc60a999eeb29118735d4e899850e82fc3.json
add translation kr/threejs-debugging-javascript.md
threejs/lessons/kr/threejs-debugging-javascript.md
@@ -0,0 +1,447 @@ +Title: Three.js ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ ๋””๋ฒ„๊น… +Description: Three.js์—์„œ ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ ๋””๋ฒ„๊น…ํ•˜๋Š” ๋ฒ•์„ ์•Œ์•„๋ด…๋‹ˆ๋‹ค +TOC: ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ ๋””๋ฒ„๊น… + +์ด ๊ธ€์€ Three.js์— ํ•œ์ •๋œ ๊ธ€์ด ์•„๋‹™๋‹ˆ๋‹ค. ๋ณด๋‹ค๋Š” ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ๋ฅผ ๋””๋ฒ„๊น…ํ•˜๋Š” ์ผ๋ฐ˜์ ์ธ ๋ฐฉ๋ฒ•์ด๋ผ๊ณ  ํ•˜๋Š” ํŽธ์ด ์ ๋‹นํ•˜์ฃ . Three.js๋ฅผ ๋ฐฐ์šฐ๋ ค๋Š” ๋ถ„๋“ค ์ค‘์—๋Š” ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ๋„ ์ฒ˜์Œ ์ ‘ํ•˜๋Š” ๋ถ„๋“ค์ด ๋”๋Ÿฌ ์žˆ๋Š”๋ฐ, ์ด ๊ธ€์ด ๊ทธ๋Ÿฐ ๋ถ„๋“ค์—๊ฒŒ ๋„์›€์ด ๋˜์—ˆ์œผ๋ฉด ์ข‹๊ฒ ๋„ค์š”. + +๋””๋ฒ„๊น…์€ ๋ฐฉ๋Œ€ํ•œ ์ฃผ์ œ๋ผ ์—ฌ๊ธฐ์„œ ๋ชจ๋“  ๋ถ€๋ถ„์„ ๋‹ค๋ฃจ๊ธฐ๋Š” ์–ด๋ ต์Šต๋‹ˆ๋‹ค. ์ด ๊ธ€์—์„œ๋Š” ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ ์ž…๋ฌธ์ž์˜ ๊ฒฝ์šฐ๋ฅผ...
false
Other
mrdoob
three.js
7be4e4279a6f2cf549bc7eaba9b346cdc6b4a223.json
add translation kr/threejs-material-table.md
threejs/lessons/kr/threejs-material-table.md
@@ -0,0 +1,12 @@ +Title: ์žฌ์งˆ(Material) ์†์„ฑํ‘œ +Description: Three.js์˜ ๊ฐ ์žฌ์งˆ์ด ์ง€์›ํ•˜๋Š” ์†์„ฑ์— ๋Œ€ํ•œ ํ‘œ์ž…๋‹ˆ๋‹ค +TOC: ์žฌ์งˆ(Material) ์†์„ฑํ‘œ + +Three.js์—์„œ ์ฃผ๋กœ ์“ฐ๋Š” ์žฌ์งˆ(material)์€ Mesh ์žฌ์งˆ์ž…๋‹ˆ๋‹ค. ์•„๋ž˜๋Š” ๊ฐ ์žฌ์งˆ์ด ์ง€์›ํ•˜๋Š” ์†์„ฑ์„ ํ‘œ๋กœ ๋‚˜ํƒ€๋‚ธ ๊ฒƒ์ž…๋‹ˆ๋‹ค. + +<div> +<div id="material-table" class="threejs_center"></div> +<script type="module" src="../resources/threejs-material-table.j...
false
Other
mrdoob
three.js
d93f63f821a3f0d4b00d52262e582654f43c9162.json
prefer object spread
Gruntfile.js
@@ -166,9 +166,7 @@ module.exports = function(grunt) { }); }); const buildStuff = require('@gfxfundamentals/lesson-builder'); - const settings = Object.assign({}, buildSettings, { - filenames, - }); + const settings = {...buildSettings, filenames}; const finish = this.async(); b...
true
Other
mrdoob
three.js
d93f63f821a3f0d4b00d52262e582654f43c9162.json
prefer object spread
threejs/lessons/kr/threejs-optimize-lots-of-objects-animated.md
@@ -80,11 +80,7 @@ function makeDiffFile(baseFile, otherFile, compareFn) { return value; }); // baseFile์„ ๋ณต์‚ฌํ•œ ๋’ค min, max, data๋ฅผ ์ƒˆ ๊ฐ’์œผ๋กœ ๊ต์ฒดํ•ฉ๋‹ˆ๋‹ค. - return Object.assign({}, baseFile, { - min, - max, - data, - }); + return {...baseFile, min, max, data}; } ```
true
Other
mrdoob
three.js
d93f63f821a3f0d4b00d52262e582654f43c9162.json
prefer object spread
threejs/lessons/kr/threejs-post-processing-3dlut.md
@@ -148,7 +148,7 @@ const lutShader = { }; const lutNearestShader = { - uniforms: Object.assign( {}, lutShader.uniforms ), + uniforms: {...lutShader.uniforms}, vertexShader: lutShader.vertexShader, fragmentShader: lutShader.fragmentShader.replace('#define FILTER_LUT', '//'), };
true
Other
mrdoob
three.js
d93f63f821a3f0d4b00d52262e582654f43c9162.json
prefer object spread
threejs/lessons/resources/threejs-materials.js
@@ -32,9 +32,10 @@ import {threejsLessonUtils} from './threejs-lesson-utils.js'; function basicLambertPhongExample(MaterialCtor, lowPoly, params = {}) { const geometry = lowPoly ? lowPolySphereGeometry : highPolySphereGeometry; - const material = new MaterialCtor(Object.assign({ + const material = new M...
true
Other
mrdoob
three.js
d93f63f821a3f0d4b00d52262e582654f43c9162.json
prefer object spread
threejs/lessons/resources/threejs-primitives.js
@@ -785,7 +785,7 @@ const geometry = new THREE.WireframeGeometry( addElem(base, 'pre', 'prettyprint showmods', trimmedLines.join('\n')); - createLiveImage(elem, Object.assign({}, info, {create: createFn}), name); + createLiveImage(elem, {...info, create: createFn}, name); } makeExample(...
true
Other
mrdoob
three.js
d93f63f821a3f0d4b00d52262e582654f43c9162.json
prefer object spread
threejs/lessons/ru/threejs-optimize-lots-of-objects-animated.md
@@ -97,11 +97,7 @@ function makeDiffFile(baseFile, otherFile, compareFn) { }); // make a copy of baseFile and replace min, max, and data // with the new data - return Object.assign({}, baseFile, { - min, - max, - data, - }); + return {...baseFile, min, max, data}; } ```
true
Other
mrdoob
three.js
d93f63f821a3f0d4b00d52262e582654f43c9162.json
prefer object spread
threejs/lessons/threejs-optimize-lots-of-objects-animated.md
@@ -101,11 +101,7 @@ function makeDiffFile(baseFile, otherFile, compareFn) { }); // make a copy of baseFile and replace min, max, and data // with the new data - return Object.assign({}, baseFile, { - min, - max, - data, - }); + return {...baseFile, min, max, data}; } ```
true
Other
mrdoob
three.js
d93f63f821a3f0d4b00d52262e582654f43c9162.json
prefer object spread
threejs/lessons/threejs-post-processing-3dlut.md
@@ -147,7 +147,7 @@ const lutShader = { }; const lutNearestShader = { - uniforms: Object.assign( {}, lutShader.uniforms ), + uniforms: {...lutShader.uniforms}, vertexShader: lutShader.vertexShader, fragmentShader: lutShader.fragmentShader.replace('#define FILTER_LUT', '//'), };
true
Other
mrdoob
three.js
d93f63f821a3f0d4b00d52262e582654f43c9162.json
prefer object spread
threejs/resources/lessons-helper.js
@@ -545,9 +545,10 @@ setupLesson(this); } const args = [].slice.apply(arguments); - args[1] = Object.assign({ + args[1] = { powerPreference: 'low-power', - }, args[1]); + ...args[1], + }; const ctx = oldFn.apply(this, args); ...
true
Other
mrdoob
three.js
d93f63f821a3f0d4b00d52262e582654f43c9162.json
prefer object spread
threejs/resources/lessons-worker-helper.js
@@ -119,9 +119,10 @@ setupLesson(this); } const args = [].slice.apply(arguments); - args[1] = Object.assign({ + args[1] = { powerPreference: 'low-power', - }, args[1]); + ...args[1], + }; return oldFn.apply(this, args); }; ...
true
Other
mrdoob
three.js
d93f63f821a3f0d4b00d52262e582654f43c9162.json
prefer object spread
threejs/resources/lut-reader.js
@@ -121,7 +121,7 @@ function lut1Dto3D(lut) { for (let i = 0; i < lut.size * lut.size; ++i) { data.push(...src); } - return Object.assign({}, lut, {data}); + return {...lut, data}; } export function lutTo2D3Drgb8(lut) { @@ -140,5 +140,5 @@ export function lutTo2D3Drgb8(lut) { data[i + 1] = (src[i ...
true
Other
mrdoob
three.js
d93f63f821a3f0d4b00d52262e582654f43c9162.json
prefer object spread
threejs/resources/webgl-debug-helper.js
@@ -517,7 +517,7 @@ ext = wrapped.apply(ctx, arguments); if (ext) { const origExt = ext; - ext = makeDebugContext(ext, Object.assign({}, options, {errCtx: ctx})); + ext = makeDebugContext(ext, {...options, errCtx: ctx}); sharedState.wrappers[extensio...
true
Other
mrdoob
three.js
d93f63f821a3f0d4b00d52262e582654f43c9162.json
prefer object spread
threejs/threejs-lots-of-objects-animated.html
@@ -264,11 +264,7 @@ }); // make a copy of baseFile and replace min, max, and data // with the new data - return Object.assign({}, baseFile, { - min, - max, - data, - }); + return {...baseFile, min, max, data}; } // generate a new set of data
true
Other
mrdoob
three.js
d93f63f821a3f0d4b00d52262e582654f43c9162.json
prefer object spread
threejs/threejs-lots-of-objects-morphtargets-w-colors.html
@@ -265,11 +265,7 @@ }); // make a copy of baseFile and replace min, max, and data // with the new data - return Object.assign({}, baseFile, { - min, - max, - data, - }); + return {...baseFile, min, max, data}; } // generate a new set of data
true
Other
mrdoob
three.js
d93f63f821a3f0d4b00d52262e582654f43c9162.json
prefer object spread
threejs/threejs-lots-of-objects-morphtargets.html
@@ -265,11 +265,7 @@ }); // make a copy of baseFile and replace min, max, and data // with the new data - return Object.assign({}, baseFile, { - min, - max, - data, - }); + return {...baseFile, min, max, data}; } // generate a new set of data
true
Other
mrdoob
three.js
d93f63f821a3f0d4b00d52262e582654f43c9162.json
prefer object spread
threejs/threejs-lots-of-objects-multiple-data-sets.html
@@ -229,11 +229,7 @@ }); // make a copy of baseFile and replace min, max, and data // with the new data - return Object.assign({}, baseFile, { - min, - max, - data, - }); + return {...baseFile, min, max, data}; } // generate a new set of data
true
Other
mrdoob
three.js
d93f63f821a3f0d4b00d52262e582654f43c9162.json
prefer object spread
threejs/threejs-postprocessing-3dlut-identity.html
@@ -223,7 +223,7 @@ }; const lutNearestShader = { - uniforms: Object.assign( {}, lutShader.uniforms ), + uniforms: {...lutShader.uniforms}, vertexShader: lutShader.vertexShader, fragmentShader: lutShader.fragmentShader.replace('#define FILTER_LUT', '//'), };
true
Other
mrdoob
three.js
d93f63f821a3f0d4b00d52262e582654f43c9162.json
prefer object spread
threejs/threejs-postprocessing-3dlut-w-loader.html
@@ -311,7 +311,7 @@ }; const lutNearestShader = { - uniforms: Object.assign( {}, lutShader.uniforms ), + uniforms: {...lutShader.uniforms}, vertexShader: lutShader.vertexShader, fragmentShader: lutShader.fragmentShader.replace('#define FILTER_LUT', '//'), };
true
Other
mrdoob
three.js
d93f63f821a3f0d4b00d52262e582654f43c9162.json
prefer object spread
threejs/threejs-postprocessing-3dlut.html
@@ -294,7 +294,7 @@ }; const lutNearestShader = { - uniforms: Object.assign( {}, lutShader.uniforms ), + uniforms: {...lutShader.uniforms}, vertexShader: lutShader.vertexShader, fragmentShader: lutShader.fragmentShader.replace('#define FILTER_LUT', '//'), };
true
Other
mrdoob
three.js
b98e8ff2d9dbfe261f7320749a825410a306545e.json
use lesson-builder v1.7.0
threejs/lessons/fr/threejs-primitives.md
@@ -406,5 +406,5 @@ ou votre [BufferGeometry](threejs-custom-buffergeometry.html). Voyons maintenant l'article traitant sur [comment fonctionne un graphe de scรจne three.js et comment l'utiliser](threejs-scenegraph.html). -<link rel="stylesheet" href="../resources/threejs-primitives.css"> -<script type="module" src...
true
Other
mrdoob
three.js
b98e8ff2d9dbfe261f7320749a825410a306545e.json
use lesson-builder v1.7.0
threejs/lessons/ja/threejs-primitives.md
@@ -352,6 +352,6 @@ const material = new THREE.PointsMaterial({ ๆฌกใฏใ€[threeใฎใ‚ทใƒผใƒณใ‚ฐใƒฉใƒ•ใฎๅ‹•ใๆ–นใจไฝฟใ„ๆ–น](threejs-scenegraph.html)ใ‚’่ชฌๆ˜Žใ—ใพใ™ใ€‚ -<link rel="stylesheet" href="../resources/threejs-primitives.css"> -<script type="module" src="../resources/threejs-primitives.js"></script> +<link rel="stylesheet" href="resources/threejs-pri...
true
Other
mrdoob
three.js
b98e8ff2d9dbfe261f7320749a825410a306545e.json
use lesson-builder v1.7.0
threejs/lessons/kr/threejs-align-html-elements-to-3d.md
@@ -702,5 +702,5 @@ function updateLabels() { ๋‹ค์Œ ๊ธ€์—์„œ๋Š” ๋” ๋‚˜์•„๊ฐ€ [์ง€๊ตฌ๋ณธ ์œ„์˜ ๋‚˜๋ผ๋ฅผ ์„ ํƒํ•˜๊ณ  ๊ฐ•์กฐ](threejs-indexed-textures.html)ํ•ด๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค. -<link rel="stylesheet" href="../resources/threejs-align-html-elements-to-3d.css"> -<script type="module" src="../resources/threejs-align-html-elements-to-3d.js"></script> +<link rel="stylesheet" ...
true
Other
mrdoob
three.js
b98e8ff2d9dbfe261f7320749a825410a306545e.json
use lesson-builder v1.7.0
threejs/lessons/kr/threejs-cameras.md
@@ -581,4 +581,4 @@ function render(time) { ๋Œ€ํ•ด ๋จผ์ € ์‚ดํŽด๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค. <canvas id="c"></canvas> -<script type="module" src="../resources/threejs-cameras.js"></script> \ No newline at end of file +<script type="module" src="resources/threejs-cameras.js"></script> \ No newline at end of file
true
Other
mrdoob
three.js
b98e8ff2d9dbfe261f7320749a825410a306545e.json
use lesson-builder v1.7.0
threejs/lessons/kr/threejs-custom-buffergeometry.md
@@ -446,4 +446,4 @@ positionAttribute.needsUpdate = true; ๋ฐ ๋„์›€์ด ๋˜์—ˆ์œผ๋ฉด ์ข‹๊ฒ ๋„ค์š”. <canvas id="c"></canvas> -<script type="module" src="../resources/threejs-custom-buffergeometry.js"></script> +<script type="module" src="resources/threejs-custom-buffergeometry.js"></script>
true
Other
mrdoob
three.js
b98e8ff2d9dbfe261f7320749a825410a306545e.json
use lesson-builder v1.7.0
threejs/lessons/kr/threejs-fog.md
@@ -261,4 +261,4 @@ class FogGUIHelper { </div> <canvas id="c"></canvas> -<script type="module" src="../resources/threejs-fog.js"></script> +<script type="module" src="resources/threejs-fog.js"></script>
true
Other
mrdoob
three.js
b98e8ff2d9dbfe261f7320749a825410a306545e.json
use lesson-builder v1.7.0
threejs/lessons/kr/threejs-lights.md
@@ -552,4 +552,4 @@ gui.add(light, 'power', 0, 2000); ๋‹ค์Œ ์žฅ์—์„œ๋Š” [์นด๋ฉ”๋ผ ์กฐ์ž‘๋ฒ•](threejs-cameras.html)์— ๋Œ€ํ•ด ์•Œ์•„๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค. <canvas id="c"></canvas> -<script type="module" src="../resources/threejs-lights.js"></script> +<script type="module" src="resources/threejs-lights.js"></script>
true
Other
mrdoob
three.js
b98e8ff2d9dbfe261f7320749a825410a306545e.json
use lesson-builder v1.7.0
threejs/lessons/kr/threejs-materials.md
@@ -319,4 +319,4 @@ Three.js๋Š” ๊ธฐ๋ณธ์ ์œผ๋กœ ์ฒ˜์Œ ํ•œ ๋ฒˆ๋งŒ ์žฌ์งˆ์˜ ์„ค์ •์„ ์ ์šฉํ•ฉ๋‹ˆ </div> <canvas id="c"></canvas> -<script type="module" src="../resources/threejs-materials.js"></script> \ No newline at end of file +<script type="module" src="resources/threejs-materials.js"></script> \ No newline at end of file
true
Other
mrdoob
three.js
b98e8ff2d9dbfe261f7320749a825410a306545e.json
use lesson-builder v1.7.0
threejs/lessons/kr/threejs-optimize-lots-of-objects.md
@@ -464,4 +464,4 @@ geometry๋ฅผ ํ•ฉ์น˜๋Š” ๊ฑด ๊ฝค ์ž์ฃผ ์‚ฌ์šฉํ•˜๋Š” ์ตœ์ ํ™” ๊ธฐ๋ฒ•์ž…๋‹ˆ๋‹ค. ์˜ˆ ํ•˜์ง€๋งŒ ์š”์†Œ๋ฅผ ํ•˜๋‚˜์˜ mesh๋กœ ํ•ฉ์ณ๋ฒ„๋ฆฌ๋ฉด ๋ณ„๋„์˜ ์š”์†Œ์˜€๋˜ ํŠน์ • ๋ถ€๋ถ„์„ ์กฐ์ž‘ํ•˜๊ธฐ๊ฐ€ ์–ด๋ ต์Šต๋‹ˆ๋‹ค. ์ƒํ™ฉ์— ๋”ฐ๋ผ ์ข‹์€ ๋ฐฉ๋ฒ•๋„ ๋‹ค ๋‹ค๋ฅผ ํ…Œ์ฃ . [๋‹ค์Œ ๊ธ€](threejs-optimize-lots-of-objects-animated.html)์—์„œ๋Š” ๊ทธ ๋ฐฉ๋ฒ• ์ค‘ ํ•˜๋‚˜๋ฅผ ์‚ดํŽด๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค. <canvas id="c"></canvas> -<script type="module" src="../resources/threejs-lots-of-objects.js"></script>...
true
Other
mrdoob
three.js
b98e8ff2d9dbfe261f7320749a825410a306545e.json
use lesson-builder v1.7.0
threejs/lessons/kr/threejs-post-processing-3dlut.md
@@ -499,4 +499,4 @@ updateGUI(); ์ด ๊ธ€์—์„œ๋Š” ์‰์ด๋”๊ฐ€ ์–ด๋–ป๊ฒŒ ์ž‘๋™ํ•˜๋Š”์ง€์— ๋Œ€ํ•ด์„œ๋Š” ์•„์˜ˆ ์„ค๋ช…ํ•˜์ง€ ์•Š์•˜์Šต๋‹ˆ๋‹ค. ๋‚˜์ค‘์— GLSL์— ๋Œ€ํ•ด ๋” ๋‹ค๋ฃฐ ๊ธฐํšŒ๊ฐ€ ์žˆ์—ˆ์œผ๋ฉด ์ข‹๊ฒ ๋„ค์š”. ์‰์ด๋”์˜ ์ž‘๋™ ๋ฐฉ์‹์„ ์•Œ๊ณ  ์‹ถ๋‹ค๋ฉด [ํ›„์ฒ˜๋ฆฌ์— ๊ด€ํ•œ ๊ธ€](threejs-post-processing.html)์— ์žˆ๋Š” ๋งํฌ ๋˜๋Š” [์ด ์œ ํŠœ๋ธŒ ์˜์ƒ](https://www.youtube.com/watch?v=rfQ8rKGTVlg#t=24m30s)์„ ์ฐธ๊ณ ํ•˜๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค. -<script type="module" src="../resources/threejs-post-proc...
true
Other
mrdoob
three.js
b98e8ff2d9dbfe261f7320749a825410a306545e.json
use lesson-builder v1.7.0
threejs/lessons/kr/threejs-primitives.md
@@ -366,6 +366,6 @@ const material = new THREE.PointsMaterial({ ๋‹ค์Œ ์žฅ์—์„œ๋Š” [์”ฌ ๊ทธ๋ž˜ํ”„์™€ ๊ทธ ์‚ฌ์šฉ๋ฒ•](threejs-scenegraph.html)์— ๋Œ€ํ•ด ์•Œ์•„๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค. -<link rel="stylesheet" href="../resources/threejs-primitives.css"> -<script type="module" src="../resources/threejs-primitives.js"></script> +<link rel="stylesheet" href="resources/threejs-p...
true
Other
mrdoob
three.js
b98e8ff2d9dbfe261f7320749a825410a306545e.json
use lesson-builder v1.7.0
threejs/lessons/kr/threejs-textures.md
@@ -613,5 +613,5 @@ metalness roughness --> -<link rel="stylesheet" href="../resources/threejs-textures.css"> -<script type="module" src="../resources/threejs-textures.js"></script> \ No newline at end of file +<link rel="stylesheet" href="resources/threejs-textures.css"> +<script type="module" src="resources/three...
true
Other
mrdoob
three.js
b98e8ff2d9dbfe261f7320749a825410a306545e.json
use lesson-builder v1.7.0
threejs/lessons/kr/threejs-voxel-geometry.md
@@ -1085,4 +1085,4 @@ function updateCellGeometry(x, y, z) { ์ด ๊ธ€์ด Three.js๋กœ ๋งˆ์ธํฌ๋ž˜ํ”„ํŠธ ๊ฐ™์€ ๊ทธ๋ž˜ํ”ฝ์„ ๊ตฌํ˜„ํ•  ๋•Œ ์ข‹์€ ์‹œ์ž‘์ ์„ ๋งˆ๋ จํ•˜๊ณ , geometry๋ฅผ ์ตœ์ ํ™”ํ•˜๋Š” ๋ฐ ๋„์›€์ด ๋˜์—ˆ์œผ๋ฉด ํ•ฉ๋‹ˆ๋‹ค. <canvas id="c"></canvas> -<script type="module" src="../resources/threejs-voxel-geometry.js"></script> +<script type="module" src="resources/threejs-voxel-geometry.js"></scr...
true
Other
mrdoob
three.js
b98e8ff2d9dbfe261f7320749a825410a306545e.json
use lesson-builder v1.7.0
threejs/lessons/ru/threejs-cameras.md
@@ -600,4 +600,4 @@ function render(time) { ะ ะฟะพะบะฐ ะดะฐะฒะฐะนั‚ะต ะฟะตั€ะตะนะดะตะผ ะบ [ั‚ะตะฝัะผ](threejs-shadows.html). <canvas id="c"></canvas> -<script type="module" src="../resources/threejs-cameras.js"></script> +<script type="module" src="resources/threejs-cameras.js"></script>
true
Other
mrdoob
three.js
b98e8ff2d9dbfe261f7320749a825410a306545e.json
use lesson-builder v1.7.0
threejs/lessons/ru/threejs-custom-buffergeometry.md
@@ -430,5 +430,5 @@ positionAttribute.needsUpdate = true; ะดะตะนัั‚ะฒะธั‚ะตะปัŒะฝะพ ะทะฐะฒะธัะธั‚ ะพั‚ ะฒะฐัˆะธั… ะฟะพั‚ั€ะตะฑะฝะพัั‚ะตะน. <canvas id="c"></canvas> -<script type="module" src="../resources/threejs-custom-buffergeometry.js"></script> +<script type="module" src="resources/threejs-custom-buffergeometry.js"></script>
true
Other
mrdoob
three.js
b98e8ff2d9dbfe261f7320749a825410a306545e.json
use lesson-builder v1.7.0
threejs/lessons/ru/threejs-fog.md
@@ -241,4 +241,4 @@ class FogGUIHelper { </div> <canvas id="c"></canvas> -<script type="module" src="../resources/threejs-fog.js"></script> +<script type="module" src="resources/threejs-fog.js"></script>
true
Other
mrdoob
three.js
b98e8ff2d9dbfe261f7320749a825410a306545e.json
use lesson-builder v1.7.0
threejs/lessons/ru/threejs-lights.md
@@ -573,4 +573,4 @@ gui.add(light, 'power', 0, 2000); ะ”ะฐะปะตะต ะดะฐะฒะฐะนั‚ะต ะฟะตั€ะตะนะดะตะผ ะบ [ั€ะฐะฑะพั‚ะต ั ะบะฐะผะตั€ะฐะผะธ](threejs-cameras.html). <canvas id="c"></canvas> -<script type="module" src="../resources/threejs-lights.js"></script> +<script type="module" src="resources/threejs-lights.js"></script>
true
Other
mrdoob
three.js
b98e8ff2d9dbfe261f7320749a825410a306545e.json
use lesson-builder v1.7.0
threejs/lessons/ru/threejs-material-table.md
@@ -7,6 +7,6 @@ Mesh. ะ’ะพั‚ ั‚ะฐะฑะปะธั†ะฐ, ะฟะพะบะฐะทั‹ะฒะฐัŽั‰ะฐั, ะบะฐะบะธะต ั„ัƒะฝะบั†ะธะธ <div> <div id="material-table" class="threejs_center"></div> -<script type="module" src="../resources/threejs-material-table.js"></script> -<link rel="stylesheet" href="../resources/threejs-material-table.css"> +<script type="module" src="resources/thre...
true
Other
mrdoob
three.js
b98e8ff2d9dbfe261f7320749a825410a306545e.json
use lesson-builder v1.7.0
threejs/lessons/ru/threejs-materials.md
@@ -318,5 +318,5 @@ flat shaded </div> <canvas id="c"></canvas> -<script type="module" src="../resources/threejs-materials.js"></script> +<script type="module" src="resources/threejs-materials.js"></script>
true
Other
mrdoob
three.js
b98e8ff2d9dbfe261f7320749a825410a306545e.json
use lesson-builder v1.7.0
threejs/lessons/ru/threejs-optimize-lots-of-objects.md
@@ -519,4 +519,4 @@ scene.add(mesh); [ะดั€ัƒะณะพะน ัั‚ะฐั‚ัŒะต](threejs-optimize-lots-of-objects-animated.html). <canvas id="c"></canvas> -<script type="module" src="../resources/threejs-lots-of-objects.js"></script> +<script type="module" src="resources/threejs-lots-of-objects.js"></script>
true
Other
mrdoob
three.js
b98e8ff2d9dbfe261f7320749a825410a306545e.json
use lesson-builder v1.7.0
threejs/lessons/ru/threejs-primitives.md
@@ -329,5 +329,5 @@ function addLineGeometry(x, y, geometry) { ะ”ะฐะปะตะต ะดะฐะฒะฐะนั‚ะต ั€ะฐััะผะพั‚ั€ะธะผ [ะบะฐะบ ั€ะฐะฑะพั‚ะฐะตั‚ ะณั€ะฐั„ ัั†ะตะฝั‹ ะธ ะบะฐะบ ะตะณะพ ะธัะฟะพะปัŒะทะพะฒะฐั‚ัŒ](threejs-scenegraph.html). -<script type="module" src="../resources/threejs-primitives.js"></script> -<link rel="stylesheet" href="../resources/threejs-primitives.css"> +<script t...
true
Other
mrdoob
three.js
b98e8ff2d9dbfe261f7320749a825410a306545e.json
use lesson-builder v1.7.0
threejs/lessons/ru/threejs-textures.md
@@ -615,5 +615,5 @@ metalness roughness --> -<script type="module" src="../resources/threejs-textures.js"></script> -<link rel="stylesheet" href="../resources/threejs-textures.css"> +<script type="module" src="resources/threejs-textures.js"></script> +<link rel="stylesheet" href="resources/threejs-textures.css">
true
Other
mrdoob
three.js
43b860a8728facf8efe16bb145060a152c929bf7.json
fix script link
threejs/lessons/ru/threejs-optimize-lots-of-objects.md
@@ -519,4 +519,4 @@ scene.add(mesh); [ะดั€ัƒะณะพะน ัั‚ะฐั‚ัŒะต](threejs-optimize-lots-of-objects-animated.html). <canvas id="c"></canvas> -<script type="module" src="resources/threejs-lots-of-objects.js"></script> +<script type="module" src="../resources/threejs-lots-of-objects.js"></script>
false
Other
mrdoob
three.js
32c7c3244ab6c84747ca055a244f111c8390c29c.json
fix version references
threejs/lessons/fr/threejs-fundamentals.md
@@ -97,7 +97,7 @@ Tout d'abord, chargeons three.js : ```html <script type="module"> -import * as THREE from './resources/threejs/r114/build/three.module.js'; +import * as THREE from './resources/threejs/r119/build/three.module.js'; </script> ``` @@ -121,7 +121,7 @@ dans le document html : ```html <script ty...
true
Other
mrdoob
three.js
32c7c3244ab6c84747ca055a244f111c8390c29c.json
fix version references
threejs/lessons/fr/threejs-prerequisites.md
@@ -25,7 +25,7 @@ ou en ligne via une balise `<script type="module">`. Voici un exemple des deux ```html <script type="module"> -import * as THREE from './resources/threejs/r114/build/three.module.js'; +import * as THREE from './resources/threejs/r119/build/three.module.js'; ...
true
Other
mrdoob
three.js
32c7c3244ab6c84747ca055a244f111c8390c29c.json
fix version references
threejs/lessons/ja/threejs-fundamentals.md
@@ -33,7 +33,7 @@ Three.jsใฏcanvasใซๆ็”ปใ™ใ‚‹ใŸใ‚ใ€canvasใ‚’three.jsใซๆธกใ™ๅฟ…่ฆใŒใ‚ ```html <script type="module"> -import * as THREE from './resources/threejs/r110/build/three.module.js'; +import * as THREE from './resources/threejs/r119/build/three.module.js'; function main() { const canvas = document.querySelector('#c'); @@ -...
true
Other
mrdoob
three.js
32c7c3244ab6c84747ca055a244f111c8390c29c.json
fix version references
threejs/lessons/ja/threejs-prerequisites.md
@@ -20,7 +20,7 @@ es6ใƒขใ‚ธใƒฅใƒผใƒซใฏใ‚นใ‚ฏใƒชใƒ—ใƒˆใฎไธญใง `import` ใ‚ญใƒผใƒฏใƒผใƒ‰ใ€ใพใŸ ```html <script type="module"> -import * as THREE from './resources/threejs/r110/build/three.module.js'; +import * as THREE from './resources/threejs/r119/build/three.module.js'; ...
true
Other
mrdoob
three.js
87e8946694297c8751a3941160f513b1cb4227e2.json
add ja translation with orginal script
threejs/lessons/ja/threejs-primitives.md
@@ -0,0 +1,546 @@ +Title: Three.js ใฎใƒ—ใƒชใƒŸใƒ†ใ‚ฃใƒ–ใ€€ +Description: three.js ใƒ—ใƒชใƒŸใƒ†ใ‚ฃใƒ–ใฎๆ—…ใ€‚ +TOC: ใƒ—ใƒชใƒŸใƒ†ใ‚ฃใƒ– + +This article is one in a series of articles about three.js. +The first article was [about fundamentals](threejs-fundamentals.html). +If you haven't read that yet you might want to start there. +ใ“ใฎ่จ˜ไบ‹ใฏthree.jsใซใคใ„ใฆใฎใ‚ทใƒชใƒผใ‚บ่จ˜ไบ‹ใฎไธ€ใคใงใ™ใ€‚ +ๆœ€...
false
Other
mrdoob
three.js
682f4bd31093fe1fd5b70cb40c8f83bd245d5371.json
add translation kr/threejs-game.md
threejs/lessons/kr/threejs-game.md
@@ -0,0 +1,1878 @@ +Title: Three.js๋กœ ๊ฒŒ์ž„ ๋งŒ๋“ค๊ธฐ +Description: Three.js๋กœ ๊ฒŒ์ž„์„ ๋งŒ๋“ค์–ด๋ด…๋‹ˆ๋‹ค +Category: solutions +TOC: ๊ฒŒ์ž„ ๋งŒ๋“ค๊ธฐ + +์ œ๊ฐ€ ๊ฝค ๋งŽ์ด ๋ฐ›์•˜๋˜ ์งˆ๋ฌธ ์ค‘ ํ•˜๋‚˜๊ฐ€ Three.js๋กœ ๊ฒŒ์ž„์„ ๋งŒ๋“œ๋Š” ๋ฐฉ๋ฒ•์— ๊ด€ํ•œ ๊ฒƒ์ด์—ˆ์Šต๋‹ˆ๋‹ค. ๊ธฐ์ดˆ์ ์ธ ๊ฒƒ์ด๊ธด ํ•ด๋„ ๋ถ€๋”” ์ด ๊ธ€์— ์—ฌ๋Ÿฌ๋ถ„์ด ์›ํ–ˆ๋˜ ๋‚ด์šฉ์ด ์žˆ๋‹ค๋ฉด ์ข‹๊ฒ ๋„ค์š”. + +๊ธ€์„ ์“ฐ๋Š” ํ˜„์žฌ๋ฅผ ๊ธฐ์ค€์œผ๋กœ, ์•„๋งˆ ์ด ๊ธ€์ด ์ด ์‹œ๋ฆฌ์ฆˆ์—์„œ ๊ฐ€์žฅ ๊ธด ๊ธ€์ด ๋  ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค. ์˜ˆ์ œ๋กœ ์“ด ์ฝ”๋“œ๊ฐ€ ์ง€๋‚˜์น˜๊ฒŒ ์ „๋ฌธ์ ์œผ๋กœ ๋ณด์ผ ์ˆ˜๋„ ์žˆ์ง€๋งŒ ๊ทธ๊ฑด ์˜ˆ์ œ๋ฅผ ๋งŒ๋“ค๋ฉฐ ๋ฌธ์ œ๊ฐ€ ์ƒ๊ธธ ๋•Œ๋งˆ๋‹ค ์ด...
false
Other
mrdoob
three.js
d30d88526bb8c4017084e473d2a125225590bc8e.json
add translation kr/threejs-voxel-geometry.md
threejs/lessons/kr/threejs-voxel-geometry.md
@@ -0,0 +1,1088 @@ +Title: Three.js ๋ณต์…€ Geometry +Description: ๋งˆ์ธํฌ๋ž˜ํ”„ํŠธ ๊ฐ™์€ ๋ณต์…€ geometry๋ฅผ ๋งŒ๋“œ๋Š” ๋ฒ•์„ ์•Œ์•„๋ด…๋‹ˆ๋‹ค +TOC: ๋ณต์…€ Geometry(๋งˆ์ธํฌ๋ž˜ํ”„ํŠธ) ๋งŒ๋“ค๊ธฐ + +โ€ป [๋ณต์…€](https://ko.wikipedia.org/wiki/%EB%B3%B5%EC%85%80): Voxel, ๋ณผ๋ฅจ(volume, ๋ถ€ํ”ผ)๊ณผ ํ”ฝ์…€(pixel)์˜ ํ•ฉ์„ฑ์–ด๋กœ, ๋งˆ์ธํฌ๋ž˜ํ”„ํŠธ์˜ ๋ธ”๋ก์ฒ˜๋Ÿผ ๋ถ€ํ”ผ๊ฐ€ ์žˆ๋Š” ํ”ฝ์…€์„ ๋งํ•ฉ๋‹ˆ๋‹ค. ์—ญ์ฃผ. + +์ด ์ฃผ์ œ๋Š” ๊ฝค ๋งŽ์€ ์ปค๋ฎค๋‹ˆํ‹ฐ์— ๊ณตํ†ต์ ์œผ๋กœ ์˜ฌ๋ผ์˜ค๋Š” ์ฃผ์ œ์ž…๋‹ˆ๋‹ค. "๋งˆ์ธํฌ๋ž˜ํ”„ํŠธ ๋ธ”๋ก ๊ฐ™์€ ๋ณต์…€์„ ์–ด...
false
Other
mrdoob
three.js
1f3f78f42d008cb920b44930aedf5f55ec87ffbe.json
add translation kr/threejs-cleanup.md
threejs/lessons/kr/threejs-cleanup.md
@@ -0,0 +1,412 @@ +Title: Three.js ๋ฉ”๋ชจ๋ฆฌ ํ•ด์ œํ•˜๊ธฐ +Description: Three.js๋ฅผ ์‚ฌ์šฉํ•  ๋•Œ ๋ฉ”๋ชจ๋ฆฌ๋ฅผ ํ•ด์ œํ•˜๋Š” ๋ฒ•์„ ์•Œ์•„๋ด…๋‹ˆ๋‹ค +TOC: ๋ฉ”๋ชจ๋ฆฌ ํ•ด์ œํ•˜๊ธฐ + +Three.js ์•ฑ์€ ์ƒ๊ฐ๋ณด๋‹ค ๋งŽ์€ ๋ฉ”๋ชจ๋ฆฌ๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. 3D ๋ชจ๋ธ์˜ ์ •์  ๋ฐ์ดํ„ฐ๋Š” ๋ณดํ†ต 1MB์—์„œ 20MB ์ •๋„์˜ ๋ฉ”๋ชจ๋ฆฌ๋ฅผ ์ฐจ์ง€ํ•˜์ฃ . ํ…์Šค์ฒ˜๋กœ JPG ํŒŒ์ผ์„ ์‚ฌ์šฉํ•˜๋Š” ๋ชจ๋ธ์€ ํ…์Šค์ฒ˜๋ฅผ ์‚ฌ์šฉํ•˜๊ธฐ ์œ„ํ•ด JPG ํŒŒ์ผ์˜ ์••์ถ•์„ ์™„์ „ํžˆ ํ’€์–ด์•ผ ํ•˜๋Š”๋ฐ, ์ด ํ…์Šค์ฒ˜๋Š” 1024x1024๋‹น ์•ฝ 4์—์„œ 6MB ์ •๋„์˜ ๋ฉ”๋ชจ๋ฆฌ๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. + +๋Œ€๋‹ค์ˆ˜์˜ Three.js ์•ฑ์€ ์ž์›์„ ํ•œ ๋ฒˆ ๋ถˆ...
false
Other
mrdoob
three.js
2a76908bcf50c966146e593ea6efd174382adf6a.json
add translation kr/threejs-billboards.md
threejs/lessons/kr/threejs-billboards.md
@@ -0,0 +1,286 @@ +Title: Three.js ๋นŒ๋ณด๋“œ(Billboards) +Description: ๋ฌผ์ฒด๊ฐ€ ํ•ญ์ƒ ์นด๋ฉ”๋ผ๋ฅผ ๋ฐ”๋ผ๋ณด๋„๋ก ํ•˜๋Š” ๋ฒ•์„ ์•Œ์•„๋ด…๋‹ˆ๋‹ค +TOC: ๋นŒ๋ณด๋“œ์™€ ํŒŒ์‚ฌ๋“œ + +[์ด์ „ ๊ธ€](threejs-canvas-textures.html)์—์„œ๋Š” `CanvasTexture`๋ฅผ ์ด์šฉํ•ด ์บ๋ฆญํ„ฐ์— ์ด๋ฆ„ํ‘œ/๋ช…์ฐฐ์„ ๋ถ™์ด๋Š” ๋ฒ•์„ ์•Œ์•„๋ดค์Šต๋‹ˆ๋‹ค. ๋•Œ๋กœ๋Š” ์ด ์ด๋ฆ„ํ‘œ๊ฐ€ ํ•ญ์ƒ ์นด๋ฉ”๋ผ๋ฅผ ํ–ฅํ•˜๊ฒŒ ํ•ด์•ผ ํ•  ๊ฒฝ์šฐ๋„ ์žˆ๊ฒ ์ฃ . Three.js์˜ `Sprite`์™€ `SpriteMaterial`์„ ์‚ฌ์šฉํ•˜๋ฉด ์ด๊ฑธ ์‰ฝ๊ฒŒ ๊ตฌํ˜„ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. + +[์บ”๋ฒ„์Šค ํ…์Šค์ฒ˜์— ๊ด€ํ•œ ๊ธ€](t...
false
Other
mrdoob
three.js
5349e13eee8458491a664a63e5873b18d6687ed2.json
add translation kr/threejs-canvas-texture.md
threejs/lessons/kr/threejs-canvas-textures.md
@@ -0,0 +1,381 @@ +Title: Three.js ์บ”๋ฒ„์Šค ํ…์Šค์ฒ˜ +Description: ์บ”๋ฒ„์Šค๋ฅผ Three.js ํ…์Šค์ฒ˜๋กœ ์“ฐ๋Š” ๋ฐฉ๋ฒ•์„ ์•Œ์•„๋ด…๋‹ˆ๋‹ค +TOC: ์บ”๋ฒ„์Šค๋กœ ๋™์  ํ…์Šค์ฒ˜ ๋งŒ๋“ค๊ธฐ + +โ€ป ์ด ๊ธ€์€ [ํ…์Šค์ฒ˜์— ๊ด€ํ•œ ๊ธ€](threejs-textures.html)์—์„œ ์ด์–ด์ง‘๋‹ˆ๋‹ค. ์ด์ „ ๊ธ€์„ ์ฝ์ง€ ์•Š์•˜๋‹ค๋ฉด ๋จผ์ € ์ฝ๊ณ  ์˜ค๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค. + +[์ด์ „ ๊ธ€](threejs-textures.html)์—์„œ ํ…์Šค์ฒ˜๋ฅผ ๋‹ค๋ฃฐ ๋•Œ๋Š” ์ฃผ๋กœ ์ด๋ฏธ์ง€ ํŒŒ์ผ๋กœ ํ…์Šค์ฒ˜๋ฅผ ๋งŒ๋“ค์—ˆ์Šต๋‹ˆ๋‹ค. ํ•˜์ง€๋งŒ ๊ฒฝ์šฐ์— ๋”ฐ๋ผ์„œ๋Š” ๋Ÿฐํƒ€์ž„์— ํ…์Šค์ฒ˜๋ฅผ ๋งŒ๋“ค์–ด์•ผ ํ•  ์ˆ˜๋„ ์žˆ์ฃ . `CanvasTexture`๋ฅผ ์‚ฌ์šฉ...
false
Other
mrdoob
three.js
c99ad7363cb220d8851dd818f5b33c31f5b477b5.json
add translation kr/threejs-indexed-textures.md
threejs/lessons/kr/threejs-indexed-textures.md
@@ -0,0 +1,594 @@ +Title: ํ”ผํ‚น๊ณผ ์ƒ‰์ƒ์— ์ธ๋ฑ์Šค ํ…์Šค์ฒ˜ ์‚ฌ์šฉํ•˜๊ธฐ +Description: ์ธ๋ฑ์Šค ํ…์Šค์ฒ˜๋ฅผ ์‚ฌ์šฉํ•ด ํ”ผํ‚น์„ ๊ตฌํ˜„ํ•˜๊ณ , ์ƒ‰์ƒ์„ ์ •ํ•˜๋Š” ๋ฒ•์„ ์•Œ์•„๋ด…๋‹ˆ๋‹ค +TOC: ํ”ผํ‚น๊ณผ ์ƒ‰์ƒ์— ์ธ๋ฑ์Šค ํ…์Šค์ฒ˜ ์‚ฌ์šฉํ•˜๊ธฐ + +โ€ป ์ด ๊ธ€์€ [HTML ์š”์†Œ๋ฅผ 3D๋กœ ์ •๋ ฌํ•˜๊ธฐ](threejs-align-html-elements-to-3d.html)์—์„œ ์ด์–ด์ง‘๋‹ˆ๋‹ค. ์ด์ „ ๊ธ€์„ ์ฝ์ง€ ์•Š์•˜๋‹ค๋ฉด ๋จผ์ € ์ฝ๊ณ  ์˜ค๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค. + + +Three.js๋ฅผ ์“ฐ๋‹ค๋ณด๋ฉด ์ฐฝ์˜์ ์ธ ํ•ด๊ฒฐ๋ฒ•์ด ํ•„์š”ํ•  ๋•Œ๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค. ์ €๋„ ๋‚˜๋ฆ„ ์‹œ๋ฆฌ์ฆˆ๋ฅผ ์ง„ํ–‰ํ•˜๋ฉฐ ๋‚˜๋ฆ„ ๋งŽ์€ ํ•ด๊ฒฐ๋ฒ•์„ ์ฐพ๊ณ , ์ ์–ด ๋†“์•˜์ฃ . ํ˜น ...
false
Other
mrdoob
three.js
a511e81b9b8d3339c77f04d4e027b05507bfcdb6.json
Fix sun positioning in sky shader example (#21575) * Fix sun positioning in sky shader example * Fix sun positioning in ocean shader example * Update webgl_shaders_ocean.html Co-authored-by: Michael Herzog <michael.herzog@human-interactive.org>
examples/webgl_shaders_ocean.html
@@ -94,20 +94,20 @@ skyUniforms[ 'mieDirectionalG' ].value = 0.8; const parameters = { - inclination: 0.49, - azimuth: 0.205 + inclination: 0.02, + azimuth: 0.045 }; const pmremGenerator = new THREE.PMREMGenerator( renderer ); function updateSun() { - const theta = M...
true
Other
mrdoob
three.js
a511e81b9b8d3339c77f04d4e027b05507bfcdb6.json
Fix sun positioning in sky shader example (#21575) * Fix sun positioning in sky shader example * Fix sun positioning in ocean shader example * Update webgl_shaders_ocean.html Co-authored-by: Michael Herzog <michael.herzog@human-interactive.org>
examples/webgl_shaders_sky.html
@@ -42,8 +42,8 @@ rayleigh: 3, mieCoefficient: 0.005, mieDirectionalG: 0.7, - inclination: 0.49, // elevation / inclination - azimuth: 0.25, // Facing front, + inclination: 0.02, // elevation / inclination + azimuth: 0, // Facing front exposure: renderer.toneMappingExposure ...
true
Other
mrdoob
three.js
b2ed7e9aa9144e9ecc8841b915c3745b494050da.json
add bumpthree grunt task
Gruntfile.js
@@ -3,6 +3,8 @@ 'use strict'; const fs = require('fs'); +const path = require('path'); +const semver = require('semver'); module.exports = function(grunt) { @@ -66,7 +68,61 @@ module.exports = function(grunt) { }).done(); }); - grunt.registerTask('build', ['clean', 'copy', 'buildlessons']); + grunt...
false
Other
mrdoob
three.js
e145b6f4f84852c947173d52fe6cf46b3dd75342.json
fix intensity gui
threejs/lessons/threejs-lights.md
@@ -156,7 +156,7 @@ And here's our code setting up dat.GUI ```javascript const gui = new dat.GUI(); gui.addColor(new ColorGUIHelper(light, 'color'), 'value').name('color'); -gui.add(light, 'intensity', 0, 2); +gui.add(light, 'intensity', 0, 2, 0.01); ``` And here's the result @@ -204,7 +204,7 @@ const gui = new ...
true
Other
mrdoob
three.js
e145b6f4f84852c947173d52fe6cf46b3dd75342.json
fix intensity gui
threejs/threejs-lights-ambient.html
@@ -106,7 +106,7 @@ const gui = new dat.GUI(); gui.addColor(new ColorGUIHelper(light, 'color'), 'value').name('color'); - gui.add(light, 'intensity', 0, 2); + gui.add(light, 'intensity', 0, 2, 0.01); } function resizeRendererToDisplaySize(renderer) {
true
Other
mrdoob
three.js
e145b6f4f84852c947173d52fe6cf46b3dd75342.json
fix intensity gui
threejs/threejs-lights-directional-w-helper.html
@@ -126,7 +126,7 @@ const gui = new dat.GUI(); gui.addColor(new ColorGUIHelper(light, 'color'), 'value').name('color'); - gui.add(light, 'intensity', 0, 2); + gui.add(light, 'intensity', 0, 2, 0.01); makeXYZGUI(gui, light.position, 'position', updateLight); makeXYZGUI(gui, light.target.pos...
true
Other
mrdoob
three.js
e145b6f4f84852c947173d52fe6cf46b3dd75342.json
fix intensity gui
threejs/threejs-lights-directional.html
@@ -109,7 +109,7 @@ const gui = new dat.GUI(); gui.addColor(new ColorGUIHelper(light, 'color'), 'value').name('color'); - gui.add(light, 'intensity', 0, 2); + gui.add(light, 'intensity', 0, 2, 0.01); gui.add(light.target.position, 'x', -10, 10); gui.add(light.target.position, 'z', -10, 10); ...
true
Other
mrdoob
three.js
e145b6f4f84852c947173d52fe6cf46b3dd75342.json
fix intensity gui
threejs/threejs-lights-hemisphere.html
@@ -109,7 +109,7 @@ const gui = new dat.GUI(); gui.addColor(new ColorGUIHelper(light, 'color'), 'value').name('skyColor'); gui.addColor(new ColorGUIHelper(light, 'groundColor'), 'value').name('groundColor'); - gui.add(light, 'intensity', 0, 2); + gui.add(light, 'intensity', 0, 2, 0.01); } f...
true
Other
mrdoob
three.js
e145b6f4f84852c947173d52fe6cf46b3dd75342.json
fix intensity gui
threejs/threejs-lights-point-physically-correct.html
@@ -122,7 +122,7 @@ const gui = new dat.GUI(); gui.addColor(new ColorGUIHelper(light, 'color'), 'value').name('color'); - gui.add(light, 'decay', 0, 4); + gui.add(light, 'decay', 0, 4, 0.01); gui.add(light, 'power', 0, 1220); makeXYZGUI(gui, light.position, 'position');
true
Other
mrdoob
three.js
e145b6f4f84852c947173d52fe6cf46b3dd75342.json
fix intensity gui
threejs/threejs-lights-point.html
@@ -122,7 +122,7 @@ const gui = new dat.GUI(); gui.addColor(new ColorGUIHelper(light, 'color'), 'value').name('color'); - gui.add(light, 'intensity', 0, 2); + gui.add(light, 'intensity', 0, 2, 0.01); gui.add(light, 'distance', 0, 40).onChange(updateLight); makeXYZGUI(gui, light.position, '...
true
Other
mrdoob
three.js
e145b6f4f84852c947173d52fe6cf46b3dd75342.json
fix intensity gui
threejs/threejs-lights-rectarea.html
@@ -139,7 +139,7 @@ const gui = new dat.GUI(); gui.addColor(new ColorGUIHelper(light, 'color'), 'value').name('color'); - gui.add(light, 'intensity', 0, 10); + gui.add(light, 'intensity', 0, 10, 0.01); gui.add(light, 'width', 0, 20).onChange(updateLight); gui.add(light, 'height', 0, 20).onCh...
true
Other
mrdoob
three.js
e145b6f4f84852c947173d52fe6cf46b3dd75342.json
fix intensity gui
threejs/threejs-lights-spot-w-helper.html
@@ -139,10 +139,10 @@ const gui = new dat.GUI(); gui.addColor(new ColorGUIHelper(light, 'color'), 'value').name('color'); - gui.add(light, 'intensity', 0, 2); + gui.add(light, 'intensity', 0, 2, 0.01); gui.add(light, 'distance', 0, 40).onChange(updateLight); gui.add(new DegRadHelper(light, '...
true
Other
mrdoob
three.js
d0665689979805ab3e0e15572f3e5e0d231ceb48.json
change onChange to updateLight
threejs/lessons/threejs-lights.md
@@ -286,18 +286,18 @@ Then we can use that for both the light's position and the target's position like this ```javascript -+const onChange = () => { ++function updateLight{ + light.target.updateMatrixWorld(); + helper.update(); -+}; -+onChange(); ++} ++updateLight(); const gui = new dat.GUI(); gui.addColor...
true
Other
mrdoob
three.js
d0665689979805ab3e0e15572f3e5e0d231ceb48.json
change onChange to updateLight
threejs/threejs-lights-directional-w-helper.html
@@ -118,18 +118,18 @@ const helper = new THREE.DirectionalLightHelper(light); scene.add(helper); - const onChange = () => { + function updateLight() { light.target.updateMatrixWorld(); helper.update(); - }; - onChange(); + } + updateLight(); const gui = new dat.GUI(); ...
true