Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
215 commits
Select commit Hold shift + click to select a range
d20b006
add boxselection demo
HypnosNova Jul 19, 2018
a229722
Merge pull request #2 from mrdoob/dev
erasta Jul 25, 2018
306270a
Geometry.fromBufferGeometry: avoid allocating tempNormals, tempUVs an…
erasta Jul 25, 2018
2326658
fromBufferGeometry: using fromArray also for Color
erasta Jul 25, 2018
5a1a80e
More readability on setting vertexNormals
erasta Jul 25, 2018
2c7393a
fromBufferGeometry: improve readability on trinary operator for vectors
erasta Jul 26, 2018
03a5c97
Properly size HTML elements to prevent zooming.
XanderLuciano Aug 2, 2018
961708b
Fix the overflowing div
XanderLuciano Aug 2, 2018
42f7040
Fix incorrect body size
XanderLuciano Aug 2, 2018
68f51fa
Revert to 5px padding on edges
XanderLuciano Aug 2, 2018
b8c6c16
Update box sizing on orbit controls
XanderLuciano Aug 2, 2018
ae64821
Update stats every frame
XanderLuciano Aug 2, 2018
b651de5
fix bugs
HypnosNova Aug 3, 2018
d81b2b4
Added BufferGeoemtry version of QRCode model
Mugen87 Aug 26, 2018
463855d
Add scaling factor for webvr render size
Aug 30, 2018
d9e67c1
As it was discussed in issue #14532
soadzoor Aug 31, 2018
e5bc952
Update geometry.html
ieskudero Sep 7, 2018
1a5b2bf
add eslint-plugin-html
looeee Sep 27, 2018
dd91b0a
add eslint-plugin-html
looeee Sep 27, 2018
4894f4e
Fix linter errors in examples WebGL A-L
looeee Oct 8, 2018
fe8d66b
Remove CanvasRenderer
WestLangley Oct 10, 2018
a5b45d1
fix linter errors in webgl M to W
looeee Oct 10, 2018
946a658
fix linter errors
looeee Oct 10, 2018
6fe568e
fix indentation
looeee Oct 10, 2018
1c66840
merge dev
looeee Oct 10, 2018
fd5c86e
Properly size HTML elements to prevent zooming.
XanderLuciano Aug 2, 2018
b63d034
Fix the overflowing div
XanderLuciano Aug 2, 2018
dad0c8d
Fix incorrect body size
XanderLuciano Aug 2, 2018
b466350
Revert to 5px padding on edges
XanderLuciano Aug 2, 2018
b5ce0c7
Update box sizing on orbit controls
XanderLuciano Aug 2, 2018
eb9a2e3
Update stats every frame
XanderLuciano Aug 2, 2018
6b6efde
Merge branch 'fix-trackball-html' of https://github.com/XanderLuciano…
XanderLuciano Oct 12, 2018
1837a4e
Fix box sizing on examples
XanderLuciano Oct 12, 2018
3e3fbed
added scene comparison example
looeee Oct 13, 2018
7cf3f82
fix for touch devices
looeee Oct 14, 2018
6769fd8
merge dev
looeee Oct 14, 2018
d25ed83
Support encodings such as RGBE
WestLangley Oct 15, 2018
c34c1d0
Support FloatType output
WestLangley Oct 15, 2018
7648f2b
Support cloning
WestLangley Oct 15, 2018
15b0d2b
Docs: Added manual page about WebGL 2
Mugen87 Oct 15, 2018
1590aee
Merge pull request #15059 from Mugen87/dev19
mrdoob Oct 15, 2018
c8ae258
Merge pull request #15055 from WestLangley/dev-equi_to_cube_gen
mrdoob Oct 15, 2018
fe07774
Merge pull request #15056 from WestLangley/dev-rgbe_loader_float
mrdoob Oct 15, 2018
5fa442d
Merge pull request #15031 from looeee/examples_fix_linter_errors4
mrdoob Oct 15, 2018
3447ee8
Merge pull request #15057 from WestLangley/dev-arrow_helper_clone
mrdoob Oct 15, 2018
fb6efa9
Fixed EXRLoader example in some Adreno GPUs. See #15026
mrdoob Oct 15, 2018
c1016a6
- Original Repo Issue 47: Fixed incorrect vertex color pointerC initi…
kaisalmen Oct 15, 2018
d649e79
Merge pull request #15060 from kaisalmen/OBJLoader2_V250
mrdoob Oct 15, 2018
361cf92
Updated builds.
mrdoob Oct 15, 2018
067b4da
Fixed tonemapping example.
mrdoob Oct 15, 2018
60a728d
Rollup: Added plugin for converting gl constants to their values.
mrdoob Oct 16, 2018
bf8f596
Merge pull request #15061 from mrdoob/rollup_glconstants
mrdoob Oct 16, 2018
49cd315
Updated builds.
mrdoob Oct 16, 2018
a99eac6
Fix copy and clone methods
WestLangley Oct 16, 2018
b52044b
Added copy and clone methods
WestLangley Oct 16, 2018
bc844a7
Merge pull request #15062 from WestLangley/dev-line_clone_copy
mrdoob Oct 16, 2018
ae95701
Merge pull request #15063 from WestLangley/dev-boxhelper_copy_clone
mrdoob Oct 16, 2018
1383f38
Merge pull request #15029 from WestLangley/dev-remove_canas_renderer
mrdoob Oct 16, 2018
6c7a0e1
Updated builds.
mrdoob Oct 16, 2018
7ebe6f9
Merge pull request #14985 from looeee/add_esling_plugin_html
mrdoob Oct 16, 2018
6bf05eb
Merge pull request #15046 from looeee/examples_add_scene_comparison
mrdoob Oct 16, 2018
8f2439c
Remove Material.overdraw property
WestLangley Oct 16, 2018
e7ff8ca
Merge pull request #15065 from WestLangley/dev-overdraw
mrdoob Oct 16, 2018
d0156cf
Docs: Removed Material.overdraw from zh docs.
mrdoob Oct 16, 2018
502f581
#15060 Updated documentation
kaisalmen Oct 16, 2018
fda784a
correct method names setMin(),setMax()
Oct 17, 2018
44b40c7
Fix for issue #15072
br4sco Oct 17, 2018
f214a7b
Property type correction
nidin Oct 17, 2018
5c609aa
Rename varying
WestLangley Oct 17, 2018
591c558
Merge pull request #15080 from WestLangley/dev-glsl_world_dir
mrdoob Oct 17, 2018
5dc348d
Merge pull request #15077 from nidin/patch-1
mrdoob Oct 17, 2018
e2dd8ce
Merge pull request #15071 from kaisalmen/OBJLoader2_V250_Doc
mrdoob Oct 18, 2018
43bfdaf
Support WebGLRenderTargetCube background
WestLangley Oct 18, 2018
8cc4828
Merge pull request #15081 from WestLangley/dev-background_rtcube
mrdoob Oct 18, 2018
42c3814
Cleanup:remove commented code
gero3 Oct 18, 2018
f74217c
Merge pull request #15082 from gero3/patch-5
mrdoob Oct 18, 2018
e826638
Merge pull request #15073 from br4sco/dev
mrdoob Oct 19, 2018
05ee6d5
Merge pull request #15069 from MosasoM/lut.html_modify_setMin_setMax
mrdoob Oct 19, 2018
32ed279
Center background mesh on camera position
WestLangley Oct 19, 2018
0426cf0
triplanar-mapping
sunag Oct 19, 2018
27e67ae
cleanup
sunag Oct 19, 2018
806102d
blend factor comments
sunag Oct 19, 2018
c5865f7
Merge pull request #15085 from sunag/dev-triplanar-node
mrdoob Oct 19, 2018
b8f0825
Add options arg to constructor
WestLangley Oct 19, 2018
307a807
Merge pull request #15086 from WestLangley/dev-cube_camera_options
mrdoob Oct 19, 2018
2cb40fa
Merge pull request #15083 from WestLangley/dev-dynamic_cubemap_example
mrdoob Oct 19, 2018
31f8f90
Updated builds.
mrdoob Oct 19, 2018
8b5da8c
Merge pull request #15042 from XanderLuciano/fix-trackball-html
mrdoob Oct 19, 2018
3e78465
SVG Loader: Accept multiple transforms in a single node
yomboprime Oct 20, 2018
a5ba2cb
SVG Loader: simplify transforms code
yomboprime Oct 20, 2018
b63ec3e
Add STL exporter in binary format to menu bar
hassadee Oct 20, 2018
7888f3c
Merge remote-tracking branch 'upstream/dev' into dev17
Mugen87 Oct 21, 2018
5e7b524
WebXR: Updated tokens
Mugen87 Oct 21, 2018
3ccce0e
Allow for the ascii header to end with CRLF
algrs Oct 21, 2018
01aaf62
Support changes to gammaFactor
WestLangley Oct 22, 2018
36dc7fc
Merge pull request #15098 from Mugen87/dev11
mrdoob Oct 22, 2018
d31264c
Merge pull request #15106 from WestLangley/dev-gamma_factor
mrdoob Oct 22, 2018
2688590
Merge pull request #15099 from algrs/master
mrdoob Oct 22, 2018
d2a9278
Updated builds.
mrdoob Oct 22, 2018
3d2b80f
Clarify background render order
WestLangley Oct 22, 2018
f98fd6e
Merge pull request #15108 from WestLangley/dev-background_order
mrdoob Oct 22, 2018
f565ac4
Merge pull request #15092 from yomboprime/transforms
mrdoob Oct 22, 2018
3c904f3
WebVR: Moved setProjectionFromUnion method to internal WebVRUtils.
mrdoob Oct 22, 2018
80cd24c
Updated builds.
mrdoob Oct 22, 2018
951ab07
GLTFLoader: Implement KHR_texture_transform.
Feb 22, 2018
c747fcb
GLTFLoader: Docs cleanup.
donmccurdy Jul 21, 2018
73160fe
GLTFLoader: Warn on unsupported texCoord override.
Aug 7, 2018
d3e3191
GLTFLoader: Clean up.
Aug 21, 2018
91cd518
Improve endnote docs.
Oct 23, 2018
5e6cbc5
Clean up.
Oct 23, 2018
dab285d
Merge pull request #13831 from donmccurdy/feat-gltfloader-texturetran…
mrdoob Oct 23, 2018
f66fbee
Docs: Clean up.
mrdoob Oct 23, 2018
c73817f
Docs: Automatically set language from hash.
mrdoob Oct 23, 2018
bbf3968
Merge pull request #15109 from mrdoob/docs
mrdoob Oct 23, 2018
e7dcca7
Merge pull request #14115 from joshpatt2/scalingfactor
mrdoob Oct 23, 2018
23ebe26
Web*RManager: framebufferScaleFactor to setFramebufferScaleFactor().
mrdoob Oct 23, 2018
38a644b
Updated builds.
mrdoob Oct 23, 2018
de6f8f7
Editor: Removed CanvasRenderer code.
mrdoob Oct 23, 2018
b2ce63c
Editor: Added localisation support.
mrdoob Oct 23, 2018
d4777b5
Merge pull request #15110 from mrdoob/editor
mrdoob Oct 23, 2018
abc70b7
Clean up.
mrdoob Oct 23, 2018
cecacf0
Change saveString() to saveArrayBuffer()
hassadee Oct 23, 2018
e4a12e8
Add default frustum to OrthographicCamera
EliasHasle Oct 23, 2018
461f7cf
Fixed typo
EliasHasle Oct 23, 2018
d98f5dc
i18n
linbingquan Oct 23, 2018
0dc8330
Merge pull request #15113 from linbingquan/dev
mrdoob Oct 23, 2018
d60e5d9
Projector: Added support for vertex colors
Mugen87 Oct 23, 2018
c0cad9d
SVGRenderer: Added support for vertex colors
Mugen87 Oct 23, 2018
fa66eae
Clean up
Mugen87 Oct 23, 2018
5367821
Added spaces after signs
EliasHasle Oct 23, 2018
8a5ca09
Add example to model loading page.
Oct 23, 2018
acaba2e
Merge pull request #15114 from Mugen87/dev11
mrdoob Oct 23, 2018
f25d81e
WebVRUtils: Fix NaNs and Infinity in setProjectionFromUnion().
mrdoob Oct 23, 2018
cf9f8ee
WebVRUtils: setProjectionFromUnion() now produces the correct frustum…
mrdoob Oct 23, 2018
7c291f6
Updated builds.
mrdoob Oct 23, 2018
e25c2e7
Fix water reflection sampling coordinates
fats Oct 23, 2018
fffb5f8
Merge pull request #15112 from EliasHasle/patch-7
mrdoob Oct 23, 2018
8d5c02d
Merge pull request #15120 from fats/fix-water-reflection
mrdoob Oct 24, 2018
7152be6
Merge pull request #15118 from donmccurdy/docs-loading-example
mrdoob Oct 24, 2018
55af39b
Merge pull request #14788 from Mugen87/dev17
mrdoob Oct 24, 2018
1a7b7c5
Merge pull request #15093 from hassadee/dev
mrdoob Oct 24, 2018
e371fe2
Editor: Localised Export STL (Binary)
mrdoob Oct 24, 2018
de4abea
Convert to BufferGeometry
WestLangley Oct 24, 2018
7637d34
Ported canvas example to webgl
WestLangley Oct 24, 2018
8439962
Merge pull request #15122 from WestLangley/dev-cloth
mrdoob Oct 24, 2018
f35784d
Improve error handling for LoadingManager
zprodev Oct 24, 2018
02c4149
Examples: Added webgl_effects_ascii
Mugen87 Oct 24, 2018
74df0ce
Examples: Removed usage of JSONLoader in misc_fps.html
Mugen87 Oct 24, 2018
a563fd9
Examples: Restore platform.jpg
Mugen87 Oct 24, 2018
31153bc
Examples: Clean up
Mugen87 Oct 24, 2018
396fbd3
Examples: Added comment to webgl_effects_ascii.html
Mugen87 Oct 24, 2018
90a6f04
Merge pull request #15127 from Mugen87/dev11
mrdoob Oct 24, 2018
5a8ed11
Merge pull request #15123 from WestLangley/dev-webgl_waves
mrdoob Oct 24, 2018
3b9a264
Fix combined frustum calculation used in setProjectionFromUnion for W…
jsantell Oct 24, 2018
3eac1a1
Merge pull request #15130 from jsantell/combined-frustum
mrdoob Oct 24, 2018
1103be3
Updated builds.
mrdoob Oct 24, 2018
a97c61d
Editor: Localised more elements.
mrdoob Oct 25, 2018
db9a302
Added delta to webvr_ballshooter example.
mrdoob Oct 25, 2018
b924f0c
Add RobotExpressive demo.
Oct 25, 2018
e71d720
webvr_ballshooter: Improved delta code and added coloring on impact.
mrdoob Oct 25, 2018
8cca287
webvr_ballshooter: adjusted shooting speed
mrdoob Oct 25, 2018
fe38f31
Increase top/bottom frustum extents for the WebVR camera union to acc…
jsantell Oct 25, 2018
a8ec3e7
Merge pull request #15133 from jsantell/frustumfix
mrdoob Oct 25, 2018
0bc3b31
Updated builds.
mrdoob Oct 25, 2018
a8379e3
Clean up.
mrdoob Oct 25, 2018
12450be
Updated builds.
mrdoob Oct 25, 2018
a7c88cd
Update README.md
donmccurdy Oct 25, 2018
3dbb735
Update webgl_animation_skinning_morph.html
donmccurdy Oct 25, 2018
976c6f9
Examples: Clean up
Mugen87 Oct 25, 2018
e16b960
fixed toolbar button layout error
linbingquan Oct 25, 2018
5a5f8a9
Docs: Wrong tag in BufferGeometry and wrong closing bracket in Shader…
moraxy Oct 25, 2018
00ba931
Merge pull request #15137 from moraxy/wrong_doc_tags
mrdoob Oct 25, 2018
55e0548
Merge pull request #15124 from Mugen87/dev17
mrdoob Oct 25, 2018
095ca68
Removed webvr_frustum example.
mrdoob Oct 25, 2018
1343a0a
Added webgl_points_waves.html
WestLangley Oct 25, 2018
0db40fa
Merge pull request #15135 from linbingquan/dev
mrdoob Oct 25, 2018
4b69036
Merge pull request #14813 from soadzoor/add-webxr-inputsource-into-co…
mrdoob Oct 26, 2018
ceeeba4
Merge pull request #14881 from ieskudero/patch-1
mrdoob Oct 26, 2018
94e47d4
Merge pull request #14547 from erasta/dev_geomfrombuff
mrdoob Oct 26, 2018
ee6ac85
Updated builds.
mrdoob Oct 26, 2018
152d5e3
Merge pull request #15132 from donmccurdy/feat-skinning-robot-demo
mrdoob Oct 26, 2018
4f74c90
Merge pull request #14508 from HypnosNova/BoxSelection
mrdoob Oct 26, 2018
c0dbf05
Examples: Renamed webgl_interactive_boxselection to misc_boxselection
mrdoob Oct 26, 2018
d2c5df8
Made custom pan keys
Oct 26, 2018
b64d223
remove arrow function & added reuse method isPanEvent
Oct 26, 2018
00a8e03
callback was moved from some function
Oct 26, 2018
5e23ac5
Convert to THREE.Points
WestLangley Oct 27, 2018
3809b1f
Clean up
WestLangley Oct 27, 2018
4a477b7
Clean up
WestLangley Oct 27, 2018
e5e4cf0
Audio: Use linearRampToValueAtTime()
Mugen87 Oct 27, 2018
9a3441c
Cleanup
WestLangley Oct 27, 2018
b20e186
Accommodate change in InstancedBufferAttribute signature
WestLangley Oct 28, 2018
203a62c
test constructor WebglRenderer
gero3 Oct 28, 2018
2aaea0e
cleanup test
gero3 Oct 28, 2018
8c53695
Geometry -> BufferGeometry
WestLangley Oct 29, 2018
cafc255
Examples: Clean up
Mugen87 Oct 29, 2018
4b217f8
Merge pull request #15164 from Mugen87/dev17
mrdoob Oct 29, 2018
04a4880
revert && add shiftKey
Oct 29, 2018
db3cdee
Merge pull request #15153 from WestLangley/dev-cleanup_undefined
mrdoob Oct 29, 2018
cb0dd38
Merge pull request #15161 from WestLangley/dev-to_buffer_geometry
mrdoob Oct 29, 2018
fa5956a
fix description
leshkovichpvl Oct 29, 2018
634587f
Support shift key to orbit
WestLangley Oct 29, 2018
666edb3
Merge pull request #15166 from WestLangley/dev-map_controls_shift_key
mrdoob Oct 29, 2018
0c360b7
Merge pull request #15140 from leshkovichpvl/orbital-control/custom-p…
mrdoob Oct 29, 2018
27ba8e1
Merge pull request #15145 from WestLangley/dev-waves_example
mrdoob Oct 29, 2018
e5d8de0
Merge pull request #15151 from Mugen87/dev11
mrdoob Oct 29, 2018
e8a311b
Merge pull request #15156 from WestLangley/dev-instanced_buffer_attr
mrdoob Oct 29, 2018
6138251
Merge pull request #15158 from gero3/Webglrenderertests
mrdoob Oct 29, 2018
876bcfa
Merge pull request #15146 from WestLangley/dev-texture_rotation_example
mrdoob Oct 29, 2018
54ad0eb
Update SVGLoader.html
WestLangley Oct 30, 2018
9230730
Merge pull request #15126 from zprodev/feature/improve-loadingmanager…
mrdoob Oct 30, 2018
f1fd4fa
Updated builds.
mrdoob Oct 30, 2018
330dcef
Texture: Clean up.
mrdoob Oct 30, 2018
a1f3889
Update JSONLoader.html
Mugen87 Oct 30, 2018
0df99a8
Merge pull request #15172 from mrdoob/Mugen87-patch-1
Mugen87 Oct 30, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7,153 changes: 3,626 additions & 3,527 deletions build/three.js

Large diffs are not rendered by default.

1,605 changes: 800 additions & 805 deletions build/three.min.js

Large diffs are not rendered by default.

7,154 changes: 3,626 additions & 3,528 deletions build/three.module.js

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions docs/api/en/audio/Audio.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,15 @@ <h3>[property:Boolean hasPlaybackControl]</h3>
<p>Whether playback can be controlled using the [page:Audio.play play](),
[page:Audio.pause pause]() etc. methods. Default is *true*.</p>

<h3>[property:Number playbackRate]</h3>
<p>Speed of playback. Default is *1*.</p>

<h3>[property:Boolean isPlaying]</h3>
<p>Whether the audio is currently playing.</p>

<h3>[property:AudioListener listener]</h3>
<p>A reference to the listener object of this audio.</p>

<h3>[property:Number playbackRate]</h3>
<p>Speed of playback. Default is *1*.</p>

<h3>[property:Number startTime]</h3>
<p>The time at which the sound should begin to play. Same as the *when* paramter of [link:https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/start AudioBufferSourceNode.start](). Default is *0*.</p>

Expand Down
2 changes: 2 additions & 0 deletions docs/api/en/audio/AudioListener.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ <h3>[property:GainNode gain]</h3>
<h3>[property:AudioNode filter]</h3>
<p>Default is *null*.</p>

<h3>[property:Number timeDelta]</h3>
<p>Time delta value for audio entities. Use in context of [link:https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/linearRampToValueAtTime AudioParam.linearRampToValueAtTimeDefault](). Default is *0*.</p>

<h2>Methods</h2>

Expand Down
10 changes: 8 additions & 2 deletions docs/api/en/cameras/CubeCamera.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,17 @@ <h2>Examples</h2>
<h2>Constructor</h2>


<h3>[name]( [param:Number near], [param:Number far], [param:Number cubeResolution] )</h3>
<h3>[name]( [param:Number near], [param:Number far], [param:Number cubeResolution], [param:Object options] )</h3>
<p>
near -- The near clipping distance. <br />
far -- The far clipping distance <br />
cubeResolution -- Sets the length of the cube's edges.
cubeResolution -- Sets the length of the cube's edges. <br />
options - (optional) object that holds texture parameters passed to the auto-generated WebGLRenderTargetCube.
If not specified, the options default to:
<code>
{ format: RGBFormat, magFilter: LinearFilter, minFilter: LinearFilter }
</code>

</p>
<p>
Constructs a CubeCamera that contains 6 [page:PerspectiveCamera PerspectiveCameras] that
Expand Down
1 change: 0 additions & 1 deletion docs/api/en/cameras/OrthographicCamera.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ <h1>[name]</h1>

<h2>Example</h2>

<p>[example:canvas_camera_orthographic camera / orthographic ]</p>
<p>[example:webgl_camera camera ]</p>
<p>[example:webgl_interactive_cubes_ortho interactive / cubes / ortho ]</p>
<p>[example:webgl_materials_cubemap_dynamic materials / cubemap / dynamic ]</p>
Expand Down
2 changes: 0 additions & 2 deletions docs/api/en/cameras/PerspectiveCamera.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ <h1>[name]</h1>

<h2>Example</h2>

<p>[example:canvas_geometry_birds geometry / birds ]</p>
<p>[example:canvas_geometry_cube geometry / cube ]</p>
<p>[example:webgl_animation_skinning_blending animation / skinning / blending ]</p>
<p>[example:webgl_animation_skinning_morph animation / skinning / blending ]</p>
<p>[example:webgl_effects_stereo effects / stereo ]</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/en/core/BufferGeometry.html
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ <h3>[method:null clearGroups]( )</h3>

<h3>[method:null computeBoundingBox]()</h3>
<p>
Computes bounding box of the geometry, updating [param:.boundingBox] attribute.<br />
Computes bounding box of the geometry, updating [page:.boundingBox] attribute.<br />
Bounding boxes aren't computed by default. They need to be explicitly computed, otherwise they are *null*.
</p>

Expand Down
3 changes: 2 additions & 1 deletion docs/api/en/core/Geometry.html
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,8 @@ <h3>[method:null dispose]()</h3>
</p>

<h3>[method:Geometry fromBufferGeometry]( [param:BufferGeometry geometry] )</h3>
<p>Convert a [page:BufferGeometry] to a Geometry.</p>
<p>Convert a [page:BufferGeometry] to a Geometry. <br />
The array used to store the vertices in the bufferGeometry is a non indexed array, so the resultant geometry may contain duplicated vertices. Use [page:mergeVertices] to remove them.</p>

<h3>[method:Geometry lookAt] ( [param:Vector3 vector] )</h3>
<p>
Expand Down
4 changes: 2 additions & 2 deletions docs/api/en/core/InterleavedBuffer.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ <h3>[property:Integer version]</h3>
A version number, incremented every time the needsUpdate property is set to true.
</p>

<h3>[property:Integer isInterleavedBuffer]</h3>
<h3>[property:Boolean isInterleavedBuffer]</h3>
<p>
Default is *true*.
</p>

<h3>[property:Integer needsUpdate]</h3>
<h3>[property:Boolean needsUpdate]</h3>
<p>
Default is *false*. Setting this to true increments [page:InterleavedBuffer.version version].
</p>
Expand Down
6 changes: 3 additions & 3 deletions docs/api/en/deprecated/DeprecatedList.html
Original file line number Diff line number Diff line change
Expand Up @@ -501,11 +501,11 @@ <h3>[page:Shape]</h3>



<h2>Renderer</h2>
<h2>Renderers</h2>

<h3>[page:Projector]</h3>
<h3>[page:CanvasRenderer]</h3>
<p>
CanvasRenderer has been moved to [link:https://github.com/mrdoob/three.js/blob/master/examples/js/renderers/CanvasRenderer.js /examples/js/renderers/CanvasRenderer.js].
CanvasRenderer has been removed.
</p>

<h3>[page:Projector]</h3>
Expand Down
4 changes: 0 additions & 4 deletions docs/api/en/lights/AmbientLight.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ <h1>[name]</h1>

<h2>Example</h2>
<p>
[example:canvas_camera_orthographic camera / orthographic ]<br />
[example:canvas_interactive_voxelpainter interactive / voxelpainter ]<br />
[example:canvas_materials materials ]<br />
[example:canvas_sandbox sandbox ]<br />
[example:webgl_animation_cloth animation / cloth ]<br />
[example:webgl_animation_skinning_blending animation / skinning / blending ]
</p>
Expand Down
1 change: 0 additions & 1 deletion docs/api/en/lights/DirectionalLight.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ <h2>A Note about Position, Target and rotation</h2>

<h2>Example</h2>
<p>
[example:canvas_morphtargets_horse morphtargets / horse ]<br />
[example:misc_controls_fly controls / fly ]<br />
[example:misc_lights_test lights / test ]<br />
[example:webvr_cubes cubes ]<br />
Expand Down
1 change: 0 additions & 1 deletion docs/api/en/lights/PointLight.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ <h1>[name]</h1>
<h2>Example</h2>

<p>
[example:canvas_lights_pointlights lights / pointlights ]<br />
[example:webgl_lights_pointlights lights / pointlights ]<br />
[example:webgl_lights_pointlights2 lights / pointlights2 ]<br />
[example:webgldeferred_animation animation ]<br />
Expand Down
3 changes: 1 addition & 2 deletions docs/api/en/loaders/JSONLoader.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ <h1>[name]</h1>
<h2>Example</h2>

<p>
[example:webgl_loader_json WebGL / loader / json]<br />
[example:webgl_loader_json_objconverter WebGL / loader / json / objconverter]
[example:webgl_loader_json WebGL / loader / json]
</p>

<code>
Expand Down
1 change: 0 additions & 1 deletion docs/api/en/materials/LineDashedMaterial.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ <h2>Examples</h2>

<p>
[example:webgl_lines_dashed WebGL / lines / dashed]<br />
[example:canvas_lines_dashed Canvas / lines /dashed]
</p>

<code>
Expand Down
7 changes: 0 additions & 7 deletions docs/api/en/materials/Material.html
Original file line number Diff line number Diff line change
Expand Up @@ -175,13 +175,6 @@ <h3>[property:Float opacity]</h3>
Default is *1.0*.
</p>

<h3>[property:Float overdraw]</h3>
<p>
Amount of triangle expansion at draw time.
This is a workaround for cases when gaps appear between triangles when using [page:CanvasRenderer].
*0.5* tends to give good results across browsers. Default is *0*.
</p>

<h3>[property:Boolean polygonOffset]</h3>
<p>
Whether to use polygon offset. Default is *false*. This corresponds to the *GL_POLYGON_OFFSET_FILL* WebGL feature.
Expand Down
2 changes: 1 addition & 1 deletion docs/api/en/materials/ShaderMaterial.html
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ <h3>[property:Boolean wireframe]</h3>
<h3>[property:Float wireframeLinewidth]</h3>
<p>Controls wireframe thickness. Default is 1.<br /><br />

Due to limitations of the [link:https://www.khronos.org/registry/OpenGL/specs/gl/glspec46.core.pdf OpenGL Core Profile)
Due to limitations of the [link:https://www.khronos.org/registry/OpenGL/specs/gl/glspec46.core.pdf OpenGL Core Profile]
with the [page:WebGLRenderer WebGL] renderer on most platforms linewidth will
always be 1 regardless of the set value.
</p>
Expand Down
1 change: 0 additions & 1 deletion docs/api/en/materials/SpriteMaterial.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ <h2>Examples</h2>
<div>
[example:webgl_sprites WebGL / sprites]<br />
[example:misc_ubiquity_test misc / ubiquity / test]<br />
[example:misc_ubiquity_test2 misc / ubiquity / test2]<br />
[example:software_sandbox software / sandbox]<br />
[example:svg_sandbox svg / sandbox]<br />
[example:webgl_materials_cubemap_dynamic webgl / materials / cubemap / dynamic]
Expand Down
3 changes: 3 additions & 0 deletions docs/api/zh/audio/Audio.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ <h3>[property:Number playbackRate]</h3>
<h3>[property:Boolean isPlaying]</h3>
<p>是否正在播放</p>

<h3>[property:AudioListener listener]</h3>
<p>A reference to the listener object of this audio.</p>

<h3>[property:Number startTime]</h3>
<p>开始播放的时间. 和[link:https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/start AudioBufferSourceNode.start]()的*when*参数一样. 默认为 *0*.</p>

Expand Down
2 changes: 2 additions & 0 deletions docs/api/zh/audio/AudioListener.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ <h3>[property:GainNode gain]</h3>
<h3>[property:AudioNode filter]</h3>
<p>默认为*null*.</p>

<h3>[property:Number timeDelta]</h3>
<p>Time delta value for audio entities. Use in context of [link:https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/linearRampToValueAtTime AudioParam.linearRampToValueAtTimeDefault](). Default is *0*.</p>

<h2>方法</h2>

Expand Down
5 changes: 0 additions & 5 deletions docs/api/zh/materials/Material.html
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,6 @@ <h3>[property:Float opacity]</h3>

</p>

<h3>[property:Float overdraw]</h3>
<p>绘制时的三角形扩展量。对于使用[page:CanvasRenderer]时三角形之间出现间隙的情况,这是一种解决方法。
*0.5*往往会在浏览器中有良好的结果。默认值为*0*。
</p>

<h3>[property:Boolean polygonOffset]</h3>
<p> 是否使用多边形偏移。默认值为*false*。这对应于WebGL的*GL_POLYGON_OFFSET_FILL*功能。
</p>
Expand Down
1 change: 0 additions & 1 deletion docs/api/zh/materials/SpriteMaterial.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ <h2>例子(Examples)</h2>
<div>
[example:webgl_sprites WebGL / sprites]<br />
[example:misc_ubiquity_test misc / ubiquity / test]<br />
[example:misc_ubiquity_test2 misc / ubiquity / test2]<br />
[example:software_sandbox software / sandbox]<br />
[example:svg_sandbox svg / sandbox]<br />
[example:webgl_materials_cubemap_dynamic webgl / materials / cubemap / dynamic]
Expand Down
4 changes: 2 additions & 2 deletions docs/examples/Lut.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,15 @@ <h3>.setLegendLabels [parameters, callback]</h3>
Sets the labels of the legend of this Lut.
</p>

<h3>[method:Lut setminV]( [param:Float minV] )</h3>
<h3>[method:Lut setMin]( [param:Float minV] )</h3>
<p>
minV — The minimum value to be represented with the lookup table.<br />
</p>
<p>
Sets this Lut with the minimum value to be represented.
</p>

<h3>[method:Lut setmaxV]( [param:Float maxV] )</h3>
<h3>[method:Lut setMax]( [param:Float maxV] )</h3>
<p>
maxV — The maximum value to be represented with the lookup table.<br />
</p>
Expand Down
61 changes: 0 additions & 61 deletions docs/examples/SpriteCanvasMaterial.html

This file was deleted.

24 changes: 18 additions & 6 deletions docs/examples/loaders/GLTFLoader.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,20 @@ <h2>Extensions</h2>
<li>KHR_materials_pbrSpecularGlossiness</li>
<li>KHR_materials_unlit</li>
<li>KHR_lights_punctual (experimental)</li>
<li>KHR_texture_transform<sup>*</sup></li>
<li>MSFT_texture_dds</li>
</ul>

<p><i>
<sup>*</sup>UV transforms are supported, with several key limitations. Transforms applied to
a texture using the first UV slot (all textures except aoMap and lightMap) must share the same
transform, or no transfor at all. The aoMap and lightMap textures cannot be transformed. No
more than one transform may be used per material. Each use of a texture with a unique
transform will result in an additional GPU texture upload. See
#[link:https://github.com/mrdoob/three.js/pull/13831 13831] and
#[link:https://github.com/mrdoob/three.js/issues/12788 12788].
</i></p>

<h2>Example</h2>

<code>
Expand Down Expand Up @@ -85,30 +97,30 @@ <h2>Browser compatibility</h2>
providing a Promise replacement.</p>

<h2>Textures</h2>

<p>Textures containing color information (.map, .emissiveMap, and .specularMap) always use sRGB colorspace in
glTF, while vertex colors and material properties (.color, .emissive, .specular) use linear colorspace. In a
typical rendering workflow, textures are converted to linear colorspace by the renderer, lighting calculations
are made, then final output is converted back to sRGB and displayed on screen. Unless you need post-processing
in linear colorspace, always configure [page:WebGLRenderer] as follows when using glTF:</p>

<code>
renderer.gammaOutput = true;
renderer.gammaFactor = 2.2;
</code>

<p>GLTFLoader will automatically configure textures referenced from a .gltf or .glb file correctly, with the
assumption that the renderer is set up as shown above. When loading textures externally (e.g., using
[page:TextureLoader]) and applying them to a glTF model, colorspace and orientation must be given:</p>

<code>
// If texture is used for color information, set colorspace.
texture.encoding = THREE.sRGBEncoding;

// UVs use the convention that (0, 0) corresponds to the upper left corner of a texture.
texture.flipY = false;
</code>
</code>

<h2>Custom extensions</h2>

<p>
Expand Down
9 changes: 9 additions & 0 deletions docs/examples/loaders/LoaderSupport.html
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,15 @@ <h3>[method:null setContent]( [param:Object content )</h3>
<p>
Set the content of this resource
</p>


<h3>[method:null setResourcePath] ( [param:String resourcePath] )</h3>
<p>
[page:String resourcePath] - URL
</p>
<p>
Allows to specify resourcePath for dependencies of specified resource.
</p>
<br>
<br>

Expand Down
9 changes: 9 additions & 0 deletions docs/examples/loaders/OBJLoader2.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,15 @@ <h3>[method:null setPath] ( [param:String path] )</h3>
</p>


<h3>[method:null setResourcePath] ( [param:String resourcePath] )</h3>
<p>
[page:String resourcePath] - URL
</p>
<p>
Allows to specify resourcePath for dependencies of specified resource.
</p>


<h3>[method:null setStreamMeshesTo] ( [param:Object3D streamMeshesTo] )</h3>
<p>
[page:Object3D streamMeshesTo] - Object already attached to scenegraph where new meshes will be attached to
Expand Down
Loading