r160
版本发布时间: 2023-12-22 20:35:12
mrdoob/three.js最新发布版本:r164(2024-04-26 16:47:47)
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r159--r160 https://github.com/mrdoob/three.js/milestone/73?closed=1
- Global
- Clarify warning messages. #27288 (@WestLangley)
- Remove deprecated code. #27341 (@Mugen87)
- ImageBitmapLoader
- Cache promises to deduplicate requests. #27270 (@Archimagus)
- Quaternion
- Add missing call of
_onChangeCallback()
tofromBufferAttribute()
. #27363 (@Mugen87) - Add default parameter to
setFromEuler()
. #27364 (@Mugen87) - Remove redundant
_onChangeCallback()
inslerp()
. #27365 (@Mugen87)
- Add missing call of
- RectAreaLight
- Only use float textures if linear interpolation is supported. #27315 (@gkjohnson)
- Shaders
- Remove unused defines. #27346 (@sunag)
- Sphere
- Add
isSphere
flag. #27395 (@Mugen87)
- Add
- Triangle
- Return
null
ingetBarycoord()
if triangle is degenerated. #27311 (@gkjohnson) - Return
null
l ingetInterpolation()
if triangle is degenerate. #27331 (@gkjohnson)
- Return
- WebGLRenderer
- Fix level mipmap and support
CompressedArrayTexture
incopyTextureToTexture3D()
. #27313 (@RenaudRohlinger) - Add
WEBGL_clip_cull_distance
support. #27371 (@RenaudRohlinger, @Mugen87) - Add support for
AgX
Tone Mapping. #27366, #27403, #27409 (@gkjohnson, @donmccurdy, @Mugen87)
- Fix level mipmap and support
- WebGLShadowMap
- Dispose of unique depth/distance materials. #27326 (@Mugen87)
- WebGLTextures
- Directly evaluate
capabilities
. #27340 (@Mugen87)
- Directly evaluate
- WebGLUniformsGroups
- Correct 3x3 to 3x4 matrix conversion in UBO. #27284 (@RenaudRohlinger)
- UBO Boolean support and fix cache on number. #27285 (@RenaudRohlinger)
- Add array support in UBOs. #27293, #27374 (@RenaudRohlinger)
Documentation
- Improve Chinese translation. #27298, #27408 (@puxiao, @SADYX)
- Improve
Material
page. #27416 (@LR17) - Improve
SceneUtils
page. #27372 (@linbingquan) - Improve
SkinnedMesh
page. #27303 (@Mugen87) - Add Jolt to physics list. #27335 (@josephrocca)
Examples
- Clean up. #27322, fc292ae64b32c0411816b2908c9a6b7b4677cb0d (@Methuselah96, @mrdoob)
- Fix RTT coord Y in
webgpu_compute_particles_rain
example. #27286 (@sunag) - Update
3DMLoader
docs and example CDN script. #27289 (@ianpetrarca) - Add
webgpu_backdrop_water
example. #27397, #27404, caf8c1f40161a419ae8c88b0706d94002684289f (@sunag, @mrdoob) - Add
webgpu_compute_particles_snow
example. #27400, #27404, de3d5ff3d0451f94d545210e8532a74d7eae067e (@sunag, @mrdoob) - Use relative references inside
examples/jsm
. #27381 (@hybridherbst) - Change default tone mapping in
webgl_tonemapping
example. 3a5de8c8b8b03e39a7c5f6343f4d4884a9a7a71d (@mrdoob) - Improve
webgpu_compute_particles
example. b7ebd00a51717dfd8e01b21989a4e84c23fbce03 (@mrdoob)
-
CSM
- Fix lights when shadow maps are disabled. #27358 (@OndrejSpanel)
-
CurveModifier
- Add multiple material support. #27324 (@sheepdragon)
-
DracoLoader
- Fix not calling
onError()
. #27306, #27308 (@Benjythebee)
- Fix not calling
-
GTAOPass
- Add new AO post processing pass (replaces
HBAOPass
). #27317 (@Rabbid76) - Improve shaders and example. #27318, #27319, #27320, #27321, #27348, #27370 (@Mugen87, @Rabbid76)
- Add new AO post processing pass (replaces
-
LineMaterial
- Fix clipping at edge artifacts. #27349 (@gkjohnson)
-
MaterialXLoader
- Add
normalNode
andemissiveNode
. #27356 (@hybridherbst)
- Add
-
NodeMaterial
- Log warnings instead of throwing on redefinitions of node types. #27357 (@hybridherbst)
- Mark directory as effectful for Webpack/Vite. #27376 (@CodyJasonBennett)
-
OrbitControls
-
zoom-to-cursor
with touch events. #27384 (@sciecode) - Pointers list only used for identification. #27420 (@sciecode)
- Use scroll event delta to modulate zoom speed. #27418 (@sciecode)
-
-
StorageTexture
- Add mipmaps support. #27332 (@sunag)
-
Timer
- Add
Clock
alternative. #17912, #27394, #27421, #27423 (@Mugen87, @vanruesc, @mrdoob)
- Add
-
TSL
- Fix
texture_depth_2d
inwgslFn
. #27323 (@sunag)
- Fix
-
USDZExporter
- Export from compressed texture data. #27382 (@jeffbeene)
- Only import required modules. #27383 (@jeffbeene)
-
WebGPURenderer
- Add initial support of
MaterialX
. #27294 (@sunag) - Support
getArrayBufferAsync()
for WebGL backend. #27355 (@aardgoose) - Initial support for PostProcessing,
GaussianBlurNode
andQuadMesh
. #27369 (@sunag) - Fix use of same material with different skeleton. #27398 (@sunag)
- Bug fixes for
WebGLBackend
. #27410 (@aardgoose)
- Add initial support of
-
XRButton
- Add support for
offerSession()
. #27359, #27368 (@cabanier)
- Add support for
Editor
- Fix multi-material support. #27265 (@Mugen87)
- Add missing
manager
toGLTFLoader
. #27336, #27337 (@Mugen87) - Added
AgXToneMapping
support. edb0af355799bb48c18e9bcdaa113cf6fdebc7dd (@mrdoob)