r169
版本发布时间: 2024-09-26 22:55:50
mrdoob/three.js最新发布版本:r170(2024-10-31 15:07:49)
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r168--r169 https://github.com/mrdoob/three.js/milestone/82?closed=1
- Global
- Clean up. #29355, #29383 (@linbingquan, @s-rigaud)
- Audio
- Add
delay
parameter tostop()
. #29376 (@tatsmaki)
- Add
- BatchedMesh
- Add
setGeometryIdAt()
andgetGeometryIdAt()
. #29343 (@Makio64) - Add
deleteInstance()
. #29449 (@JordanLane-Veerum) - Add
getGeometryRangeAt()
. #29409 (@agargaro)
- Add
- CacheNode
- Fix parent reference. #29369 (@Mugen87)
- Clock
- Drop fallback to
Date.now()
. #29233 (@satelllte)
- Drop fallback to
- Controls
- Add
null
as default parameter fordomElement
. #29368 (@Mugen87)
- Add
- CylinderGeometry
- Don't add degenerate triangles. #29460 (@gkjohnson)
- InstancedPoints
- Fix texture coordinates. #29396 (@RenaudRohlinger)
- Loader
- Unpack colors to working color space. #29448 (@donmccurdy)
- LOD
- Add
removeLevel()
. #29359 (@JaimeTorrealba, @Mugen87)
- Add
- Node
- Introduce static type. #29282 (@sunag)
- Add
AtomicFunctionNode
. #29385 (@cmhhelgeson) - Access remaining compute builtins. #29469 (@cmhhelgeson)
- NodeBuilder
- Introduce
addFlowCodeHierarchy()
/NodeBlock
. #29495 (@sunag)
- Introduce
- NodeMaterial
- Clean up
Line2NodeMaterial
andInstancedPointsNodeMaterial
. #29319 (@aardgoose)
- Clean up
- PMREMGenerator
- Fix compile methods and background usage. #29297 (@Mugen87)
- Raycaster
- Add barycoord to intersection result, make attribution interpolation more convenient. #29340 (@gkjohnson)
- ReferenceNode
- Fix
null
reference usinggetNodeType()
. #29498 (@sunag)
- Fix
- SpriteMaterial
- Simplify shader. #29397 (@WestLangley)
- SpriteNodeMaterial
- Add
sizeAttenuation
. #29394 (@RenaudRohlinger)
- Add
- StorageArrayElementNode
- Remove check for non-existent property. #29276 (@cmhhelgeson)
- ToonOutlinePassNode
- Add FX pass for toon outlines. #29483 (@Mugen87)
- TSL
- Export color space, tone mapping methods. #29288 (@sunag)
- Remove redundancy in
Normal.js
. #29300 (@sunag) - Introduce
screenUV
,screenSize
,screenCoordinate
andviewport
revision. #29347 (@sunag) - Add
workingToColorSpace
,colorSpaceToWorking
. #29378 (@sunag) - Support
uniformArrays
fromuserData()
and.label()
foruserData()
andreference()
. #29430 (@aardgoose)
- WebGPURenderer
- Sort objects in clip space. #29271 (@RenaudRohlinger)
- Added basic
three.webgpu.nodes.js
. #29273 (@sunag) - Add
BundleGroup
. #29277 (@aardgoose) - Fix material arrays and geometry groups. #29278 (@RenaudRohlinger)
- Fix
normalView
normalize applied at vertex stage. #29280 (@sunag) - Fix
getArrayBufferAsync()
race condition and ensure proper buffer sequencing. #29293 (@RenaudRohlinger) - Sort bind groups and minimize
setBindGroup()
commands. #29256 (@aardgoose) - Compute
modelViewMatrix
using GPU. #29299, #29312 (@sunag) - Ignore
diagnostic()
method in Firefox. #29306 (@sunag) - Add cube face to
readRenderTargetPixelsAsync()
parameters. #29323 (@aardgoose) - Fix
viewportCoordinate
inWebGLBackend
. #29326 (@sunag) - Add support for VSM. #29225 (@Mugen87, @sunag)
- Extract common draw call logic from backends. #29358 (@aardgoose)
- Add depth/layer support to
copyTextureToTexture()
. #29364 (@Spiri0) - Support stencil and depth config parameters. #29371 (@aardgoose)
- Workgroup Arrays and Barrier support. #29192 (@cmhhelgeson)
- Fix
InstancedMesh
init with zero instance. #29399 (@RenaudRohlinger) - Introduce
NodeMaterialObserver
and updates. #29386, #29421 (@sunag, @aardgoose) - Fix
renderGroup.needsUpdate
logic. #29402 (@aardgoose) - Fallback for
alphaToCoverage
ifantialias
is disabled #29395 (@RenaudRohlinger) - Use shared UBOs for common uniform groups for WebGL fallback. #29420 (@aardgoose)
- Add geometry in material cache key. #29427, #29465 (@sunag)
- Add rectangle parameter to
copyFrameBufferTexture()
. #29384 (@aardgoose) - Correct
texelFetch()
texel coordinates in WebGL fallback. #29400 (@aardgoose) - Prevent out of bounds textureLoad access in WGSL. #29470 (@aardgoose)
- Reuse
LightNode
when available. #29480 (@RenaudRohlinger) - Introduce hash-based cache key. #29479 (@sunag)
- Respect the
renderer.shadowMap.enabled
property. #29492 (@aardgoose)
- WebGLRenderer
- Merge update ranges before issuing updates to the GPU. #29189 (@HunterLarco)
- Remove deprecated code. #29298 (@aardgoose)
- Fix feedback loop with RTT read pixels async. #29320 (@gkjohnson)
- Reduce
readRenderTargetPixelsAsync()
latency. #29339 (@aardgoose) - Only compile renderable objects. #29345 (@vanruesc)
- Improve support of integer formats. #29392 (@Mugen87)
- Add reverse-z depth buffer via
EXT_clip_control
. #29445, #29461 (@CodyJasonBennett)
Documentation
- Clean up. #29296 (@Mugen87)
- Add Giro3D to libraries and plugins. #29304 (@vpicavet)
- Improve Chinese translation. #29314, #29406, #29506 (@puxiao, @fengT-T)
- Improve French translation. #29305 (@vpicavet)
- Improve Korean translation. #29290, #29316, #29313 (@appache163, @mym0404)
- Improve
How to update things
guide. #29318 (@Red1C3) - Improve VR guide. #29456 (@Mugen87)
- Improve
WebGLRenderer
page. #29459 (@Mugen87) - Add pages for wide line modules. #29381 (@tommie)
- Fix white flash on iframe load for Safari. #29419 (@JeremyJaydan)
- Added pointer cursor to summary tags. #27837 (@Therobo77)
Manual
- Improve French translation. #29329 (@lhapaipai)
Examples
- Clean up. #29310, #29422, #29431, #29209, #29438, #29473 (@linbingquan, @Mugen87, @WestLangley)
- Improve
webgpu_lights_custom
example. #29279 (@sunag) - Clean up
webgpu_performance_renderbundle
example. #29289 (@sunag) - Fix
webgpu_materials
example using node materials lib. #29291 (@sunag) - Fix some warning messages in physics addons. #29315 (@puxiao)
- Add exposure control to
webgl_tonemapping
example. #29311 (@WestLangley) - Added helpers to light probe examples. #29309 (@WestLangley)
- Improve
webgpu_compute_birds
example. #29334, #29366, #29380 (@mrdoob) - Add
webgpu_animation_retargeting
example. #29338, #29387 (@sunag) - Add
webgpu_compute_water
example. #29147 (@cmhhelgeson) - Add
webgpu_tsl_vfx_linkedparticles
example. #29354 (@ULuIQ12) - Add
webgpu_tonemapping
example. #29363 (@WestLangley) - Remove WebGPU modules from
Addons.js
. #29373 (@Mugen87) - Add underwater transition
webgpu_backdrop_water
example. #29377 (@sunag) - Add
webgpu_animation_retargeting_readyplayer
example. #29428, #29485 (@sunag) - Fix
NodeMaterial
imports. #29477 (@donmccurdy) - Add decal as a child of mesh in
webgl_decals
example. #29486 (@WestLangley) - Improve shadow map size in
webgpu_tsl_angular_slicing
. #29499 (@sunag)
Addons
-
CurveModifier
- Add WebGPU version. #29453 (@aardgoose)
-
DecalGeometry
- Transform normal with normal matrix. #29476 (@WestLangley)
-
Exporters
- Convert from working color space. #29472 (@donmccurdy)
-
EXRExporter
- Add support for
WebGPURenderer
. #29302 (@Mugen87)
- Add support for
-
FBXLoader
- Fix incorrect joint orientation for animated FBX models exported from Maya. #29307 (@mwhirls)
- Remove support for orthographic cameras. #29425 (@Mugen87)
-
GLTFLoader
- Fix sparse normalized. #29330 (@stephomi)
- Remove deprecated code. #29502 (@Mugen87)
-
GPUStatsPanel
- Remove addon. #29317 (@Mugen87)
-
KTX2Exporter
- Add support for WebGPURenderer. #29308 (@Mugen87)
-
KTX2Loader
- Update
ktx-parse
dependency to v0.7.1. #29060 (@yue4u) - Upgrade to Basis Universal v1.50. #29418 (@donmccurdy)
- Add support for
VK_FORMAT_ASTC_4x4_SFLOAT_BLOCK_EXT
. #29441 (@donmccurdy)
- Update
-
Lensflare
- Add WebGPU version. #29451, #29458 (@aardgoose, @Mugen87)
-
LightProbeGenerator
- Add support for WebGPURenderer. #29335 (@aardgoose)
-
LightProbeHelper
- Add WebGPU version. #29301, #29303 (@Mugen87)
-
MaterialXLoader
- Implement separate(2|3|4) nodes. #29437 (@aardgoose)
- Add
invert
implementation. #29433 (@beersandrew) - Add
extract
implementation #29443 (@beersandrew)
-
PackedPhongMaterial
- Remove addon. #29382, #29493 (@Mugen87, @eugenehp)
-
SDFGeometryGenerator
- Remove addon. #29281 (@Mugen87)
-
ShadowMapViewer
- Simplify code. #29322 (@Mugen87)
- Add WebGPU version. #29331 (@Mugen87)
-
SkeletonUtils
- Add
getBoneName()
. #29416 (@sunag) - Add
hipInfluence
. #29423 (@sunag) - Add
trim
. #29424 (@sunag)
- Add
-
TextureUtils
- Add WebGPU version. #29348 (@Mugen87)
-
TiltLoader
- Remove addon. #29471 (@Mugen87)
-
Timer
- Drop fallback to
Date.now()
. #29233 (@satelllte)
- Drop fallback to
-
TrackballControls
- Separate mouse action and state logic. #29442 (@Mugen87)
-
TransformControls
- Derive from
Controls
. #29146, #29398 (@Mugen87)
- Derive from
-
XRControllerModelFactory
- Prevent hand input source processing. #29179 (@jorodi)