r142
版本发布时间: 2022-06-29 16:37:46
mrdoob/three.js最新发布版本:r171(2024-11-29 19:21:30)
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r141--r142 https://github.com/mrdoob/three.js/milestone/55?closed=1
- Global
- Improve tree shaking. #24207, #24209, #24210, #24218, #24221, #24094 (@pschroen, @marcofugaro)
- Make vector and matrix
.is*
property non-enumerable. #24219 (@marcofugaro)
- CameraHelper
- Add
.setColors()
. #24235 (@Mugen87)
- Add
- InterleavedBufferAttribute
- Fix typos. #24195 (@Dannie226)
- Material
- Remove deprecated
vertexTangents
. #24136 (@LeviPesin)
- Remove deprecated
- WebGLRenderer
- Support more texture types in
initTexture()
. #24245 (@action-script)
- Support more texture types in
- WebGLShadowMap
- Fix enabling VSM. #24223 (@Mugen87)
- Make test for clipping planes more robust. #24144 (@lumebot)
- WebXRManager
- Disable sRGBA format for projection layer. #24222 (@cabanier)
- Fix input sources being sent to wrong controllers (touch AR). #23188 (@marwie)
- Fix wrong ray space for Vive OpenXR Runtime. #24056 (@saitonakamura)
- Remove input source on XR session end. #24269 (@marwie)
Documentation
- Improve
AmbientLight
page. #24273 (@hanisko) - Improve
BufferGeometry
page. #24254, #24256 (@Mugen87, @WestLangley) - Improve
How to update things
guide. #24192 (@Mugen87) - Improve
Matrix4
page. #24279 (@hanisko) - Improve
Path
page. #24224 (@dummyx) - Improve
WebGLRenderer
page. #24161 (@Strepto) - Improve
WebGLRenderTarget
page. #24230 (@TomHsiao1260) - Improve Chinese translation. #24166, #24244, #24282 (@jovey-zheng, @linbingquan, @luoxuhai)
- Improve
map
description of materials. #24134 (@ggPeti)
Manual
- Fix “morph targets with colors” demo. #24255 (@Mugen87)
- Improve
Setup
page. #24266 (@gh0sstt)
Examples
- Clean up. #24181, #24190, #24270 (@LeviPesin)
- Fix
webgl2_multiple_rendertargets
example for iOS. #24141 (@RenaudRohlinger) - Fix URL in
webgl_loader_gltf_iridescence
example. #24138 (@cx20) - Improve molecule demos. #24153 (@Mugen87)
- Improve
webgl_raycast_texture
example. #24157 (@Mugen87) - Remove
CameraControls
. #24185, #24232 (@Mugen87) - Add
webgpu_cubemap_adjustments
example. #24206 (@sunag) - Add
webgpu_particles
example. #24247, #24275 (@sunag) - Add
webgl_raycaster_bvh
example. #23907 (@gkjohnson) - Renamed some raycaster examples. #24280 (@mrdoob)
- Added external tag. #24281 (@mrdoob)
-
ArcballControls
- Use
dispose()
inmakeGizmos()
. #24241 (@Mugen87, @Vlad-Apostolov)
- Use
-
GLTFExporter
- Fixed
buildMetalRoughTexture()
#24197 (@mrdoob) - Convert sRGB to Linear in
buildMetalRoughTexture()
. #24198, 64ac0a2e24a0c02d25ce973611808f9f59ca0e37 (@mrdoob)
- Fixed
-
KTX2Loader
- Support loading uncompressed
DataTexture
andData3DTexture
. #24129, #24260, #24260 (@donmccurdy)
- Support loading uncompressed
-
LDrawLoader
- Fix two bugs and add seven improvements. #24257 (@yomboprime)
-
MaterialLoader
- Update static function using ES6 style. #24238 (@sunag)
-
MMDToonShader
- Add
/* glsl */
annotations. #24274 (@ycw)
- Add
-
NodeMaterial
- Add
.scaleNode
property and support tosprite.center
forSpriteNodeMaterial
. #24158 (@sunag) - Fix unnecessary swizzle in
SplitNode
. #24170 (@sunag) - Fix native
renderer.toneMapping
usage inWebGLNodeBuilder
. #24211 (@sunag) - Add
RangeNode
. #24240 (@sunag) -Fix and improveReflectVectorNode
. #24265 (@sunag)
- Add
-
OBJLoader
- Refactor line parsing. #24175 (@Degubi)
-
OculusHandPointerModel
- Fix pointer duplication issue. #24142 (@dmliao)
-
OutlinePass
- Correct gaussian probability density function input. #24262 (@ingun37)
-
PCDLoader
- Get the byte length of the field correctly. #24278 (@luoxuhai)
-
PLYLoader
- Fix for line splitting on universal newlines. #24264 (@05gash)
-
ShadowMesh
- Prevent shadow overlap. #24180 (@N8python)
-
SimplifyModifier
- Add check if
face
is not undefined. #24169 (@Suprhimp)
- Add check if
-
SVGLoader
- Honor styles in
svg
tag. #24263 (@Mugen87)
- Honor styles in
-
TransformControls
- Improve gizmo rendering with orthographic cameras. #24242 (@Mugen87, @WestLangley)
-
USDZExporter
- Log warning when
material.side === THREE.DoubleSide
. #24214 (@mrdoob)
- Log warning when
-
WebGPURenderer
- Fix wrong auto dimension on MacOS while generate MipMaps #24135 (@sunag)
- Update to latest API. #24186, #24233 (@Mugen87, @sunag)
- Add support for
.backgroundNode
. #24213 (@sunag)