r141
版本发布时间: 2022-05-26 20:52:36
mrdoob/three.js最新发布版本:r171(2024-11-29 19:21:30)
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r140--r141 https://github.com/mrdoob/three.js/milestone/54?closed=1
- Global
- Remove legacy code below
r130
. #24034 (@Mugen87) - Avoid unnecessary
prototype
access. #24036, #24060, #24069, #24061, #24047, #24092, #24105 (@marcofugaro, @Mugen87) - Move deprecated properties and methods to classes. #24040, #24044 (@Mugen87)
- Remove legacy code below
- DepthTexture
- Change default
type
toUnsignedIntType
. #24019 (@wmcmurray)
- Change default
- ExtrudeGeometry
- Fix
.toJSON()
when usingextrudePath
. #24013 (@Mugen87)
- Fix
- Interpolant
- Remove
beforeStart_()
andafterEnd_()
alias definitions. #24076 (@Mugen87)
- Remove
- MeshPhysicalMaterial
- Support iridescence / thin-film materials. #23869, e60a8027463e04b0a6b060c3537798e599086c58 (@PascalSchoen, @mrdoob)
- Object3D
- Honor
recursive
parameter ofcopy()
in subclasses. #24119 (@frading)
- Honor
- ObjectLoader
- Check type of
Source.data
for loading images. #24067 (@fluxxu)
- Check type of
- WebGLRenderer
- Stop checking for
FramebufferTexture
in.copyFramebufferToTexture()
. #23964 (@chubei-oppen) - Listen to
webglcontextcreationerror
event. #24091 (@mrdoob)
- Stop checking for
- WebGLMultipleRenderTargets
- Add multisampling support. #24001(@RenaudRohlinger)
- WebGLProgram
- Improve error logging.#24130, #24131 (@LeviPesin, @marcofugaro)
- WebGLTextures
- Avoid redundant calls of
texStorage2D()
. #24095 (@Mugen87)
- Avoid redundant calls of
- WebXRManager
- Add
undefined
check inonSessionEnd()
. #23984, #24015 (@kalegd, @Mugen87) - Fix caching of
baseReferenceFrame
and teleport example. #24058 (@richardanaya) - Support more than two views. #23972 (@CodyJasonBennett)
- Add
Documentation
- Add support for code highlighting. #24079 (@sunag)
- Improve Chinese translation. #23985, #24070 (@linbingquan, @qq284590533)
- Improve
Texture
page. #24041 (@dghez) - Improve
WebGLRenderer
page. #24008, #24054 (@Mugen87) - Improve
Creating a scene
guide. #24120, #24126 (@oskar1233, @Mugen87) - Improve
How to run things locally
guide. #24097 (@donmccurdy) - Improve FAQ. #24116 (@Mugen87, @looeee)
Manual
- Improve
Responsive
page. #24023 (@exxnnonymous) - Improve
Primitives
page. #24026 (@taenykim) - Improve Chinese translation. #24000, #24012, #24063, #24132 (@writey, @MongooseSong)
- Improve Korean translation. #23977 (@nerdchanii)
Examples
- Clean up. #23993, #24121, #24118, b5ec27609676f3caac48434302d3fb296553572a (@jkristensen, @LeviPesin, @Mugen87, @mrdoob)
- Added
webgpu_cubemap_mix
example. #24059 (@sunag) - Remove deprecated
Geometr
y class and all legacy checks. #24009 (@Mugen87) - Added
webgl_loader_gltf_iridescence
example. c26896dfaececdd007c5f04b1b6de0275172b093 (@mrdoob) - Unified MRT examples. 764cf0fa5919e891bc259253e0464dc8033d5fcd (@mrdoob)
-
3DMLoader
- Remove usage of
THREE
namespace. #24075 (@Mugen87)
- Remove usage of
-
CSS2DRenderer
- Remove position rounding for Safari. #24122 (@fanciful-marmot)
-
DDSLoader
- Remove
FourCC
header check. #24124 (@LeviPesin)
- Remove
-
EXRLoader
- Enable long-name attribute flag. #24049 (@sciecode)
-
GLTFExporter
- Remove
embedImages
option. #24003 (@Mugen87) - Fix export when using
OffscreenCanvas
. #24031 (@LeviPesin) - Fix handling of shared buffer attributes with morph data. #24090 (@Mugen87)
- Remove
-
GPUStatsPanel
- Prevent infinite loop when WebGL context is lost. #23990 (@wmcmurray)
-
HTMLMesh
- Add some more input types and support rounded rectangles. #24030 (@AdaRoseCannon)
-
KTX2Exporter
- Add new exporter. #24102 (@donmccurdy)
-
NodeMaterial
- Add support for IBLs + PBR. #24038 (@sunag)
-
nodeType
ofAttributeNode
is now optional. #24050 (@sunag) - Add
.customProgramCacheKey()
. #24096 (@sunag) - Fix
dpdx
anddpdy
called from non-uniform control flow inNormalMapNode
. #24062 (@sunag) - Add
.construct()
and some architectural changes. #24110 (@sunag) - Add sprites and support for
InterleavedBufferAttribute
. #24117 (@sunag)
-
RGBELoader
- Simplify texture configuration. #24032 (@deepkolos)
-
SelectionHelper
- Remove unused parameter from constructor. #24057 (@CarlBateman)
-
WebGPURenderer
- Improve approach to generate mipmaps of a
CubeMap
. #23988 (@sunag) - Update to latest WebGPU API. #24021 (@sunag)
- Setting an explicit size in
configure()
has been deprecated. #24098 (@sunag)
- Improve approach to generate mipmaps of a
Editor
- Clean up. f36dad49fbc5f8c38d1e9d4132c7863ea2d55c7e (@mrdoob)
- Add basic support for showing morph targets. #24084 (@Mugen87)
- Add
PCDLoader
. #24106 (@Mugen87) - Add
Selector
. #23902 909350e65984006757cf2ea6d851181be14dd644, 4e0930a3ca7c026ba9ff47473a0931197f6a9549 (@linbingquan, @mrdoob) - Ignore chrome-extension scheme in
sw.js
. (@mrdoob)