r128
版本发布时间: 2021-04-23 17:49:03
mrdoob/three.js最新发布版本:r170(2024-10-31 15:07:49)
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r127--r128 https://github.com/mrdoob/three.js/milestone/41?closed=1
- Global
- More usage of ES6 features. #21546, #21622, #21623, #21624, #21625, #20016, #21628, #21635, #21643, #21646, #21648, #21662 (@linbingquan, @Mugen87, @ianpurvis, @john-keith)
- Add
build-examples
script. #21584, #21587, #21588, #21591, #21677 (@marcofugaro, @gkjohnson) - Remove more deprecated methods to improve tree-shaking. #21649 (@marcofugaro)
- Improve ES6 toolchain. #21650, #21657, #21678 (@marcofugaro)
- Rename
test-lint
npm script tolint
. #21652 (@marcofugaro)
- Color
- Support color names using uppercase. #21687 (@puxiao)
- DataTexture2DArray/3D
- Set
unpackAlignmen
t to1
by default. #21633 (@mrdoob)
- Set
- Helpers
- Add missing
dispose()
methods. #21577 (@acu192)
- Add missing
- Material
- Fix serialization of certain
envMap
properties. #21701 (@jimi75)
- Fix serialization of certain
- MathUtils
- Refactor code to allow for tree-shaking. #21651, a7b8ed26d088bd12c9ba304eac5874dbefaa3079 (@marcofugaro, @mrdoob)
- WebGLRenderer
- Improve docs of
packing
shader chunk. #21557 (@gonnavis) - Fix
ImmediateRenderObject
with vertex colors. #21602 (@Mugen87)
- Improve docs of
- WebGLTexture
- Fix
updateMultisampleRenderTarget()
. #21570 (@Mugen87)
- Fix
- WebXRController
- Dispatch
move
event when moving. a63ff05a8c5a0663a39ddc7fa599bb27d74ce0e7, 979d8f284cffe9bbf9d618e67462b69e5e9d430d (@mrdoob)
- Dispatch
- WebXRManager
- Get linear/angular velocity for targetRay and grip poses if available. #21524, b82d7bd874f6aae093ee2708ddb91dd6d45a597c (@davehill00, @mrdoob)
- XRHandPrimitiveModel
- Use
InstancedMesh
. #21702, 8e50d5c8365c8693065a349994692fdeb5efa97b, c1790135ceee7a57bbd33ac47f1338d7bdafa012, b3df09a0d04b06a6cd1cfe9a8ab960a20c3a00cd (@zalo, @mrdoob)
- Use
Documentation
- Improved
SkinnedMesh
page. #21561 (@prominentdetail) - Improved
TrackballControls
page. #21703 (@mrdoob) - Improved
WebGLRenderer
page. #21637 (@yomboprime) - Added
five-server
to the docs. #21550 (@yandeu)
Examples
- Clean up. #21552, #21566, #21664, #21671, #21684, #21688, #21704, 96971a631669975baba0fcf77060dd9644987ed5, 1912046996da5a7085fa15db76a18bcfadb7bd9c (@Mugen87, @marcofugaro, @mrdoob)
- Convert codebase to ES6. #21563, #21583, #21585, #21586, #21589, #21592, #21593, #21597, #21596, #21598, #21599, #21600, #21601, #21604, #21605, #21611, #21610, #21612, #21614, #21616, #21618, #21619, #21621, #21620, #21629, #21632, #21630, #21645, #21644, #21653, #21658, #21660, #21680 (@Mugen87, @yomboprime, @tentone, @fraguada)
- Fix param
use2DLut
inwebgl_postprocessing_3dlut
example. #21613 (@kchapelier) - Removed
XLoader
. #21617 (@Mugen87) - Mark certain event listeners in controls as non-passive. #21642 (@puxiao, @WestLangley)
- Removed
onmousewheel
attribute inindex.html
. #21647 (@puxiao) - Update
fflate
version. #21669 (@gkjohnson) - Convert
jsm
files to use barethree
import before npm publish. #21654 (@gkjohnson) - Refactor
Sky
usage. #21681, #21575 (@Mugen87, @sirxemic) - Fix
webgl_gpgpu_birds
references error. #20675 (@gonnavis) - Bring
dat.gui
inside VR. #21700 (@mrdoob) - Use
RoomEnvironment
inwebgl_animation_keyframes
example. fe12f87c15b29d75a569e66b09e74f510119c651 (@mrdoob) - Use
allow=""
attribute in<iframe>
. e041a2f6be2d57617c8b8a06498a3e29f1a2a47a (@mrdoob) - Removed
#webxr-hands
flag message. 5ed5390e040c3856543f4a74ed8988009186e86a (@mrdoob)
-
AmmoPhysics
- Moved
drawUsage
logic to example. 1da44f66f1189c273cbc85d40c27523e73a65efc (@mrdoob)
- Moved
-
GLTFLoader
- Fix incorrect boundingBox for normalized attributes. #21554 (@donmccurdy)
- Add
createNodeMesh()
hook. #21458 (@takahirox)
-
IFCLoader
- Make WASM path configurable and update IFC library. #21683 (@agviegas)
-
KTX2Loader
- Update
ktx-parse
dependency, import enums. #21567 (@donmccurdy)
- Update
-
NodeMaterial
- Integrate new node material into
WebGLRenderer
. #21117 (@sunag) - Fix expected behavior of
.colorNode
property. #21692 (@sunag) - Add selective lights support for
WebGPURenderer
. #21322 (@sunag) - Fix warnings in
WebGLNodeBuilder
. #21705 (@sunag)
- Integrate new node material into
-
OBB
- Use
Matrix4.setFromMatrix3()
. #21562 (@Mugen87)
- Use
-
SSRPass
- Reflector use clipping plane. #21574 (@gonnavis)
- Change
surfDist
andinfiniteThick
behavior. #21539, #21668 (@gonnavis)
-
VRMLLoader
- Upgrade
chevrotai
n to latest version. #21694 (@Mugen87)
- Upgrade
-
WebGPURenderer
- Update to latest WebGPU API. #21699 (@Mugen87)
Editor
- Use class syntax in
ViewHelper
. #21631 (@Mugen87) - Remove the default color value of
SpotLightHelper
. #21675 (@1993heqiang) - Fix equirect backgrounds. #21690 (@Mugen87)
- Use
networkFirst
insw.js
. 0b608ec69ab413eb17eb9b93a2e780e9ab072f53 (@mrdoob) - Only display video renderer when
SharedArrayBuffer
is available. 71ffae30b3c75407d87696f726392215885dd8f9 (@mrdoob) -
Signal
clean up. 0f418c7f6eaa7c062f2bd3824be64e92b0d318ac (@mrdoob) - Save renderer changes automatically. 7c3d2f44fd34796b038b74190d64cf4fbd3574cf (@mrdoob)
- Empty project title on clear. e07eca4c0b773689cd32f9c8cef30714c3a8e550 (@mrdoob)