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 | a43ab685966c758c6bb4284e9d9dddcd373b1abf.json | fix fixes from testing with check-all-the-errors | threejs/lessons/threejs-transparency.md | @@ -8,7 +8,7 @@ First we'll go over the easy part. Let's make a
scene with 8 cubes placed in a 2x2x2 grid.
We'll start with the example from
-[the article on rendering on demand](threejs-rendering-on-demand.md)
+[the article on rendering on demand](threejs-rendering-on-demand.html)
which had 3 cubes and modify it ... | true |
Other | mrdoob | three.js | a43ab685966c758c6bb4284e9d9dddcd373b1abf.json | fix fixes from testing with check-all-the-errors | threejs/lessons/threejs-webvr-look-to-select.md | @@ -22,7 +22,7 @@ selected.
Let's implement "look to select"! We'll start with
[an example from the previous article](threejs-webvr.html)
and to do it we'll add the `PickHelper` we made in
-[the article on picking](threejs-picking). Here it is.
+[the article on picking](threejs-picking.html). Here it is.
```js
c... | true |
Other | mrdoob | three.js | d0d0a944c1f0fe2f96328d92d1a59edf0f9f197a.json | fix voxel example for r112 | threejs/lessons/threejs-voxel-geometry.md | @@ -1123,36 +1123,25 @@ function updateCellGeometry(x, y, z) {
const cellZ = Math.floor(z / cellSize);
const cellId = world.computeCellId(x, y, z);
let mesh = cellIdToMesh[cellId];
- if (!mesh) {
- const geometry = new THREE.BufferGeometry();
- const positionNumComponents = 3;
- const normalNumCompon... | true |
Other | mrdoob | three.js | d0d0a944c1f0fe2f96328d92d1a59edf0f9f197a.json | fix voxel example for r112 | threejs/threejs-voxel-geometry-culled-faces-ui.html | @@ -396,36 +396,25 @@
const cellZ = Math.floor(z / cellSize);
const cellId = world.computeCellId(x, y, z);
let mesh = cellIdToMesh[cellId];
- if (!mesh) {
- const geometry = new THREE.BufferGeometry();
- const positionNumComponents = 3;
- const normalNumComponents = 3;
- const uvNu... | true |
Other | mrdoob | three.js | 58bee4c3b27a60c6e91836be76854c6fcc92e14a.json | use new lesson-builder | Gruntfile.js | @@ -134,7 +134,7 @@ module.exports = function(grunt) {
thumbnailBackground: 'threejsfundamentals-background.jpg',
text: [
{
- font: 'bold 100px sans-serif',
+ font: 'bold 100px lesson-font',
verticalSpacing: 100,
offset: [100, 120],
textAlign: 'l... | false |
Other | mrdoob | three.js | 729696c05eef07e5cafb0c76e73a677b959d9359.json | Update doc for Matrix4 | docs/api/en/math/Matrix4.html | @@ -88,7 +88,7 @@ <h2>Extracting position, rotation and scale</h2>
[page:Vector3.setFromMatrixScale]: can be used to extract the scale component.
</li>
<li>
- [page:Quaternion.setFromRotationMatrix], [page:Euler.setFromRotationMatrix] or [page:.extractRotation extractRotation] can be used to extract... | false |
Other | mrdoob | three.js | 02c0511ad7bc9e79fedd2861b1ad346997f28dee.json | Add traversal note | docs/api/en/core/Object3D.html | @@ -413,15 +413,15 @@ <h3>[method:null traverse]( [param:Function callback] )</h3>
<p>
callback - A function with as first argument an object3D object.<br /><br />
- Executes the callback on this object and all descendants.
+ Executes the callback on this object and all descendants. <b>Warning:</b> Do not add... | false |
Other | mrdoob | three.js | cfa00dc9d45917ff27e0e2c0048d25823173a34a.json | add warnings for translations that need update | threejs/lessons/ru/threejs-fundamentals.md | @@ -2,6 +2,8 @@ Title: Основы Three.js
Description: Твой первый урок по Three.js начинаетсся с основ
TOC: Базовые принципы
+{{{warning msgId="updateNeeded"}}}
+
Это первая статья в серии статей о three.js.
[Three.js](http://threejs.org) это 3D-библиотека, которая максимально
упрощает создание 3D-контента на веб... | true |
Other | mrdoob | three.js | cfa00dc9d45917ff27e0e2c0048d25823173a34a.json | add warnings for translations that need update | threejs/lessons/ru/threejs-optimize-lots-of-objects-animated.md | @@ -2,6 +2,8 @@ Title: Three.js Оптимизация большого количества а
Description: Анимированные объединенные объекты с морфтаргетами
TOC: Оптимизация множества анимированных объектов
+{{{warning msgId="updateNeeded"}}}
+
Эта статья является продолжением [статьи об оптимизации множества объектов
](threejs-optimize-l... | true |
Other | mrdoob | three.js | a2dfa80df8938398f1b303a83beefbaadea706ed.json | translate threejs-textures to zh-cn | threejs/lessons/zh_cn/threejs-textures.md | @@ -0,0 +1,517 @@
+Title: Three.js 纹理
+Description: 在three.js中使用纹理
+TOC: 纹理
+
+本文是关于 three.js 系列文章的一部分。第一篇文章是 [three.js 基础](threejs-fundamentals.html)。上一篇[文章](threejs-setup.html)是关于本文的环境搭建。如果你还没有读过它,建议先从那里开始。
+
+纹理是Three.js中的一种大话题,我还不能100%地确定在什么层面上解释它们,但我会试着去做它。这里面有很多主题,而且很多主题是相互关联的,所以很难一下子解释清楚。下面是本文的快速目录。
+
+<ul>
+<li... | false |
Other | mrdoob | three.js | 573635944d31d6ae28554f18eade8e5c0f8b449e.json | Improve diff of code snippet example (#163)
Co-authored-by: Torsten Knauf <Torsten.Knauf@maibornwolff.de> | threejs/lessons/threejs-scenegraph.md | @@ -209,6 +209,7 @@ Continuing that same pattern let's add a moon.
const earthMaterial = new THREE.MeshPhongMaterial({color: 0x2233FF, emissive: 0x112244});
const earthMesh = new THREE.Mesh(sphereGeometry, earthMaterial);
+-earthMesh.position.x = 10; // note that this offset is already set in its parent's THREE.Obj... | false |
Other | mrdoob | three.js | 8808b1cd0f11d9b33c977e9c6bad74c0baf158ba.json | fix zh_cn links | threejs/lessons/zh_cn/threejs-fundamentals.md | @@ -80,7 +80,7 @@ import * as THREE from './resources/threejs/r122/build/three.module.js';
</script>
```
-拿到canvas后我们需要创建一个[WebGL渲染器(`WebGLRenderer`)](WebGLRenderer)。渲染器负责将你提供的所有数据渲染绘制到canvas上。之前还有其他渲染器,比如[CSS渲染器(`CSSRenderer`)](CSSRenderer)、[Canvas渲染器(`CanvasRenderer`)](CanvasRenderer)。将来也可能会有[WebGL2渲染器(`WebGL2Ren... | false |
Other | mrdoob | three.js | a8be80b94fb5538c7107944fc44b97ec86cc4c27.json | fix zh_cn links | threejs/lessons/zh_cn/threejs-fundamentals.md | @@ -29,21 +29,21 @@ ES6的语法。[点击这里查看你需要提前掌握的东西](threejs-prereq
上图需要注意的事项:
-* 首先有一个[渲染器](`Renderer`)。这可以说是three.js的主要对象。你传入一个[场景](`Scene`)和一个[摄像机](`Camera`)到[渲染器](`Renderer`)中,然后它会将摄像机视椎体中的三维场景渲染成一个二维图片显示在画布上。
+* 首先有一个[渲染器(`Renderer`)](Renderer)。这可以说是three.js的主要对象。你传入一个[场景(`Scene`)](Scene)和一个[摄像机(`Camera`)](Camera)到[... | false |
Other | mrdoob | three.js | aacfe246634d71c2e2ba181225d41577392a6ab5.json | fix links at build time instead of run time | Gruntfile.js | @@ -11,6 +11,14 @@ const path = require('path');
const semver = require('semver');
const liveEditor = require('@gfxfundamentals/live-editor');
const liveEditorPath = path.dirname(require.resolve('@gfxfundamentals/live-editor'));
+const jsdom = require('jsdom');
+const {JSDOM} = jsdom;
+
+// make a fake window becaus... | true |
Other | mrdoob | three.js | aacfe246634d71c2e2ba181225d41577392a6ab5.json | fix links at build time instead of run time | threejs/lessons/resources/lesson.js | @@ -38,345 +38,6 @@ function showContributors() {
showContributors();
$(document).ready(function($){
- const supportedLangs = {
- 'en': true,
- 'zh': true,
- };
-
- function insertLang(codeKeywordLinks) {
- const lang = document.documentElement.lang.substr(0, 2).toLowerCase();
- const langPart = `#ap... | true |
Other | mrdoob | three.js | 745db1558d58eef42406e18d7be43e20a5746cac.json | add chinese font family
Change-Id: I0820dbe78552ddf50dde776ea19b207ef3a7ecaf | threejs/lessons/zh_cn/lang.css | @@ -0,0 +1,4 @@
+:root {
+ --article-font-family: "PingFang SC, Microsoft YaHei";
+ --headline-font-family: "PingFang SC, Microsoft YaHei";
+}
\ No newline at end of file | true |
Other | mrdoob | three.js | 745db1558d58eef42406e18d7be43e20a5746cac.json | add chinese font family
Change-Id: I0820dbe78552ddf50dde776ea19b207ef3a7ecaf | threejs/lessons/zh_cn/langinfo.hanson | @@ -1,7 +1,7 @@
{
language: '中文',
langCode: 'zh_cn', // if not specified will use folder
- defaultExampleCaption: "点击在新标签页中打开",
+ defaultExampleCaption: "点击此处在新标签页中打开",
title: 'Three.js 基础',
description: 'Three.js 基础学习',
link: 'http://threejsfundamentals.org/', | true |
Other | mrdoob | three.js | 2c8de4b6c9fd3ea8455e33cc549786d96213a497.json | Translate primitives to zh_cn (#153)
* Fix link error in ja/threejs-post-processing.md
* translate primitives to zh_cn
Co-authored-by: Evan <liuzhenqiang@ecityos.com> | threejs/lessons/zh_cn/langinfo.hanson | @@ -7,7 +7,7 @@
link: 'http://threejsfundamentals.org/',
commentSectionHeader: '<div>有问题? <a href="http://stackoverflow.com/questions/tagged/three.js">在 Stackoverflow 上提问</a>.</div>\n <div><a href="https://github.com/gfxfundamentals/threejsfundamentals/issues/new?assignees=&labels=suggested+topic&template=... | true |
Other | mrdoob | three.js | 2c8de4b6c9fd3ea8455e33cc549786d96213a497.json | Translate primitives to zh_cn (#153)
* Fix link error in ja/threejs-post-processing.md
* translate primitives to zh_cn
Co-authored-by: Evan <liuzhenqiang@ecityos.com> | threejs/lessons/zh_cn/threejs-primitives.md | @@ -0,0 +1,321 @@
+Title: Three.js 图元
+Description: 关于 Three.js 图元
+TOC: 图元
+
+这篇文章是关于 Three.js 系列文章中的一篇。第一篇是 [基础](threejs-fundamentals.html)。
+如果你还没有阅读,建议从那里开始。
+
+Three.js 有很多图元。图元就是一些 3D 的形状,在运行时根据大量参数生成。
+
+使用图元是种很常见的做法,像使用球体作为地球,或者使用大量盒子来绘制 3D 图形。
+尤其是用来试验或者刚开始学习 3D。
+对大多数 3D 应用来说,更常见的做法是让美术在 3D 建模软件中创建 3D 模型,
+像 ... | true |
Other | mrdoob | three.js | 3dd0613be17b2f9f2dfe4f27b7be853dde30ff8f.json | use github actions | .github/workflows/deploy-to-gh-pages.yml | @@ -0,0 +1,30 @@
+name: Build and Deploy
+on:
+ push:
+ branches:
+ - master
+jobs:
+ build-and-deploy:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout 🍔🍟🥤
+ uses: actions/checkout@v2.3.1
+ with:
+ persist-credentials: false
+
+ - name: Use Node.js 😂
+ us... | true |
Other | mrdoob | three.js | 3dd0613be17b2f9f2dfe4f27b7be853dde30ff8f.json | use github actions | .travis.yml | @@ -1,18 +0,0 @@
-language: node_js
-node_js:
- - "12.16.2"
-script:
- - npm run build-ci
-env:
- global:
- - COMMIT_AUTHOR_EMAIL: "github@greggman.com"
-
-deploy:
- provider: pages
- skip-cleanup: true
- github-token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
- keep-h... | true |
Other | mrdoob | three.js | b7e0b6de0f2ca3ac08591a3e567478378932dc46.json | update the chinese threejsfundamentals article | threejs/lessons/zh_cn/threejs-fundamentals.md | @@ -31,21 +31,35 @@ Three.js经常会和WebGL混淆,
* 有一个`Renderer`。这可以说是three.js的主要对象。你传入了一个`Scene`和一个`Camera`到`Renderer`里面,然后他来渲染 (画)出在相机视椎体中的3D场景,作为一个2D的图片在画布上。
-* 有一个[scenegraph](threejs-scenegraph.html) 它是一个类似结构的树,由很多对象组成,比如一个`Scene`对象 ,多个`Mesh`对象,`Light`对象,`Group`,`Object3D`,和`Camera`对象。一个`Scene`对象定义了场景图的根,并包含背景色和雾等属性。... | false |
Other | mrdoob | three.js | 1a6d8e3e92155bdab876ab5b422df2646784185e.json | Extract light from control into light section | examples/webgl_geometry_convex.html | @@ -43,11 +43,13 @@
controls.minDistance = 20;
controls.maxDistance = 50;
controls.maxPolarAngle = Math.PI / 2;
-
+
+ // ambient light
+
scene.add( new THREE.AmbientLight( 0x222222 ) );
-
- // light
-
+
+ // point light
+
const light = new THREE.PointLight( 0xffffff, 1 ... | false |
Other | mrdoob | three.js | d33553080ed90db6ebb59da4f30c094f6ea8fd34.json | Update material properties for point clouds | examples/jsm/loaders/3DMLoader.js | @@ -428,13 +428,17 @@ Rhino3dmLoader.prototype = Object.assign( Object.create( Loader.prototype ), {
case 'PointSet':
var geometry = loader.parse( obj.geometry );
- var _color = attributes.drawColor;
- var color = new Color( _color.r / 255.0, _color.g / 255.0, _color.b / 255.0 );
- var material = ne... | false |
Other | mrdoob | three.js | 418ccee35875f04d966af667fea66dad4781d70c.json | remove redundant brackets | src/core/Object3D.js | @@ -320,7 +320,7 @@ Object3D.prototype = Object.assign( Object.create( EventDispatcher.prototype ),
}
- if ( ( object && object.isObject3D ) ) {
+ if ( object && object.isObject3D ) {
if ( object.parent !== null ) {
| true |
Other | mrdoob | three.js | 418ccee35875f04d966af667fea66dad4781d70c.json | remove redundant brackets | src/core/Raycaster.js | @@ -72,13 +72,13 @@ Object.assign( Raycaster.prototype, {
setFromCamera: function ( coords, camera ) {
- if ( ( camera && camera.isPerspectiveCamera ) ) {
+ if ( camera && camera.isPerspectiveCamera ) {
this.ray.origin.setFromMatrixPosition( camera.matrixWorld );
this.ray.direction.set( coords.x, coor... | true |
Other | mrdoob | three.js | b8c64be550e059a0af23fd65ecc6ef76b10983d3.json | Example documentation typos | docs/examples/en/animations/MMDAnimationHelper.html | @@ -153,7 +153,7 @@ <h3>[method:MMDAnimationHelper remove]( [param:Object3D object] )</h3>
Remove an [page:SkinnedMesh], [page:Camera], or [page:Audio] from helper.
</p>
- <h3>[method:MMDAnimationHelper update]( [param:Nummber delta] )</h3>
+ <h3>[method:MMDAnimationHelper update]( [param:Number delta] )</h3>... | true |
Other | mrdoob | three.js | b8c64be550e059a0af23fd65ecc6ef76b10983d3.json | Example documentation typos | docs/examples/en/animations/MMDPhysics.html | @@ -78,7 +78,7 @@ <h3>[method:MMDPhysicsHelper createHelper]()</h3>
<h3>[method:CCDIKSolver reset]()</h3>
<p>
- Resets Rigid bodies transorm to current bone's.
+ Resets Rigid bodies transform to current bone's.
</p>
<h3>[method:CCDIKSolver setGravity]( [param:Vector3 gravity] )</h3> | true |
Other | mrdoob | three.js | b8c64be550e059a0af23fd65ecc6ef76b10983d3.json | Example documentation typos | docs/examples/en/controls/FirstPersonControls.html | @@ -68,12 +68,12 @@ <h3>[property:Number heightCoef]</h3>
<h3>[property:Number heightMax]</h3>
<p>
- Upper camera height limit used for movement speed adjusment. Default is *1*.
+ Upper camera height limit used for movement speed adjustment. Default is *1*.
</p>
<h3>[property:Number heightMin]</h3>
... | true |
Other | mrdoob | three.js | b8c64be550e059a0af23fd65ecc6ef76b10983d3.json | Example documentation typos | docs/examples/en/controls/OrbitControls.html | @@ -13,7 +13,7 @@ <h1>[name]</h1>
Orbit controls allow the camera to orbit around a target.<br>
To use this, as with all files in the /examples directory, you will have to
- include the file seperately in your HTML.
+ include the file separately in your HTML.
</p>
| true |
Other | mrdoob | three.js | b8c64be550e059a0af23fd65ecc6ef76b10983d3.json | Example documentation typos | docs/examples/en/controls/TransformControls.html | @@ -102,7 +102,7 @@ <h3>[property:Object3D object]</h3>
<h3>[property:Number rotationSnap]</h3>
<p>
- By default, 3D objects are continously rotated. If you set this property to a numeric value (radians), you can define in which
+ By default, 3D objects are continuously rotated. If you set this property to ... | true |
Other | mrdoob | three.js | b8c64be550e059a0af23fd65ecc6ef76b10983d3.json | Example documentation typos | docs/examples/en/exporters/ColladaExporter.html | @@ -57,7 +57,7 @@ <h3>[method:null parse]( [param:Object3D input], [param:Function onCompleted], [
// Collada file content
data: "",
- // List of referenced texures
+ // List of referenced textures
textures: [{
// File directory, name, and extension of the texture data | true |
Other | mrdoob | three.js | b8c64be550e059a0af23fd65ecc6ef76b10983d3.json | Example documentation typos | docs/examples/en/helpers/VertexNormalsHelper.html | @@ -55,7 +55,7 @@ <h2>Properties</h2>
<h3>[property:Object matrixAutoUpdate]</h3>
<p>
See [page:Object3D.matrixAutoUpdate]. Set to *false* here as the helper is using the
- objects's [page:Object3D.matrixWorld matrixWorld].
+ object's [page:Object3D.matrixWorld matrixWorld].
</p>
<h3>[property:Obj... | true |
Other | mrdoob | three.js | b8c64be550e059a0af23fd65ecc6ef76b10983d3.json | Example documentation typos | docs/examples/en/helpers/VertexTangentsHelper.html | @@ -54,7 +54,7 @@ <h2>Properties</h2>
<h3>[property:Object matrixAutoUpdate]</h3>
<p>
See [page:Object3D.matrixAutoUpdate]. Set to *false* here as the helper is using the
- objects's [page:Object3D.matrixWorld matrixWorld].
+ object's [page:Object3D.matrixWorld matrixWorld].
</p>
<h3>[property:Obj... | true |
Other | mrdoob | three.js | b8c64be550e059a0af23fd65ecc6ef76b10983d3.json | Example documentation typos | docs/examples/en/loaders/MMDLoader.html | @@ -91,7 +91,7 @@ <h3>[method:null loadAnimation]( [param:String url], [param:Object3D object], [p
[page:Function onError] — (optional) A function to be called if an error occurs during loading. The function receives error as an argument.<br />
</p>
<p>
- Begin loading VMD motion file(s) from url(s) and fire ... | true |
Other | mrdoob | three.js | b8c64be550e059a0af23fd65ecc6ef76b10983d3.json | Example documentation typos | docs/examples/en/loaders/TGALoader.html | @@ -37,7 +37,7 @@ <h2>Code Example</h2>
console.log( ( xhr.loaded / xhr.total * 100 ) + '% loaded' );
},
- // called when the loading failes
+ // called when the loading fails
function ( error ) {
console.log( 'An error happened' ); | true |
Other | mrdoob | three.js | b8c64be550e059a0af23fd65ecc6ef76b10983d3.json | Example documentation typos | docs/examples/en/math/convexhull/ConvexHull.html | @@ -104,7 +104,7 @@ <h3>[method:ConvexHull compute]()</h3>
<h3>[method:Object computeExtremes]()</h3>
- <p>Computes the extremes values (min/max vectors) which will be used to compute the inital hull.</p>
+ <p>Computes the extremes values (min/max vectors) which will be used to compute the initial hull.</p>
... | true |
Other | mrdoob | three.js | b8c64be550e059a0af23fd65ecc6ef76b10983d3.json | Example documentation typos | docs/examples/en/math/convexhull/Face.html | @@ -10,7 +10,7 @@
<h1>[name]</h1>
<p class="desc">
- Represents a section bounded by a specific amount of half-edges. The current implmentation assumes that a face always consist of three edges.
+ Represents a section bounded by a specific amount of half-edges. The current implementation assumes that a face... | true |
Other | mrdoob | three.js | b8c64be550e059a0af23fd65ecc6ef76b10983d3.json | Example documentation typos | docs/examples/en/math/convexhull/HalfEdge.html | @@ -55,7 +55,7 @@ <h3>[property:Face face]</h3>
<h2>Methods</h2>
<h3>[method:VertexNode head]()</h3>
- <p>Returns the destintation vertex.</p>
+ <p>Returns the destination vertex.</p>
<h3>[method:VertexNode tail]()</h3>
<p>Returns the origin vertex.</p> | true |
Other | mrdoob | three.js | b8c64be550e059a0af23fd65ecc6ef76b10983d3.json | Example documentation typos | docs/examples/en/postprocessing/EffectComposer.html | @@ -137,7 +137,7 @@ <h3>[method:void setPixelRatio]( [param:Float pixelRatio] )</h3>
<p>
pixelRatio -- The device pixel ratio.<br /><br />
- Sets device pixel ratio. This is usually used for HiDPI device to prevent bluring output.
+ Sets device pixel ratio. This is usually used for HiDPI device to prevent ... | true |
Other | mrdoob | three.js | d9fa714202b9f9c687ffe848751e1565790adb56.json | Fix uniforms to support fog
Fixed uniforms of conditionalEdgeMaterial to support fog.
I think this is a bug, because its VertShader and FragShader is already support fog. | examples/js/loaders/LDrawLoader.js | @@ -998,14 +998,18 @@ THREE.LDrawLoader = ( function () {
edgeMaterial.userData.conditionalEdgeMaterial = new THREE.ShaderMaterial( {
vertexShader: conditionalLineVertShader,
fragmentShader: conditionalLineFragShader,
- uniforms: {
- diffuse: {
- value: new THREE.Color( edgeColour )
- ... | false |
Other | mrdoob | three.js | 10710ebf2cbaee16d742094bf41d74a7c2304c91.json | Fix uniforms to support fog
Fixed uniforms of conditionalEdgeMaterial to support fog.
I think this is a bug, because its VertShader and FragShader are already support fog. | examples/jsm/loaders/LDrawLoader.js | @@ -13,6 +13,8 @@ import {
MeshPhongMaterial,
MeshStandardMaterial,
ShaderMaterial,
+ UniformsLib,
+ UniformsUtils,
Vector3
} from '../../../build/three.module.js';
@@ -1016,14 +1018,18 @@ var LDrawLoader = ( function () {
edgeMaterial.userData.conditionalEdgeMaterial = new ShaderMaterial( {
verte... | false |
Other | mrdoob | three.js | c9350382c50e549c0d2960041448ffe652bbbd9b.json | use ES6 default params to simplify code (#21662)
* use ES6 default params to simplify code
* simplify code | src/core/Clock.js | @@ -1,8 +1,8 @@
class Clock {
- constructor( autoStart ) {
+ constructor( autoStart = true ) {
- this.autoStart = ( autoStart !== undefined ) ? autoStart : true;
+ this.autoStart = autoStart;
this.startTime = 0;
this.oldTime = 0; | true |
Other | mrdoob | three.js | c9350382c50e549c0d2960041448ffe652bbbd9b.json | use ES6 default params to simplify code (#21662)
* use ES6 default params to simplify code
* simplify code | src/extras/core/Curve.js | @@ -106,9 +106,7 @@ class Curve {
// Get list of cumulative segment lengths
- getLengths( divisions ) {
-
- if ( divisions === undefined ) divisions = this.arcLengthDivisions;
+ getLengths( divisions = this.arcLengthDivisions ) {
if ( this.cacheArcLengths &&
( this.cacheArcLengths.length === divisions +... | true |
Other | mrdoob | three.js | 10a33e188b7f0fa85898bf8dba6253a52c994c7b.json | Use terser in test-treeshake command (#21650) | .gitignore | @@ -19,6 +19,7 @@ test/*
test/*.cmd
test/unit/build
test/treeshake/index.bundle.js
+test/treeshake/index.bundle.min.js
**/node_modules
\ No newline at end of file | true |
Other | mrdoob | three.js | 10a33e188b7f0fa85898bf8dba6253a52c994c7b.json | Use terser in test-treeshake command (#21650) | test/rollup.treeshake.config.js | @@ -1,18 +1,34 @@
import resolve from '@rollup/plugin-node-resolve';
import filesize from 'rollup-plugin-filesize';
+import { terser } from 'rollup-plugin-terser';
export default [
{
input: 'test/treeshake/index.js',
plugins: [
resolve(),
- filesize(),
],
output: [
{
format: 'esm',
... | true |
Other | mrdoob | three.js | 0d7fb8d74f3c4d4e465b5a92ada65e1c789708e1.json | Fix typo in TransformControls.html (#22840) | docs/examples/en/controls/TransformControls.html | @@ -103,7 +103,7 @@ <h3>[property:Object3D object]</h3>
<h3>[property:Number rotationSnap]</h3>
<p>
By default, 3D objects are continuously rotated. If you set this property to a numeric value (radians), you can define in which
- steps the 3D object should be rotated. Deault is *null*.
+ steps the 3D obje... | false |
Other | mrdoob | three.js | b5c1e4d96e962e09646ab29e507a3bb1a2b23725.json | Use proper clearcoat variable (#22839) | src/renderers/shaders/ShaderLib/meshphysical.glsl.js | @@ -181,7 +181,7 @@ void main() {
vec3 Fcc = F_Schlick( material.clearcoatF0, material.clearcoatF90, dotNVcc );
- outgoingLight = outgoingLight * ( 1.0 - clearcoat * Fcc ) + clearcoatSpecular * clearcoat;
+ outgoingLight = outgoingLight * ( 1.0 - material.clearcoat * Fcc ) + clearcoatSpecular * material.clearc... | false |
Other | mrdoob | three.js | 904e56e78e4dd85e86bc36498e6a8a53bab6414d.json | Avoid clone() (#22830) | src/cameras/StereoCamera.js | @@ -4,6 +4,7 @@ import { PerspectiveCamera } from './PerspectiveCamera.js';
const _eyeRight = /*@__PURE__*/ new Matrix4();
const _eyeLeft = /*@__PURE__*/ new Matrix4();
+const _projectionMatrix = /*@__PURE__*/ new Matrix4();
class StereoCamera {
@@ -56,7 +57,7 @@ class StereoCamera {
// Off-axis stereoscop... | false |
Other | mrdoob | three.js | 6258b52c8c962d2bd0d5f47290b19202f43468a2.json | Clarify .attach() limitations (#22821) | docs/api/en/core/Object3D.html | @@ -221,7 +221,9 @@ <h3>[method:this applyQuaternion]( [param:Quaternion quaternion] )</h3>
<p>Applies the rotation represented by the quaternion to the object.</p>
<h3>[method:this attach]( [param:Object3D object] )</h3>
- <p>Adds *object* as a child of this, while maintaining the object's world transform.</p... | true |
Other | mrdoob | three.js | 6258b52c8c962d2bd0d5f47290b19202f43468a2.json | Clarify .attach() limitations (#22821) | src/core/Object3D.js | @@ -405,6 +405,8 @@ class Object3D extends EventDispatcher {
// adds object as a child of this, while maintaining the object's world transform
+ // Note: This method does not support scene graphs having non-uniformly-scaled nodes(s)
+
this.updateWorldMatrix( true, false );
_m1.copy( this.matrixWorld ).i... | true |
Other | mrdoob | three.js | 8bf2f2186eb3967b182b00910b5994112bae3dc3.json | Update SSAARenderPass.js (#22798)
Fix file references | examples/jsm/postprocessing/SSAARenderPass.js | @@ -7,7 +7,7 @@ import {
UniformsUtils,
WebGLRenderTarget
} from '../../../build/three.module.js';
-import { Pass, FullScreenQuad } from '../postprocessing/Pass.js';
+import { Pass, FullScreenQuad } from './Pass.js';
import { CopyShader } from '../shaders/CopyShader.js';
/** | false |
Other | mrdoob | three.js | b58c7cc9d42eeb0af2fd8b88a195c68db36f5f97.json | fix closingTag error in three-primitives on zh_cn | threejs/lessons/zh_cn/threejs-primitives.md | @@ -24,7 +24,7 @@ Three.js 有很多图元。图元就是一些 3D 的形状,在运行时根据
<div id="Diagram-CylinderGeometry" data-primitive="CylinderGeometry">圆柱</div>
<div id="Diagram-DodecahedronGeometry" data-primitive="DodecahedronGeometry">十二面体</div>
<div id="Diagram-ExtrudeGeometry" data-primitive="ExtrudeGeometry">受挤压的 2D 形状,及可选的斜切。
-这里我们挤压了一个心... | false |
Other | mrdoob | three.js | 26f7cb8be721cd0cb4d4bc4ab4b488d97c97fa3e.json | fix offscreen orbitcontrols | threejs/offscreencanvas-worker-orbitcontrols.js | @@ -7,13 +7,18 @@ function noop() {
class ElementProxyReceiver extends EventDispatcher {
constructor() {
super();
+ // because OrbitControls try to set style.touchAction;
+ this.style = {};
}
get clientWidth() {
return this.width;
}
get clientHeight() {
return this.height;
}
+ /... | false |
Other | mrdoob | three.js | 7ee89b908ee93833e6bd93de0db416f8f44135bb.json | add French translation | threejs/lessons/fr/threejs-fog.md | @@ -128,33 +128,26 @@ On peut l'ajouter comme ceci.
}
```
-The `near` and `far` parameters set the minimum and maximum values
-for adjusting the fog. They are set when we setup the camera.
+Les paramètres `near` et `far` définissent les valeurs minimales et maximales pour ajuster le brouillard. Ils sont définis lor... | false |
Other | mrdoob | three.js | 00933157822504e24b5138ae1351dde95fc57af2.json | add French Translation | threejs/lessons/fr/threejs-textures.md | @@ -1,5 +1,5 @@
-Title: Les textures dans Three.js
-Description: Comment utiliser les textures dans Three.js
+Title: Three.js Textures
+Description: Using textures in three.js
TOC: Textures
Cet article fait partie d'une série consacrée à Three.js. | false |
Other | mrdoob | three.js | 8b54e19b84b163a93c8f53c54de02eb18f2ff788.json | add French translation | threejs/lessons/fr/threejs-materials.md | @@ -1,6 +1,6 @@
-Title: Les Matériaux dans Three.js
-Description: Les Matériaux dans Three.js
-TOC: Matériaux
+Title: Les Materials de Three.js
+Description: Les Materials dans Three.js
+TOC: Materials
Cet article fait partie d'une série consacrée à Three.js.
Le premier article s'intitule [Principes de base](threej... | false |
Other | mrdoob | three.js | 22b2790d70d50f08c73a94770630b4bc6a1734d2.json | add French translation | threejs/lessons/fr/threejs-scenegraph.md | @@ -1,12 +1,12 @@
-Title: Graphe de scène Three.js
-Description: What's a scene graph?
+Title: Graphique de scène de Three.js
+Description: Qu'est-ce qu'un graphique de scène ?
TOC: Scenegraph
Cet article fait partie d'une série consacrée à Three.js.
Le premier article s'intitule [Principes de base](threejs-fundam... | false |
Other | mrdoob | three.js | 98388fcc43b1e2eb9bd17ab352e85331f33e0a15.json | add French translation | threejs/lessons/fr/threejs-scenegraph.md | @@ -6,7 +6,7 @@ Cet article fait partie d'une série consacrée à Three.js.
Le premier article s'intitule [Principes de base](threejs-fundamentals.html).
Si vous ne l'avez pas encore lu, vous voudriez peut-être commencer par là.
-Le coeurs de Three.js est sans aucun doute son objet scène. Une scène est une représenta... | false |
Other | mrdoob | three.js | bd8a2b9b140108e38a9c6844c53ab8ac669b5177.json | add French translation | threejs/lessons/fr/threejs-scenegraph.md | @@ -1,12 +1,12 @@
-Title: Graphique de scène de Three.js
-Description: Qu'est-ce qu'un graphique de scène ?
-TOC: Graphique de scène
+Title: Graphe de scène Three.js
+Description: What's a scene graph?
+TOC: Scenegraph
Cet article fait partie d'une série consacrée à Three.js.
Le premier article s'intitule [Principe... | false |
Other | mrdoob | three.js | 17bfe165606d65eaab1f3cb71dc40532b520dfd5.json | add French translation | threejs/lessons/fr/threejs-setup.md | @@ -1,6 +1,6 @@
-Title: Configuration de Three.js
+Title: Installation de Three.js
Description: Comment configurer votre environnement de développement pour Three.js
-TOC: Configuration
+TOC: Setup
Cette article fait parti d'une série consacrée à Three.js. Le premier article traité des [fondements de Three.js](thre... | false |
Other | mrdoob | three.js | 6281a9afcaf5c3d0a254e55fc49d6d2f7b0932f5.json | fix grammatical errors | threejs/lessons/fr/threejs-responsive.md | @@ -1,8 +1,8 @@
Title: Design réactif et Three.js
-Description: Comment rendre Three.js adaptable à des affichages de taille différente.
+Description: Comment rendre three.js adaptable à des affichages de taille différente.
TOC: Design réactif
-Ceci est le second article dans une série traitant de Three.js.
+Ceci e... | false |
Other | mrdoob | three.js | c09aa7a83c2632309203a130362bf5c737a12e19.json | fix grammatical errors | threejs/lessons/fr/threejs-primitives.md | @@ -1,5 +1,5 @@
Title: Primitives de Three.js
-Description: Tour d'horizon des primitives de Three.js
+Description: Un tour des primitives de Three.js
TOC: Primitives
Cet article fait partie d'une série consacrée à Three.js. | false |
Other | mrdoob | three.js | 87c97f21ac72d78210b479809874b15cac4e2b6e.json | translate the description in French | threejs/lessons/fr/threejs-textures.md | @@ -1,5 +1,5 @@
-Title: Three.js Textures
-Description: Using textures in three.js
+Title: Les textures dans Three.js
+Description: Comment utiliser les textures dans Three.js
TOC: Textures
Cet article fait partie d'une série consacrée à Three.js. | false |
Other | mrdoob | three.js | 652a5b7b73fced3634804a8314c8f66d66620e6c.json | translate TOC in french | threejs/lessons/fr/threejs-shadows.md | @@ -1,6 +1,6 @@
Title: Les ombres dans Three.js
Description: Les ombres dans Three.js
-TOC: Shadows
+TOC: Ombres
Cet article fait partie d'une série consacrée à Three.js.
Le premier article s'intitule [Principes de base](threejs-fundamentals.html). | false |
Other | mrdoob | three.js | 60f310034a9a498ce9a9ac8ab60634ededfea592.json | Translate TOC in french | threejs/lessons/fr/threejs-scenegraph.md | @@ -1,6 +1,6 @@
Title: Graphique de scène de Three.js
Description: Qu'est-ce qu'un graphique de scène ?
-TOC: Scenegraph
+TOC: Graphique de scène
Cet article fait partie d'une série consacrée à Three.js.
Le premier article s'intitule [Principes de base](threejs-fundamentals.html). | false |
Other | mrdoob | three.js | d6706f5d06080158e79e92064ff65a3e3ae6ce8b.json | fix some translation errors | threejs/lessons/fr/threejs-materials.md | @@ -1,6 +1,6 @@
-Title: Les Materials de Three.js
-Description: Les Materials dans Three.js
-TOC: Materials
+Title: Les Matériaux dans Three.js
+Description: Les Matériaux dans Three.js
+TOC: Matériaux
Cet article fait partie d'une série consacrée à Three.js.
Le premier article s'intitule [Principes de base](threej... | false |
Other | mrdoob | three.js | 889eeea46efb8fe9fefff9918b5e97a513997dcc.json | fix some errors in translation | threejs/lessons/fr/threejs-lights.md | @@ -1,6 +1,6 @@
Title: Lumières en Three.js
-Description: Configuration des mulières
-TOC: Lights
+Description: Configuration des lumières
+TOC: Lumières
Cet article fait partie d'une série consacrée à Three.js.
Le premier article s'intitule [Principes de base](threejs-fundamentals.html). Si vous ne l'avez pas enc... | false |
Other | mrdoob | three.js | b8bd0459204be4920198f893f48f88ea3c54cc47.json | translate the TOC in french | threejs/lessons/fr/threejs-cameras.md | @@ -1,6 +1,6 @@
Title: Caméras dans Three.js
Description: Comment utiliser les Cameras dans Three.js
-TOC: Cameras
+TOC: Caméras
Cet article fait partie d'une série consacrée à Three.js.
Le premier article s'intitule [Principes de base](threejs-fundamentals.html). | false |
Other | mrdoob | three.js | ff5d39ea9ebef3a6712fba62e65d7375e3568df0.json | add French translation | threejs/lessons/fr/threejs-shadows.md | @@ -0,0 +1,412 @@
+Title: Les ombres dans Three.js
+Description: Les ombres dans Three.js
+TOC: Shadows
+
+Cet article fait partie d'une série consacrée à Three.js.
+Le premier article s'intitule [Principes de base](threejs-fundamentals.html).
+Si vous ne l'avez pas encore lu, vous voudriez peut-être commencer par là.
... | false |
Other | mrdoob | three.js | dad28cd65720293e613cef6ae335c984b4ab53d5.json | add French translation | threejs/lessons/fr/threejs-cameras.md | @@ -0,0 +1,532 @@
+Title: Caméras dans Three.js
+Description: Comment utiliser les Cameras dans Three.js
+TOC: Cameras
+
+Cet article fait partie d'une série consacrée à Three.js.
+Le premier article s'intitule [Principes de base](threejs-fundamentals.html).
+Si vous ne l'avez pas encore lu, vous voudriez peut-être com... | false |
Other | mrdoob | three.js | 5b618ac3f9f83c03eb9996e3bacf54c7933e5015.json | add French translation | threejs/lessons/fr/threejs-lights.md | @@ -0,0 +1,499 @@
+Title: Lumières en Three.js
+Description: Configuration des mulières
+TOC: Lights
+
+Cet article fait partie d'une série consacrée à Three.js.
+Le premier article s'intitule [Principes de base](threejs-fundamentals.html). Si vous ne l'avez pas encore lu, vous voudriez peut-être commencer par là ou au... | false |
Other | mrdoob | three.js | 6756b017b5baccc75e99c4069047918aa1a0ebf5.json | add French Translation | threejs/lessons/fr/threejs-textures.md | @@ -0,0 +1,533 @@
+Title: Three.js Textures
+Description: Using textures in three.js
+TOC: Textures
+
+Cet article fait partie d'une série consacrée à Three.js.
+Le premier article s'intitule [Principes de base](threejs-fundamentals.html).
+L'[article précédent](threejs-setup.html) concerné la configuration nécessaire ... | false |
Other | mrdoob | three.js | 2e640a4d6fa5d426f76cd0deba8106c8249bfa0e.json | add French translation | threejs/lessons/fr/threejs-materials.md | @@ -0,0 +1,262 @@
+Title: Les Materials de Three.js
+Description: Les Materials dans Three.js
+TOC: Materials
+
+Cet article fait partie d'une série consacrée à Three.js.
+Le premier article s'intitule [Principes de base](threejs-fundamentals.html).
+Si vous ne l'avez pas encore lu, vous voudriez peut-être commencer pa... | false |
Other | mrdoob | three.js | 66495ff607512e0fd3e87a09af5f6be32e859185.json | add French translation | threejs/lessons/fr/threejs-scenegraph.md | @@ -1,12 +1,12 @@
-Title: Graphe de scène Three.js
-Description: What's a scene graph?
+Title: Graphique de scène de Three.js
+Description: Qu'est-ce qu'un graphique de scène ?
TOC: Scenegraph
Cet article fait partie d'une série consacrée à Three.js.
Le premier article s'intitule [Principes de base](threejs-fundam... | false |
Other | mrdoob | three.js | bf72b7a71c8578206217c150abb6973afbffd97c.json | add French translation | threejs/lessons/fr/threejs-scenegraph.md | @@ -6,7 +6,7 @@ Cet article fait partie d'une série consacrée à Three.js.
Le premier article s'intitule [Principes de base](threejs-fundamentals.html).
Si vous ne l'avez pas encore lu, vous voudriez peut-être commencer par là.
-Le coeurs de Three.js est sans aucun doute son objet scène. Une scène est une représenta... | false |
Other | mrdoob | three.js | 1339849911c6cba989c80c0b594a478aa50d928e.json | add French translation | threejs/lessons/fr/threejs-scenegraph.md | @@ -0,0 +1,463 @@
+Title: Graphe de scène Three.js
+Description: What's a scene graph?
+TOC: Scenegraph
+
+Cet article fait partie d'une série consacrée à Three.js.
+Le premier article s'intitule [Principes de base](threejs-fundamentals.html).
+Si vous ne l'avez pas encore lu, vous voudriez peut-être commencer par là.
... | false |
Other | mrdoob | three.js | c7a72df0a8a34205964f77fd1325a38efe08408e.json | add French translation | threejs/lessons/fr/threejs-setup.md | @@ -0,0 +1,56 @@
+Title: Installation de Three.js
+Description: Comment configurer votre environnement de développement pour Three.js
+TOC: Setup
+
+Cette article fait parti d'une série consacrée à Three.js. Le premier article traité des [fondements de Three.js](threejs-fundamentals.html).
+Si vous ne l'avez pas encore... | false |
Other | mrdoob | three.js | 936a77115e958ce9f0350a49136fc0b477855835.json | fix grammatical errors | threejs/lessons/fr/threejs-responsive.md | @@ -4,15 +4,15 @@ TOC: Design réactif
Ceci est le second article dans une série traitant de three.js.
Le premier traitait [des principes de base](threejs-fundamentals.html).
-Si vous ne l'avez pas encore lu, vous deviriez peut-être commencer par le lire.
+Si vous ne l'avez pas encore lu, vous deviriez peut-être com... | false |
Other | mrdoob | three.js | 50298e608076374ec72bae18ba4be8e3a7802aaf.json | fix grammatical errors | threejs/lessons/fr/threejs-primitives.md | @@ -1,9 +1,9 @@
Title: Primitives de Three.js
-Description: Un tour des primitives de three.js
+Description: Un tour des primitives de Three.js
TOC: Primitives
-Cet article fait partie d'une série consacrée à three.js.
-Le premier article est [Principes de base](threejs-fundamentals.html).
+Cet article fait parti... | false |
Other | mrdoob | three.js | 9aa5627deae64ad66a4a227a3f0c4ddba0615603.json | fix grammatical errors | threejs/lessons/fr/threejs-fundamentals.md | @@ -2,15 +2,15 @@ Titre: Three.js, principes de base
Description: Votre première leçon sur Three.js, commençant par les principes de base
TOC: Principes de base
-Ceci est le premier article d'une série consacrée à three.js.
+Ceci est le premier article d'une série consacrée à Three.js.
[Three.js](https://threejs.o... | false |
Other | mrdoob | three.js | a06d6ec927b2aac9120d9a616b4933c3f5daa019.json | Fix typo if -> it | threejs/lessons/threejs-cameras.md | @@ -25,7 +25,7 @@ and a frustum are all names of different kinds of solids.
<div><div data-diagram="shapeFrustum"></div><div>frustum</div></div>
</div>
-I only point that out because I didn't know if for years. Some book or page would mention
+I only point that out because I didn't know it for years. Some book or... | false |
Other | mrdoob | three.js | 676cf6d73749f9c89b7326f2f2b221fa19ee73c3.json | Fix typo in lesson ( code >> cone ). | threejs/lessons/threejs-lights.md | @@ -411,7 +411,7 @@ gui.add(new DegRadHelper(light, 'angle'), 'value', 0, 90).name('angle').onChange
The inner cone is defined by setting the [`penumbra`](SpotLight.penumbra) property
as a percentage from the outer cone. In other words when `penumbra` is 0 then the
-inner code is the same size (0 = no difference) f... | false |
Other | mrdoob | three.js | 0132df919c789b53bfd9d0418f97ebee96e9891e.json | add link to discussions | threejs/lessons/langinfo.hanson | @@ -7,6 +7,7 @@
link: 'http://threejsfundamentals.org/',
commentSectionHeader: `
<div>
+ <a href="https://github.com/gfxfundamentals/threejsfundamentals/discussions">Question</a>?
<a href="https://github.com/gfxfundamentals/threejsfundamentals/issues/new?assignees=&labels=suggested+topic&templa... | false |
Other | mrdoob | three.js | 34771f527b6ac72d6948623a23e2662a6bdb55b9.json | add Chinese version of chapter rendertargets | threejs/lessons/zh_cn/threejs-rendertargets.md | @@ -0,0 +1,148 @@
+Title: Three.js 渲染目标
+Description: 如何渲染到纹理
+TOC: 渲染目标
+
+在three.js中,渲染目标大体上指的是可以被渲染的纹理。当它被渲染之后,你可以像使用其他纹理一样使用它。
+
+让我们举个简单的例子。我们将从[the article on responsiveness](threejs-responsive.html)开始。
+
+渲染到渲染目标基本上跟通常的渲染一样。首先我们创建一个 `WebGLRenderTarget`。
+
+```js
+const rtWidth = 512;
+const rtHeight = 512;
+cons... | false |
Other | mrdoob | three.js | e5c645f8643ff3358309393f8e4852710a2ac97d.json | add Chinese version of the chapter Fog | threejs/lessons/zh_cn/threejs-fog.md | @@ -0,0 +1,214 @@
+Title: Three.js 雾
+Description: Three.js中的雾
+TOC: 雾
+
+本文是three.js系列文章的一部分。第一篇文章是[three.js 基础](threejs-fundamentals.html)。如果你是个新手,还没读过,请从那里开始。如果你还没读过有关摄像机的章节,请从[这篇文章](threejs-cameras.html)开始。
+
+在3D引擎里,雾通常是基于离摄像机的距离褪色至某种特定颜色的方式。在three.js中添加雾是通过创建 `Fog` 或者 `FogExp2` 实例并设定scene的[`fog`](Scene.fog) 属性。
+... | false |
Other | mrdoob | three.js | 1c210f21e38aee732f8a5187e4239ed9127b027a.json | fix typo on text geometry primitive | threejs/lessons/threejs-primitives.md | @@ -31,7 +31,7 @@ parameters so you can use more or less depending on your needs.
<div id="Diagram-DodecahedronGeometry" data-primitive="DodecahedronGeometry">A dodecahedron (12 sides)</div>
<div id="Diagram-ExtrudeGeometry" data-primitive="ExtrudeGeometry">An extruded 2d shape with optional bevelling.
Here we are e... | false |
Other | mrdoob | three.js | be001a3b6492255ee35c8c40d1ecd6398db8a88c.json | remove double reference | threejs/lessons/threejs-textures.md | @@ -97,9 +97,9 @@ It works!
{{{example url="../threejs-textured-cube-6-textures.html" }}}
It should be noted though that not all geometry types supports multiple
-materials. `BoxGeometry` and `BoxGeometry` can use 6 materials one for each face.
-`ConeGeometry` and `ConeGeometry` can use 2 materials, one for the bot... | false |
Other | mrdoob | three.js | 2db5c64849502534e2e96e7afb328e6b4b3839be.json | add more translation in fundamentals | threejs/lessons/tr/threejs-fundamentals.md | @@ -4,24 +4,19 @@ TOC: Temel Bilgiler
Bu three.js ile alakalı makale serisindeki ilk makaledir. [Three.js](https://threejs.org) bir web sayfasına 3D içerik sağlamayı mümkün olduğunca kolaylaştırmaya çalışan bir 3D kütüphanedir.
-Three.js sıklıkla WebGL ile karıştırılır fakat her zaman değil, three.js 3D çizim için... | false |
Other | mrdoob | three.js | ae864f9071aa67d640c8d43b82ed94241f32baa4.json | add fundamentals translation | threejs/lessons/tr/threejs-fundamentals.md | @@ -0,0 +1,488 @@
+Title: Three.js Temelleri
+Description: Temeller ile birlikte ilk Three.js dersiniz
+TOC: Temel Bilgiler
+
+Bu three.js ile alakalı makale serisindeki ilk makaledir. [Three.js](https://threejs.org) bir web sayfasına 3D içerik sağlamayı mümkün olduğunca kolaylaştırmaya çalışan bir 3D kütüphanedir.
+
+... | false |
Other | mrdoob | three.js | 2fa471bcf7a5282f019ff7d0b2cd5fa655143c60.json | remove call to helper.update | threejs/lessons/ja/threejs-lights.md | @@ -478,13 +478,13 @@ GUIも調整してみましょう。
const gui = new GUI();
gui.addColor(new ColorGUIHelper(light, 'color'), 'value').name('color');
gui.add(light, 'intensity', 0, 10, 0.01);
-gui.add(light, 'width', 0, 20).onChange(updateLight);
-gui.add(light, 'height', 0, 20).onChange(updateLight);
-gui.add(new DegRadHelper(light... | true |
Other | mrdoob | three.js | 2fa471bcf7a5282f019ff7d0b2cd5fa655143c60.json | remove call to helper.update | threejs/lessons/kr/threejs-lights.md | @@ -490,13 +490,13 @@ scene.add(light);
const gui = new GUI();
gui.addColor(new ColorGUIHelper(light, 'color'), 'value').name('color');
gui.add(light, 'intensity', 0, 10, 0.01);
-gui.add(light, 'width', 0, 20).onChange(updateLight);
-gui.add(light, 'height', 0, 20).onChange(updateLight);
-gui.add(new DegRadHelper(li... | true |
Other | mrdoob | three.js | 2fa471bcf7a5282f019ff7d0b2cd5fa655143c60.json | remove call to helper.update | threejs/lessons/ru/threejs-lights.md | @@ -510,13 +510,13 @@ scene.add(helper);
const gui = new GUI();
gui.addColor(new ColorGUIHelper(light, 'color'), 'value').name('color');
gui.add(light, 'intensity', 0, 10, 0.01);
-gui.add(light, 'width', 0, 20).onChange(updateLight);
-gui.add(light, 'height', 0, 20).onChange(updateLight);
-gui.add(new DegRadHelper(l... | true |
Other | mrdoob | three.js | 2fa471bcf7a5282f019ff7d0b2cd5fa655143c60.json | remove call to helper.update | threejs/lessons/threejs-lights.md | @@ -522,13 +522,13 @@ its `width` and `height`
const gui = new GUI();
gui.addColor(new ColorGUIHelper(light, 'color'), 'value').name('color');
gui.add(light, 'intensity', 0, 10, 0.01);
-gui.add(light, 'width', 0, 20).onChange(updateLight);
-gui.add(light, 'height', 0, 20).onChange(updateLight);
-gui.add(new DegRadHe... | true |
Other | mrdoob | three.js | 2fa471bcf7a5282f019ff7d0b2cd5fa655143c60.json | remove call to helper.update | threejs/lessons/zh_cn/threejs-lights.md | @@ -432,13 +432,13 @@ scene.add(light);
const gui = new GUI();
gui.addColor(new ColorGUIHelper(light, 'color'), 'value').name('color');
gui.add(light, 'intensity', 0, 10, 0.01);
-gui.add(light, 'width', 0, 20).onChange(updateLight);
-gui.add(light, 'height', 0, 20).onChange(updateLight);
-gui.add(new DegRadHelper(li... | true |
Other | mrdoob | three.js | 2fa471bcf7a5282f019ff7d0b2cd5fa655143c60.json | remove call to helper.update | threejs/threejs-lights-rectarea.html | @@ -132,20 +132,16 @@
const helper = new RectAreaLightHelper(light);
light.add(helper);
- function updateLight() {
- helper.update();
- }
-
const gui = new GUI();
gui.addColor(new ColorGUIHelper(light, 'color'), 'value').name('color');
gui.add(light, 'intensity', 0, 10, 0.01);
- ... | true |
Other | mrdoob | three.js | 80d4d22e0bda20d6a2a5f6003b3237f34334d240.json | remove stackoverflow q? links | threejs/lessons/fr/langinfo.hanson | @@ -5,7 +5,9 @@
title: 'Three.js, notions de base',
description: 'Apprendre à utiliser Three.js.',
link: 'http://threejsfundamentals.org/',
- commentSectionHeader: '<div>Questions ? <a href="http://stackoverflow.com/questions/tagged/three.js">Les poser sur stackoverflow</a>.</div>\n <div>Problèmes / bu... | true |
Other | mrdoob | three.js | 80d4d22e0bda20d6a2a5f6003b3237f34334d240.json | remove stackoverflow q? links | threejs/lessons/ja/langinfo.hanson | @@ -5,7 +5,9 @@
title: 'Three Fundamentals',
description: 'Three.jsを学習する',
link: 'http://threejsfundamentals.org/threejs/lessons/ja',
- commentSectionHeader: '<div>質問はありますか? <a href="http://stackoverflow.com/questions/tagged/three.js">何かあればstackoverflowで尋ねて下さい</a>.</div>\n <div>Issue/Bug? <a href="http... | true |
Other | mrdoob | three.js | 80d4d22e0bda20d6a2a5f6003b3237f34334d240.json | remove stackoverflow q? links | threejs/lessons/kr/langinfo.hanson | @@ -7,8 +7,6 @@
link: 'http://threejsfundamentals.org/',
commentSectionHeader: `
<div>
- <a href="http://stackoverflow.com/questions/tagged/three.js">Stackoverflow</a>
- /
<a href="http://github.com/greggman/threefundamentals/issues">Github</a>
</div>
`, | true |
Other | mrdoob | three.js | 80d4d22e0bda20d6a2a5f6003b3237f34334d240.json | remove stackoverflow q? links | threejs/lessons/langinfo.hanson | @@ -6,7 +6,6 @@
description: 'Learn Three.js',
link: 'http://threejsfundamentals.org/',
commentSectionHeader: `
- <div>Questions? <a href="http://stackoverflow.com/questions/tagged/three.js">Ask on stackoverflow</a>.</div>
<div>
<a href="https://github.com/gfxfundamentals/threejsfundamentals/is... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.