Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
147 commits
Select commit Hold shift + click to select a range
1f3207f
Add missing properties to Texture.toJSON()
takahirox Apr 21, 2018
1cfd6de
Add missing properties for Texture to ObjectLoader.parseTextures()
takahirox Apr 21, 2018
27dabc2
Compare with undefined in parseTextures of ObjectLoader
takahirox Apr 22, 2018
2730e41
Update Geometry and BufferGeomery docs for .userData
takahirox Apr 22, 2018
38f4b79
Revert "Update Geometry and BufferGeomery docs for .userData"
takahirox Apr 24, 2018
f5ab28e
Texture.mipmaps serialization
takahirox Apr 24, 2018
99a7cb9
Remove an unnecessary space
takahirox Apr 24, 2018
a071924
Revert "Remove an unnecessary space"
takahirox Apr 25, 2018
51dbe2a
Revert "Texture.mipmaps serialization"
takahirox Apr 25, 2018
a89ed40
Remove mipmaps serialization
takahirox Apr 25, 2018
6f186bb
Adopt glTF convention: lights face local neg-z direction
WestLangley Sep 19, 2018
575dca7
Update BoxGeometry.html
rexdk Oct 24, 2018
567394a
Update BoxGeometry.html
rexdk Oct 24, 2018
6953101
Update BoxGeometry.html
rexdk Oct 24, 2018
c8dfc49
Update BoxGeometry.html
rexdk Oct 24, 2018
a86575e
Update BoxBufferGeometry.html
rexdk Oct 24, 2018
ea12b3f
Update BoxGeometry.html
rexdk Oct 25, 2018
e5e3d19
Update BoxBufferGeometry.html
rexdk Oct 26, 2018
850b735
GLTFLoader: Support per-node morph weights on instanced meshes.
Nov 28, 2018
38ceaae
GLTFExporter: Cache geometry attributes.
donmccurdy Nov 30, 2018
cd62f6c
GLTFExporter: Cache meshes sharing material/geometry.
donmccurdy Nov 30, 2018
9a30f28
Update BoxBufferGeometry.html
rexdk Nov 30, 2018
4af4753
Update BoxGeometry.html
rexdk Nov 30, 2018
e7fdee0
Initial fire example
Dec 4, 2018
5e3c5b3
Run through code beautifier
Dec 4, 2018
665b441
Fix up spacing
Dec 4, 2018
eb29d42
Fix up spacing
Dec 4, 2018
810f42a
Fix review comments
Dec 5, 2018
6162744
Manual translation of the Animation system section
luhaopeng Dec 5, 2018
6efb8be
Adjust links and line-breaks.
luhaopeng Dec 6, 2018
d5d9b65
Correct mistake
luhaopeng Dec 7, 2018
b7a7f3c
Support bump and ambient material techniques, and uv2 layer
jbaicoianu Dec 7, 2018
c9655cc
Examples: Clean up
Mugen87 Dec 7, 2018
ccd4a59
Fixed whitespace
jbaicoianu Dec 7, 2018
0dac3aa
Adding LightningStrike, LightningStorm with examples
yomboprime Dec 8, 2018
e710ed7
Docs: Fix edit button
Mugen87 Dec 8, 2018
04ce067
Docs: Remove links to outdated or deleted examples
moraxy Dec 9, 2018
2ffa89e
Docs: Replaced examples in FileLoader
moraxy Dec 9, 2018
fe3f882
Merge branch 'dev' into feat-gltfloader-node-weights
donmccurdy Dec 10, 2018
67f5547
NodeMaterial: Add clamp() function.
donmccurdy Dec 10, 2018
1583975
Merge pull request #15399 from Mugen87/dev20
Mugen87 Dec 10, 2018
325030e
Docs: Removed linked FileLoader examples
moraxy Dec 10, 2018
091a93f
Merge pull request #15401 from moraxy/docs-examples-cleanup
Mugen87 Dec 10, 2018
d004a4a
Merge pull request #15392 from Mugen87/dev11
Mugen87 Dec 10, 2018
b29d7a3
Fix: Incorrect build of threejs on windows (#15383)
cnstoba Dec 10, 2018
df30163
Translate some pages in Math
gogoend Dec 10, 2018
6794f66
Update Loading-3D-models.html
Dec 10, 2018
21cb7e4
Merge pull request #15348 from donmccurdy/feat-gltfexporter-cache-geo…
mrdoob Dec 11, 2018
555e4fa
Merge pull request #15404 from donmccurdy/feat-nodes-clamp
mrdoob Dec 11, 2018
7d96663
Merge pull request #15338 from donmccurdy/feat-gltfloader-node-weights
mrdoob Dec 11, 2018
377cf2e
Merge pull request #15407 from cadenasgmbh/#15383
mrdoob Dec 11, 2018
d71586b
Merge pull request #15391 from jbaicoianu/colladaloader-materials-fix
mrdoob Dec 11, 2018
76c87cb
Merge pull request #15409 from mrdoob/donmccurdy-docs-gltf-tools
mrdoob Dec 11, 2018
a42ac07
Merge pull request #13915 from takahirox/TextureToJSON
mrdoob Dec 11, 2018
65b3e4c
Merge pull request #15378 from LuHaoPeng/patch-2
mrdoob Dec 11, 2018
f2595be
Update necessary word for vocabulary checking
hauvubhtech Dec 11, 2018
4d9cd64
continue translate
gogoend Dec 11, 2018
6ecda44
Merge pull request #15412 from hauvubhtech/patch-1
mrdoob Dec 11, 2018
3ae862b
Merge branch 'dev' into dev-rect_light_orientation
WestLangley Dec 12, 2018
32cd6bc
Merge pull request #14935 from WestLangley/dev-rect_light_orientation
mrdoob Dec 12, 2018
3013895
Updated builds.
mrdoob Dec 12, 2018
06825e2
KTXLoader: Use DataView to read headers & headers should be Uint32
06wj Dec 12, 2018
9baf5ef
fix typo
06wj Dec 12, 2018
d399bb6
fix typo
06wj Dec 12, 2018
030c805
Merge pull request #15417 from 06wj/patch_ktx
mrdoob Dec 13, 2018
96ca78e
Merge pull request #15402 from HypnosNova/dev
mrdoob Dec 13, 2018
59c923a
Workaround for #15422
Dec 13, 2018
a653acd
Translate LineCurves in curves folder.
gogoend Dec 13, 2018
8cba3ab
The [property:Boolean isEllipseCurve] in extras/curves/EllipseCurve.h…
gogoend Dec 13, 2018
6f9b2b3
Merge pull request #15424 from Artyom17/dev
mrdoob Dec 13, 2018
463097d
PositionalAudio: Clean up.
mrdoob Dec 14, 2018
f55b3d3
Updated builds.
mrdoob Dec 14, 2018
dc928be
Translate some files in extras and math floder.
gogoend Dec 14, 2018
c4d849b
fixes bug
linbingquan Dec 14, 2018
c7213e2
modification to parsing so ke values are correctly converted from str…
msuConrad Dec 14, 2018
4581003
GLTFLoader: Fix bug with certain interleaved attributes.
donmccurdy Dec 16, 2018
809ece3
Translate some files in extras and math floder,and some fix
gogoend Dec 16, 2018
c905c0f
Update FAQ.html
gogoend Dec 16, 2018
a30489c
Merge pull request #7 from mrdoob/dev
gogoend Dec 16, 2018
eb44f5a
Fix some characters.
gogoend Dec 16, 2018
75d26d6
Some fixes.
gogoend Dec 16, 2018
9e55b92
Sync with en doc:#15334
gogoend Dec 16, 2018
941ca1b
Translate 'TODO' placeholder in Loading-3D-models.html
gogoend Dec 17, 2018
3536977
Fix the wrong link.
gogoend Dec 17, 2018
bda55a3
Clean up.
Dec 17, 2018
147f77f
Merge pull request #15439 from gogoend/zh_doc
mrdoob Dec 17, 2018
04b78fb
PositionalAudio: Clean up.
mrdoob Dec 17, 2018
b44437a
SVGLoader: Clean up.
mrdoob Dec 17, 2018
6736584
Merge pull request #15438 from donmccurdy/bug-gltfloader-clone-interl…
mrdoob Dec 17, 2018
67a793a
Null uniform value serialization.
takahirox Dec 18, 2018
5437258
Merge pull request #15430 from linbingquan/dev
mrdoob Dec 18, 2018
403c506
Merge pull request #15447 from takahirox/NullUniformValueSerialization
mrdoob Dec 18, 2018
cdfc353
Merge pull request #15432 from ConradP/MTLLoader/incorrectly/parses/k…
mrdoob Dec 18, 2018
1bb18eb
MTLLoader: Clean up.
mrdoob Dec 18, 2018
5a66093
Merge pull request #15125 from rexdk/patch-1
mrdoob Dec 19, 2018
074290d
Merge pull request #15129 from rexdk/patch-2
mrdoob Dec 19, 2018
7aa204e
Examples: Removed THREE.Octree
Mugen87 Dec 19, 2018
b214d00
Examples: Clean up
Mugen87 Dec 19, 2018
1825277
LDrawLoader
yomboprime Dec 20, 2018
da82e28
Merge pull request #15452 from Mugen87/dev11
Mugen87 Dec 20, 2018
0946d88
Docs: Fix links in "Useful Links" page
Mugen87 Dec 20, 2018
19b01b2
Merge pull request #15455 from Mugen87/dev11
Mugen87 Dec 20, 2018
77dec21
Lensflare: Perform early out if the lensflare is behind the camera
Mugen87 Dec 20, 2018
51d288b
Merge pull request #15457 from Mugen87/dev11
mrdoob Dec 20, 2018
3f729cd
Merge pull request #15451 from Mugen87/dev19
mrdoob Dec 20, 2018
b6375ee
Exampels: Clean up
Mugen87 Dec 20, 2018
1b8c23d
Xloader: Fixed SkinnedMesh creation
Mugen87 Dec 20, 2018
1f4dd25
Merge pull request #15459 from Mugen87/dev19
mrdoob Dec 20, 2018
fc2ba0f
FBXLoader: Normalize skin weights
Mugen87 Dec 21, 2018
57f4b5c
Examples: More clean up
Mugen87 Dec 21, 2018
36a0d3b
Mesh: Remove Geometry support from .updateMorphTargets()
Mugen87 Dec 21, 2018
05d7b55
ShaderMaterial.extensions serialization
takahirox Dec 21, 2018
263d4ea
Merge pull request #15462 from Mugen87/dev19
mrdoob Dec 21, 2018
580999b
Merge pull request #15458 from Mugen87/dev11
Mugen87 Dec 22, 2018
95c8a1a
adjusted collada export shader elements to follow the collada standar…
Dec 23, 2018
3d93da4
fixed my matid error, changed output file names to be unique, removed…
Dec 23, 2018
1ece645
Added pack utility and packed models. Optimized pack loading.
yomboprime Dec 23, 2018
b2c7509
fix typo that was forcing CSS3D to update when not necessary
trusktr Dec 24, 2018
1007626
changed html title to three.js webgl - collada exporter and renamed t…
Dec 24, 2018
9e66015
Optmized rendering (merge all primitives in one object) and loading t…
yomboprime Dec 24, 2018
c7bd80e
rename cachedStyle to cachedObject
trusktr Dec 24, 2018
2a0cd7e
Add template string syntax comment
dmnsgn Dec 24, 2018
06e5d01
Fix missing last triangle of each material
yomboprime Dec 25, 2018
a79f877
Beautify model dropdown list with labels
yomboprime Dec 25, 2018
4e388d5
Little fix for wrong characters.
gogoend Dec 25, 2018
5ee7c27
Merge pull request #15474 from gogoend/zh_doc
mrdoob Dec 25, 2018
3278ab2
Merge pull request #15470 from trusktr/patch-13
mrdoob Dec 25, 2018
2ad018c
Merge pull request #15473 from dmnsgn/dev
mrdoob Dec 25, 2018
76d0e23
Improved webgl_interactive_raycasting_points example.
mrdoob Dec 26, 2018
5e94deb
Updated rollup's glsl() plugin.
mrdoob Dec 26, 2018
4834fc7
Updated builds.
mrdoob Dec 26, 2018
7d646c1
added misc_exporter_collada to the examples index page
Dec 26, 2018
7e5f396
Merge pull request #15469 from clintonman/colladaexport
mrdoob Dec 28, 2018
cacce1a
Merge pull request #15465 from takahirox/ShaderMaterialExtensionsSeri…
mrdoob Dec 28, 2018
23b7323
Merge pull request #15463 from Mugen87/dev2
mrdoob Dec 28, 2018
c6b8ab8
Docs: Change place of customDepthMaterial and customDistanceMaterial.
Mugen87 Dec 29, 2018
62f8cd6
Examples: Simplify webgl_loader_fbx
Mugen87 Dec 29, 2018
7e77d64
Merge pull request #15489 from Mugen87/dev21
mrdoob Dec 31, 2018
c76b296
Merge pull request #15487 from Mugen87/dev11
mrdoob Dec 31, 2018
931cbbc
Merge pull request #15453 from yomboprime/ldraw
mrdoob Dec 31, 2018
043a5c8
Improved LDrawLoader example.
mrdoob Dec 31, 2018
356d25c
Merge pull request #15366 from mikepiecuch/fire_example
mrdoob Dec 31, 2018
78b5041
Merge pull request #15397 from yomboprime/storm
mrdoob Dec 31, 2018
b789747
Cleaned up exporter examples.
mrdoob Dec 31, 2018
3cafa88
Improved ColladaExporter example.
mrdoob Dec 31, 2018
a6e5353
Tweaker LDrawLoader example.
mrdoob Dec 31, 2018
7043802
r100
mrdoob Dec 31, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Please also include a live example if possible. You can start from these templat
##### Three.js version

- [ ] Dev
- [ ] r99
- [ ] r100
- [ ] ...

##### Browser
Expand Down
138 changes: 82 additions & 56 deletions build/three.js

Large diffs are not rendered by default.

918 changes: 460 additions & 458 deletions build/three.min.js

Large diffs are not rendered by default.

138 changes: 82 additions & 56 deletions build/three.module.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion docs/api/en/cameras/CubeCamera.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ <h1>[name]</h1>
<h2>Examples</h2>

<p>[example:webgl_materials_cubemap_dynamic materials / cubemap / dynamic ]</p>
<p>[example:webgl_materials_cubemap_dynamic2 materials / cubemap / dynamic2 ]</p>
<p>[example:webgl_shading_physical shading / physical ]</p>

<code>// Create cube camera
Expand Down
3 changes: 0 additions & 3 deletions docs/api/en/core/Geometry.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ <h2>Example</h2>
<div>[example:webgl_interactive_lines WebGL / interactive / lines ]</div>
<div>[example:webgl_interactive_raycasting_points WebGL / interactive / raycasting / points ]</div>
<div>[example:webgl_interactive_voxelpainter WebGL / interactive / voxelpainter ]</div>
<div>[example:webgl_morphnormals WebGL / morphNormals ]</div>


<code>var geometry = new THREE.Geometry();
Expand Down Expand Up @@ -123,8 +122,6 @@ <h3>[property:Array morphNormals]</h3>
<p>
Array of morph normals. Morph normals have similar structure as morph targets, each normal set is a Javascript object:
<code>morphNormal = { name: "NormalName", normals: [ new THREE.Vector3(), ... ] }</code>

See the [example:webgl_morphnormals WebGL / morphNormals] example.
</p>

<h3>[property:String name]</h3>
Expand Down
13 changes: 13 additions & 0 deletions docs/api/en/core/Object3D.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,19 @@ <h3>[property:Boolean castShadow]</h3>
<h3>[property:Object3D children]</h3>
<p>Array with object's children. See [page:Group] for info on manually grouping objects.</p>

<h3>[property:Material customDepthMaterial]</h3>
<p>
Custom depth material to be used when rendering to the depth map. Can only be used in context of meshes.
When shadow-casting with a [page:DirectionalLight] or [page:SpotLight], if you are (a) modifying vertex positions in the vertex shader,
(b) using a displacement map, (c) using an alpha map with alphaTest, or (d) using a transparent texture with alphaTest,
you must specify a customDepthMaterial for proper shadows. Default is *undefined*.
</p>

<h3>[property:Material customDistanceMaterial]</h3>
<p>
Same as customDepthMaterial, but used with [page:PointLight]. Default is *undefined*.
</p>

<h3>[property:Boolean frustumCulled]</h3>
<p>
When this is set, it checks every frame if the object is in the frustum of the camera before rendering the object.
Expand Down
1 change: 0 additions & 1 deletion docs/api/en/core/Raycaster.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ <h2>Example</h2>
[example:webgl_interactive_lines Raycasting to a Line]<br />
[example:webgl_interactive_raycasting_points Raycasting to Points]<br />
[example:webgl_geometry_terrain_raycast Terrain raycasting]<br />
[example:webgl_octree_raycasting Raycasting using an octree]<br />
[example:webgl_interactive_voxelpainter Raycasting to paint voxels]<br />
[example:webgl_raycast_texture Raycast to a Texture]
</div>
Expand Down
6 changes: 0 additions & 6 deletions docs/api/en/extras/curves/EllipseCurve.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,6 @@ <h3>[property:Boolean aClockwise]</h3>
<h3>[property:Float aRotation]</h3>
<p>The rotation angle of the ellipse in radians, counterclockwise from the positive X axis (optional). Default is *0*.</p>

<h3>[property:Boolean isEllipseCurve]</h3>
<p>
Used to check whether this or derived classes are ellipses. Default is *true*.<br /><br />

You should not change this, as it used internally for optimisation.
</p>

<h2>Methods</h2>
<p>See the base [page:Curve] class for common methods.</p>
Expand Down
28 changes: 15 additions & 13 deletions docs/api/en/geometries/BoxBufferGeometry.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,29 +44,31 @@ <h2>Constructor</h2>

<h3>[name]([param:Float width], [param:Float height], [param:Float depth], [param:Integer widthSegments], [param:Integer heightSegments], [param:Integer depthSegments])</h3>
<p>
width — Width of the sides on the X axis. Default is 1.<br />
height — Height of the sides on the Y axis. Default is 1.<br />
depth — Depth of the sides on the Z axis. Default is 1.<br />
widthSegments — Optional. Number of segmented faces along the width of the sides. Default is 1.<br />
heightSegments — Optional. Number of segmented faces along the height of the sides. Default is 1.<br />
depthSegments — Optional. Number of segmented faces along the depth of the sides. Default is 1.
width — Width; that is, the length of the edges parallel to the X axis. Optional; defaults to 1.<br />
height — Height; that is, the length of the edges parallel to the Y axis. Optional; defaults to 1.<br />
depth — Depth; that is, the length of the edges parallel to the Z axis. Optional; defaults to 1.<br />
widthSegments — Number of segmented rectangular faces along the width of the sides. Optional; defaults to 1.<br />
heightSegments — Number of segmented rectangular faces along the height of the sides. Optional; defaults to 1.<br />
depthSegments — Number of segmented rectangular faces along the depth of the sides. Optional; defaults to 1.<br />
</p>

<h2>Properties</h2>

<h3>[property:Object parameters]</h3>
<p>
An object with a property for each of the constructor parameters. Any modification after instantiation does not change the geometry.
</p>
<p>
Using the above example code above as our basis:
<code>
geometry.parameters; // outputs an object {width: 1, height: 1, depth: 1, widthSegments: undefined, heightSegments: undefined}
Using the above example:
<code>
geometry.parameters; // {width: 1, height: 1, depth: 1, widthSegments: undefined, heightSegments: undefined, depthSegments: undefined}
cube.geometry.parameters; // as above
cube.geometry.parameters.width; // === 1
cube.geometry.parameters.widthSegments // === undefined.
</code>
</p>
cube.geometry.parameters.widthSegments; // === undefined.
</code>
</p>

<h2>Methods</h2>

<h2>Source</h2>

Expand Down
30 changes: 15 additions & 15 deletions docs/api/en/geometries/BoxGeometry.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

<h1>[name]</h1>

<p class="desc">BoxGeometry is the quadrilateral primitive geometry class. It is typically used for creating a cube or irregular quadrilateral of the dimensions provided with the 'width', 'height', and 'depth' constructor arguments.</p>

<p class="desc">BoxGeometry is a geometry class for a [link:https://en.wikipedia.org/wiki/Cuboid rectangular cuboid] with a given 'width', 'height', and 'depth'. On creation, the cuboid is centred on the origin, with each edge parallel to one of the axes.</p>
<iframe id="scene" src="scenes/geometry-browser.html#BoxGeometry"></iframe>

<script>
Expand Down Expand Up @@ -44,12 +44,12 @@ <h2>Constructor</h2>

<h3>[name]([param:Float width], [param:Float height], [param:Float depth], [param:Integer widthSegments], [param:Integer heightSegments], [param:Integer depthSegments])</h3>
<p>
width — Width of the sides on the X axis. Default is 1.<br />
height — Height of the sides on the Y axis. Default is 1.<br />
depth — Depth of the sides on the Z axis. Default is 1.<br />
widthSegments — Optional. Number of segmented faces along the width of the sides. Default is 1.<br />
heightSegments — Optional. Number of segmented faces along the height of the sides. Default is 1.<br />
depthSegments — Optional. Number of segmented faces along the depth of the sides. Default is 1.
width — Width; that is, the length of the edges parallel to the X axis. Optional; defaults to 1.<br />
height — Height; that is, the length of the edges parallel to the Y axis. Optional; defaults to 1.<br />
depth — Depth; that is, the length of the edges parallel to the Z axis. Optional; defaults to 1.<br />
widthSegments — Number of segmented rectangular faces along the width of the sides. Optional; defaults to 1.<br />
heightSegments — Number of segmented rectangular faces along the height of the sides. Optional; defaults to 1.<br />
depthSegments — Number of segmented rectangular faces along the depth of the sides. Optional; defaults to 1.<br />
</p>

<h2>Properties</h2>
Expand All @@ -59,13 +59,13 @@ <h3>[property:Object parameters]</h3>
An object with a property for each of the constructor parameters. Any modification after instantiation does not change the geometry.
</p>
<p>
Using the above example code above as our basis:
<code>
geometry.parameters; // outputs an object {width: 1, height: 1, depth: 1, widthSegments: undefined, heightSegments: undefined}
cube.geometry.parameters; // as above
cube.geometry.parameters.width; // === 1
cube.geometry.parameters.widthSegments // === undefined.
</code>
Using the above example:
<code>
geometry.parameters; // {width: 1, height: 1, depth: 1, widthSegments: undefined, heightSegments: undefined, depthSegments: undefined}
cube.geometry.parameters; // as above
cube.geometry.parameters.width; // === 1
cube.geometry.parameters.widthSegments; // === undefined.
</code>
</p>

<h2>Source</h2>
Expand Down
1 change: 0 additions & 1 deletion docs/api/en/helpers/AxesHelper.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ <h1>[name]</h1>
<h2>Example</h2>

<div>[example:webgl_geometries WebGL / geometries]</div>
<div>[example:webgl_geometries2 WebGL / geometries2]</div>
<div>[example:webgl_geometry_convex WebGL / geometry / convex]</div>
<div>[example:webgl_geometry_spline_editor WebGL / geometry / spline / editor]</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/api/en/helpers/RectAreaLightHelper.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h3>Example</h3>

var helper = new THREE.RectAreaLightHelper( light );

scene.add( helper );
light.add( helper ); // helper must be added as a child of the light
</code>


Expand Down
2 changes: 1 addition & 1 deletion docs/api/en/lights/RectAreaLight.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ <h2>Examples</h2>
scene.add( rectLight )

rectLightHelper = new THREE.RectAreaLightHelper( rectLight );
scene.add( rectLightHelper );
rectLight.add( rectLightHelper );

</code>
</p>
Expand Down
1 change: 0 additions & 1 deletion docs/api/en/loaders/CubeTextureLoader.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ <h2>Example</h2>
[example:webgl_materials_cubemap_balls_reflection materials / cubemap / balls / reflection]<br />
[example:webgl_materials_cubemap_balls_refraction materials / cubemap / balls / refraction]<br />
[example:webgl_materials_cubemap_dynamic materials / cubemap / dynamic]<br />
[example:webgl_materials_cubemap_dynamic2 materials / cubemap / dynamic2]<br />
[example:webgl_materials_cubemap_refraction materials / cubemap / refraction]
</p>

Expand Down
4 changes: 0 additions & 4 deletions docs/api/en/loaders/FileLoader.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ <h1>[name]</h1>
</p>

<h2>Example</h2>
<p>
[example:webgl_loader_msgpack WebGL / loader / msgpack]<br />
[example:webgl_morphtargets_human WebGL / morphtargets / human]<br />
</p>
<code>
var loader = new THREE.FileLoader();

Expand Down
1 change: 0 additions & 1 deletion docs/api/en/materials/LineBasicMaterial.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ <h2>Examples</h2>
[example:webgl_lines_colors WebGL / lines / colors]<br />
[example:webgl_lines_dashed WebGL / lines / dashed]<br />
[example:webgl_lines_sphere WebGL / lines / sphere]<br />
[example:webgl_lines_splines WebGL / lines / splines]<br />
[example:webgl_materials WebGL / materials]<br />
[example:webgl_physics_rope WebGL / phyics / rope]
</p>
Expand Down
13 changes: 0 additions & 13 deletions docs/api/en/materials/Material.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,19 +101,6 @@ <h3>[property:Boolean colorWrite]</h3>
This can be used in conjunction with a mesh's [page:Integer renderOrder] property to create invisible objects that occlude other objects. Default is *true*.
</p>

<h3>[property:Material customDepthMaterial]</h3>
<p>
Custom depth material to be used by this material when rendering to the depth map.
When shadow-casting with a [page:DirectionalLight] or [page:SpotLight], if you are (a) modifying vertex positions in the vertex shader,
(b) using a displacement map, (c) using an alpha map with alphaTest, or (d) using a transparent texture with alphaTest,
you must specify a customDepthMaterial for proper shadows. Default is *undefined*.
</p>

<h3>[property:Material customDistanceMaterial]</h3>
<p>
Same as customDepthMaterial, but used with [page:PointLight]. Default is *undefined*.
</p>

<h3>[property:Object defines]</h3>
<p>
Custom defines to be injected into the shader. These are passed in form of an object literal, with key/value pairs. { MY_CUSTOM_DEFINE: '' , PI2: Math.PI * 2 }. The pairs are defined in both vertex and fragment shaders. Default is *undefined*.
Expand Down
2 changes: 0 additions & 2 deletions docs/api/en/materials/PointsMaterial.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ <h2>Examples</h2>
[example:webgl_interactive_raycasting_points WebGL / interactive / raycasting / points]<br />
[example:webgl_multiple_elements_text WebGL / multiple / elements / text]<br />
[example:webgl_points_billboards WebGL / points / billboards]<br />
[example:webgl_points_billboards_colors WebGL / points / billboards / colors]<br />
[example:webgl_points_dynamic WebGL / points / dynamic]<br />
[example:webgl_points_random WebGL / points / random]<br />
[example:webgl_points_sprites WebGL / points / sprites]<br />
[example:webgl_trails WebGL / trails]
</p>
Expand Down
1 change: 0 additions & 1 deletion docs/api/en/materials/ShaderMaterial.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ <h2>Examples</h2>
[example:webgl_materials_parallaxmap webgl / materials / parallaxmap]<br />
[example:webgl_materials_shaders_fresnel webgl / materials / shaders / fresnel]<br />
[example:webgl_materials_skin webgl / materials / skin]<br />
[example:webgl_materials_texture_hdr webgl / materials / texture / hdr]<br />
[example:webgl_materials_wireframe webgl / materials / wireframe]<br />
[example:webgl_modifier_tessellation webgl / modifier / tessellation]<br />
[example:webgl_nearestneighbour webgl / nearestneighbour]<br />
Expand Down
2 changes: 1 addition & 1 deletion docs/api/en/renderers/WebGLRenderer.html
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ <h3>[property:Boolean sortObjects]</h3>

Note: Sorting is used to attempt to properly render objects that have some degree of transparency.
By definition, sorting objects may not work in all cases. Depending on the needs of application,
it may be neccessary to turn off sorting and use other methods to deal with transparency
it may be necessary to turn off sorting and use other methods to deal with transparency
rendering e.g. manually determining each object's rendering order.
</p>

Expand Down
15 changes: 13 additions & 2 deletions docs/api/zh/core/Object3D.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,17 @@ <h3>[property:Boolean castShadow]</h3>
<h3>[property:Object3D children]</h3>
<p>含有对象的子级的数组。请参阅[page:Group]来了解将手动对象进行分组的相关信息。</p>

<h3>[property:Material customDepthMaterial]</h3>
<p>渲染到深度贴图时此材质要使用的自定义深度材质。
当使用[page:DirectionalLight]或[page:SpotLight]进行阴影投射时,如果您正在(a)修改顶点着色器中的顶点位置,
(b)使用位移贴图,(c)alphaTest中使用alpha贴图,或(d)alphaTest中使用透明纹理,
您必须指定customDepthMaterial以得到合适的阴影。默认值*undefined*。
</p>

<h3>[property:Material customDistanceMaterial]</h3>
<p>与customDepthMaterial相同,但与[page:PointLight]一起使用。默认值为*undefined*。
</p>

<h3>[property:Boolean frustumCulled]</h3>
<p>
当这个属性被设置的时候,它将在渲染物体之前,检查每一帧的物体是否在摄像机的视锥体中。
Expand Down Expand Up @@ -334,7 +345,7 @@ <h3>[method:null setRotationFromEuler]( [param:Euler euler] )</h3>
<h3>[method:null setRotationFromMatrix]( [param:Matrix4 m] )</h3>
<p>
m -- 通过该矩阵中的旋转分量来旋转四元数。<br />

调用[page:.quaternion]中的[page:Quaternion.setFromRotationMatrix setFromRotationMatrix]( [page:Matrix4 m])。
<br /><br />

Expand Down Expand Up @@ -411,4 +422,4 @@ <h2>源代码</h2>
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
</body>

</html>
</html>
3 changes: 1 addition & 2 deletions docs/api/zh/core/Raycaster.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ <h2>示例</h2>
[example:webgl_interactive_lines Raycasting to a Line]<br />
[example:webgl_interactive_raycasting_points Raycasting to Points]<br />
[example:webgl_geometry_terrain_raycast Terrain raycasting]<br />
[example:webgl_octree_raycasting Raycasting using an octree]<br />
[example:webgl_interactive_voxelpainter Raycasting to paint voxels]<br />
[example:webgl_raycast_texture Raycast to a Texture]
</div>
Expand Down Expand Up @@ -136,7 +135,7 @@ <h3>[method:null set]( [param:Vector3 origin], [param:Vector3 direction] )</h3>
<h3>[method:null setFromCamera]( [param:Vector2 coords], [param:Camera camera] )</h3>
<p>
[page:Vector2 coords] —— 在标准化设备坐标中鼠标的二维坐标 —— X分量与Y分量应当在-1到1之间。<br />

[page:Camera camera] —— 射线所来源的摄像机。
</p>
<p>
Expand Down
30 changes: 15 additions & 15 deletions docs/api/zh/extras/core/CurvePath.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,50 +10,50 @@
<body>
[page:Curve] &rarr;

<h1>[name]</h1>
<h1>曲线路径([name]</h1>

<p class="desc">
An abstract base class extending [page:Curve]. A CurvePath is simply an array of connected curves,
but retains the api of a curve.

一个扩展了[page:Curve]的抽象基类。CurvePath仅仅是一个已连接的曲线的数组,但保留了曲线的API。
</p>


<h2>Constructor</h2>
<h2>构造函数</h2>


<h3>[name]()</h3>
<p>
The constructor take no parameters.
构造函数中不传入参数。
</p>


<h2>Properties</h2>
<p>See the base [page:Curve] class for common properties.</p>
<h2>属性</h2>
<p>请参阅其基类[page:Curve]来了解共有属性。</p>

<h3>[property:array curves]</h3>
<p>The array of [page:Curve Curves].</p>
<p>[page:Curve Curves]数组。</p>

<h3>[property:boolean autoClose]</h3>
<p>Whether or not to automatically close the path.</p>
<p>是否自动闭合路径。</p>





<h2>Methods</h2>
<p>See the base [page:Curve] class for common methods.</p>
<h2>方法</h2>
<p>请参阅其基类[page:Curve]来了解共有方法。</p>

<h3>[method:null add]( [param:Curve curve] )</h3>
<p>Add a curve to the [page:.curves] array.</p>
<p>添加一条曲线到[page:.curves]数组中。</p>

<h3>[method:null closePath]()</h3>
<p>Adds a [page:LineCurve lineCurve] to close the path.</p>
<p>添加一条[page:LineCurve lineCurve]用于闭合路径。</p>

<h3>[method:Float getCurveLengths]()</h3>
<p>Adds together the lengths of the curves in the [page:.curves] array.</p>
<p>[page:.curves]数组中曲线的长度相加。</p>


<h2>Source</h2>
<h2>源代码</h2>

[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
</body>
Expand Down
Loading