r122
版本发布时间: 2020-10-28 19:50:19
mrdoob/three.js最新发布版本:r171(2024-11-29 19:21:30)
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r121--r122 https://github.com/mrdoob/three.js/milestone/35?closed=1
Source
- Global
- More usage of ES6 default parameters. #20472 (@linbingquan)
- AnimationObjectGroup
- Fix
.uncache()
when used with a single object. #20556 (@Mugen87)
- Fix
- Audio
- Copy filters array in
.setFilters()
. #20105 (@takahirox)
- Copy filters array in
- Camera
- Properly update world matrix prior to use. #20224 (@WestLangley)
- CubeCamera
- Moved
.clear()
toWebGLCubeRenderTarget
. #20565 (@mrdoob)
- Moved
- CubeTexture
- Clarify
envMap
flip. #20490 (@Mugen87)
- Clarify
- MaterialLoader
- Make
.parse()
more robust. #20534 (@Mugen87)
- Make
- Object3D
- Add
clear()
. #20478, 315d0fc94b054ef8fc98497d6c71e61b9c9a3715 (@Mugen87, @bianyunzhi95, @mrdoob)
- Add
- RectAreaLight
- Add half float support. #20477 (@yellowtailfan)
- VideoTexture
- Fix
clone()
in context ofrequestVideoFrameCallback()
. #20449 (@ianpurvis)
- Fix
- WebGLGeometries
- Fix memory leak when disposing of
Geometry
. #20479 (@Mugen87)
- Fix memory leak when disposing of
- WebGLCubeMaps
- Support
Texture.dispose()
. #20439 (@Mugen87)
- Support
- WebGLRenderer
- Traverse only visible lights in
.compile()
. #20450 (@Oletus)
- Traverse only visible lights in
Documentation
- Improved
Creating a Scene
page. #20468, #20525 (@montoyamoraga, @subtra3t) - Improved
Quaternion
page. #20396 (@FlorentMasson) - Improved
VideoTexture
page. #20476 (@Mugen87) - Improved constants page. #20488 (@linbingquan)
- Move to let/const. #20484, #20487, #20485 (@Mugen87, @linbingquan)
- Improved Chinese translation. #20533, #20532 (@SJoshua, @zhangyxyx)
- Remove obsolete
list.js
imports. #20545 (@Mugen87) - Make
list.js
to a JSON file. #20553 (@Mugen87)
TypeScript
- Add
is*
boolean to every texture type. #20483 (@DavidPeicho) - Export
TextGeometryParameters
. #20467 (@Methuselah96) - Remove
Scene.dispose()
definition. #20496 (@wal0x) - Add missing
DataTexture2DArray
declaration. #20526 (@djytw) - Add
mouseButtons
toTrackballControls
. #20551 (@markhog) - Fix parameter error of
AnimationClip.toJSON()
. #20569 (@beidongjiedeguang)
Examples
- Clean up. #20438, #20470, #20513, #20517, #20536, #20567, #20570, #20571, 39aca0494bd7eb88da19ccf336f43772538eb3c0 (@linbingquan, @Mugen87, @mrdoob)
- Remove
ExplodeModifier
. #20458 (@Mugen87) - Remove
Fire
. #20495 (@Mugen87) - Move HTML example code to let/const. #20500, #20501, #20503, #20505, #20507, #20509, #20510, #20512 (@Mugen87)
- Update name of face mesh in
webgl_animation_skinning_morph
example. #20504 (@donmccurdy) - Make
files.js
to JSON files. #20544 (@Mugen87) - Add 3D LUT color grading post processing pass. #20558, #20562 (@gkjohnson)
- Add
EdgeSplitModifier
. #20535 (@Mcgode) - Removed deprecation warning from
examples/js
files. #20568 (@mrdoob) - Fix toggle icon CSS issue. #20566 (@Mugen87)
- Added curve modifier examples. #20538 (@AdaRoseCannon)
-
GLTFLoader
- Fix handling of
glTF
files with optionalKTX2
extensions. #20518 (@zeux) - Add support for
EXT_texture_webp
. #20539 (@donmccurdy) - Implement support for
EXT_meshopt_compression
. #20508 (@zeux)
- Fix handling of
-
OBJLoader
- Fix normal generation. #20498 (@gkjohnson)
-
OutlinePass
- Exclude point clouds and lines. #20460 (@Mugen87)
-
SelectionHelper
- Use Pointer Events API. #20514 (@tsaockham)
-
SSAOPass
- Exclude point clouds and lines. #20451 (@Mugen87)
- Make visibility cache to a property. #20459 (@Mugen87)
-
STLExporter
- Use
BufferGeometry
, supported skeletons. #20494 (@Mugen87)
- Use
-
WebGPURenderer
- Fixed byte size alignment in
WebGPUAttributes
. #20442, 7bc80c5a84e277cef288fe2a5d35b1d1347fc10b (@pplux, @Mugen87)
- Fixed byte size alignment in
Editor
- Clean up. #20464 (@linbingquan)
- Support animation export with GLTFExporter. #20454 (@Mugen87)
- Improved Chinese translation. #20466, #20557 (@linbingquan)
- Fix
ViewHelper
with translated camera. #20524 (@Mugen87) - Change color picker to realtime. #20528 (@codedeep)
- Make playback speed of animations configurable. #20547 (@Mugen87)
Tests
- Fix ReferenceError in
check-coverage.js
. #20543 (@takahirox)