r155
版本发布时间: 2023-07-28 00:13:58
mrdoob/three.js最新发布版本:r164(2024-04-26 16:47:47)
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r154--r155 https://github.com/mrdoob/three.js/milestone/68?closed=1
- BufferAttribute
- Add generic vector component getter / setter. #24515 (@gkjohnson)
- CapsuleGeometry
- Use correct
length
property name in parameters. #26405 (@tdanlin)
- Use correct
- CompressedCubeTexture
- Added. #26369 (@donmccurdy)
- CubeCamera
- Remove tone mapping related code. #26435 (@Mugen87)
- DataTextureLoader
- Fix promise never rejected on error. #26412 (@ashconnell)
- InstancedMesh
- Add support for async color definitions. #26430 (@CodyJasonBennett)
- Object3D
- Shallow copy
animations
incopy()
. #26416 (@luisfonsivevo)
- Shallow copy
- PropertyBinding
- Change error to warning and reword. #26386 (@hybridherbst)
- WebGLMultipleRenderTargets
- Return
undefined
insetSize()
. #26418 (@CodyJasonBennett)
- Return
- WebGLRenderer
- Use inline tone mapping only when rendering to screen. #26371 (@Mugen87)
- Deprecate
useLegacyLights
, change default tofalse
. #26392 (@Mugen87) - Fix
activeMipmapLevel
parameter insetRenderTarget()
. #26347 (@makovkins) - Fix runtime error when rendering wireframe with empty geometry. #26465 (@Mugen87)
- WebGLRenderTarget
- Extend from new
RenderTarget
class. #26468 (@sunag)
- Extend from new
- WebGLTextures
- Improve
RED_INTEGER
texture support. #26450 (@RenaudRohlinger)
- Improve
Documentation
- Improve
BufferAttribute
page. #26365 (@Mugen87) - Improve
BufferGeometryUtils
page. #26454 (@gkjohnson) - Improve
OrbitControls
page. #26404 (@Mugen87) - Improve
ShapePath
page. #26401 (@atul-mourya) - Improve
TrackballControls
page. #26459 (@vaughnrichard) - Improve post processing guide. #26359 (@Mugen87)
- Improve Arabic translation. #26362 (@afilahkle)
- Clarify reuse of disposed objects. #26498 (@Mugen87)
Manual
- Honor latest API changes. #26353, #26354, #26355, #26358 (@Mugen87)
Examples
- Fix color space in
webgl_materials_video_webcam
. #26364 (@Mugen87) - Improve
webgpu_tsl_editor
example. #26368 (@sunag) - Remove usages of
FirstPersonControls.noFly
. #26374 (@Methuselah96) - Remove obsolete tone mapping settings. #26377 (@Mugen87)
- Fix linter issues. #26388 (@hybridherbst)
- Add
backgroundIntensity
GUI towebgl_tonemapping
example. #26411 (@vis-prime) - Fix GUI title in different examples. #26421, #26439 (@Methuselah96)
- Simplify resize in
webgl_postprocessing_procedural
example. #26434 (@Methuselah96) - Fix typo in
webgl_postprocessing_ssaa
example. #26433 (@Methuselah96) - Remove usage of
Group.material
inwebgl_postprocessing_godrays
example. #26431 (@Methuselah96) - Correctly invoke
requestAnimationFrame()
inwebgl_postprocessing_godrays
example. #26432 (@Methuselah96) - Correctly call
setSize()
inwebgl_raymarching_reflect
example. #26438 (@Methuselah96) - Use the right return type for
customProgramCacheKey()
inwebgl_materials_modified
example. #26437 (@Methuselah96) - Directly set uniforms in
webgl_gpgpu_water
example. #26436 (@Methuselah96) - Remove outdated settings of focal length. #26460 (@Methuselah96)
- Remove unnecessary use of
OrbitControls
change event listeners. #26475 (@WestLangley)
-
BufferGeometryUtils
- Call
toNonIndexed()
for indexed geometries only intoCreasedNormals()
. #26379 (@kpvhn)
- Call
-
GLTFLoader
- Fix
loadAnimation()
refactor. #26477 (@hybridherbst)
- Fix
-
MaskPass
- Make sure depth and color buffers are writeable. #26382 (@Mugen87)
-
NodeMaterial
- Fix deprecation text to match code for
tslFn()
. #26383 (@aardgoose) - Add
unlit
property. #26429 (@sunag) - Fix
construct()
call inHemisphereLightNode
. #26441 (@sunag) - Add
specularStrength
toMaterialNode
. #26444 (@sunag) - Add
fog
andcolorSpace
properties. #26440 (@sunag) - Add
backgroundIntensity
toSceneNode
. #26447 (@sunag) - Add
MeshLambertNodeMaterial
. #26448 (@sunag) - Add
BumpMapNode
. #26449 (@sunag) - Add
getTextureMatrix()
toTextureNode
. #26461 (@sunag) - Add
isToneMappingState
toRendererNodes
. #26463 (@sunag) - New class structure for
LightingModel
. #26486 (@sunag) - Cache equirectangular textures in
EnvironmentNode
. #26491 (@sunag)
- Fix deprecation text to match code for
-
OculusHandPointerModel
- Make
_onDisconnected()
more robust. #26387 (@hybridherbst)
- Make
-
OrbitControls
- Add zoom to cursor. #26165 (@gkjohnson)
-
OutputPass
- Extract renderer settings. #26380 (@Mugen87)
-
SelectionHelper
- Add enabled property. #26483 (@puxiao)
-
TGALoader
- Bubble parsing errors. #26497 (@Mugen87)
-
TSL
- Add output and
material.outputNode
. #26419 (@sunag)
- Add output and
-
UnrealBloomPass
- Improve performance by pre-calculating gaussian coefficients. #26356 (@keaukraine)
-
USDZExporter
- Add
defaultPrim
to makeusdchecker
happy. #26495 (@hybridherbst)
- Add
-
WebGPUBackend
- Fix depth buffer. #26395 (@sunag)
-
WebGPUPipelines
- Improve reuse pipeline and
ComputeNode
dispose. #26361 (@sunag)
- Improve reuse pipeline and
-
WebGPURenderer
- Remove duplication of interleaved attribute buffers. #26351 (@aardgoose)
- Add missing
Texture.onUpdate()
callback. #26375 (@aardgoose) - Avoid render pass/pipeline attachment mismatches. #26376 (@aardgoose)
- Fix
Node.updateBefore()
sequence call. #26391 (@sunag) - Rename
getArrayBuffer()
togetArrayBufferAsync()
. #26393 (@sunag) - Support
Object3D
as parameter inrender()
. #26400 (@sunag) - Fix
updateBefore()
. #26417, #26422 (@sunag) - Not crash if texture is not supported. #26423 (@sunag)
- Fix fog
ColorSpace
. #26424 (@sunag) - Add
DepthTexture.compareFunction
. #26420 (@sunag) - Blending revision part 1. #26455 (@sunag)
- Support MSAA for texture render targets. #26451 (@aardgoose)
- Add iridescence support. #26489, #26492 (@sunag)
- Fix background. #26493 (@sunag)
Editor
- Always configure
GLTFLoader
with KTX2 and Meshopt. #26414 (@Mugen87)