r170
版本发布时间: 2024-10-31 15:07:49
mrdoob/three.js最新发布版本:r170(2024-10-31 15:07:49)
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r169--r170 https://github.com/mrdoob/three.js/milestone/83?closed=1
- Global
- Move some WebGPU modules from core to addons. #29511 (@Mugen87)
- BatchedMesh
- Add
deleteGeometry()
. #29523 (@gkjohnson) - Add
optimize()
. #29527 (@gkjohnson) - Fix
renderer.info.render
when using multidraw. #29532 (@agargaro) - Add support for resizing instance count, geometry size. #29577 (@gkjohnson)
- Fix cases where calling
optimize()
can result in inconsistent state. #29624 (@gkjohnson) - Consolidate internal geometry information. #29687 (@gkjohnson)
- More cleanup. #29695 (@gkjohnson)
- Add
- BufferGeometry
- Check for existing attribute in
setFromPoints()
. #29696 (@Mugen87)
- Check for existing attribute in
- CDLNode
- Add node class for ASC Color Decision List (CDL) v1.2. #29510 (@donmccurdy)
- ColorManagement
- Add
ColorManagement.define( { ... } )
. #29450 (@donmccurdy) - Fix rendering to linear spaces. #29543 (@donmccurdy)
- Add
- CompressedArrayTexture
- Fix failing on Android and Meta Quest. #29566 (@RenaudRohlinger)
- CylinderGeometry
- Fix case where triangles are missing with multiple height segments. #29728 (@gkjohnson)
- Nodes
- Avoid vector reuse in
luminance()
input. #29540 (@donmccurdy) - Fixes and improvements for
reflector
andgaussianBlur
. #29619 (@sunag)
- Avoid vector reuse in
- NodeMaterial
- Introduce
.geometryNode
and jelly example. #29551 (@sunag) - Add support for
alphaHash
. #29757 (@Mugen87)
- Introduce
- NodeMaterialObserver
- Fix buffer resize when transmission is used. #29735, #29737 (@sunag)
- PassNode
- Clean up. #29733 (@linbingquan)
- PostProcessing
- Only request depth buffer when necessary. #29563 (@Mugen87)
- Harmonize node update type. #29564 (@Mugen87)
- Add
getScreenPosition()
. #29599 (@Mugen87) - Add method for normal reconstruction. #29703 (@Mugen87)
- PhysicalLightingModel
- Cleanup
evalIridescence
. #29702 (@sunag)
- Cleanup
- RectAreaLightNode
- Fix
update()
. #29771 (@Mugen87)
- Fix
- ReflectorNode
- Remove
getTextureNode()
. #29609 (@Mugen87) - Add
getDepthNode()
. #29621 (@Mugen87) - Added missing
nodeObject
. #29627 (@sunag) - Fix projection matrix computation for WebGL. #29630 (@Mugen87)
- Remove
- Renderer
- Added sync
compute()
support. #29547 (@sunag)
- Added sync
- ScriptableNode
- Rename
global
toScriptableNodeResources
. #29736 (@scottmas, @sunag)
- Rename
- ShadowNode
- Separate the shadow map creation and use from
AnalyticLightNode
. #29567 (@aardgoose)
- Separate the shadow map creation and use from
- SpriteNodeMaterial
- Size attenuation support orthographic camera. #29517 (@RenaudRohlinger)
- Texture
- Always generate mipmaps when
generateMipmaps
istrue
. #29677 (@gkjohnson)
- Always generate mipmaps when
- TSL
- Deprecated
temp()
. #29516 (@sunag) - Introduce pointer | WGSL ptr support. #29552 (@sunag)
- Introduce
time
. #29557 (@sunag) - Fix exponential float conversion. #29562 (@sunag)
- Support defined color spaces in
ColorSpaceNode
. #29694 (@donmccurdy) - Add function for BPCEM. #29773 (@Mugen87)
- Deprecated
- Vector4
- Add
divide()
. #29759 (@Mugen87)
- Add
- WebGLBackend
- Fix type conversion in transform feedback. #29554 (@sunag)
- WebGLRenderer
- sRGB decoding for
VideoTexture
emissiveMap
. #29657 (@donmccurdy) - Correctly generate mipmaps for 3D & Array RenderTargets. #29678 (@gkjohnson)
- Support render target textures in
copyTextureToTexture()
. #29662 (@Mugen87) - Copy set of layers when copying 3d texture data. #29699 (@gkjohnson)
- Stable reversed Z buffer implementation. #29579 (@eXponenta)
- Allow for copying 2d targets to and from layers of 3d textures. #29710 (@gkjohnson)
- sRGB decoding for
- WebGLTextures
- Ensure depth texture properties are deleted. #29697 (@Mugen87)
- WebGPURenderer
- Fix
NodeLibrary
logic for minified builds. #29501 (@RenaudRohlinger) - Fixed shadows not rendering correctly with
logarithmicDepthBuffer
. #29447, #29561 (@PoseidonEnergy) - Instance sprite example. #29503 (@RenaudRohlinger)
- Ignore
diagnostic()
method in Deno. #29522 (@Mutefish0) - Add support for renderer without depth and stencil buffers. #29533 (@RenaudRohlinger)
- Fix premultiplied alpha with clear colors. #29538 (@Mugen87)
- Add support for geometry without attributes. #29576 (@RenaudRohlinger)
- Introduce
PostProcessingUtils
. #29595, #29598 (@sunag) - Remove obsolete code. #29596 (@aardgoose)
- Fix missing updates to geometry attributes. #29589 (@RenaudRohlinger)
- Introducing
IndirectStorageBufferAttribute
. #29594 (@Spiri0, @sunag) - Introduce indirect drawing support. #29615 (@sunag)
- Fix uniform/texture index allocation for WebGL backend. #29622 (@aardgoose)
- Remove useless call in WebGL fallback. #29631 (@aardgoose)
- Introduce
TiledLighting
. #29642, #29701, #29722, #29723 (@sunag) - Fix pipeline cache key. #29685 (@sunag)
- Introduce waitForGPU. #29686 (@RenaudRohlinger)
- Add double-side transmission. #29705, #29718 (@sunag)
- Add
wgsl
comment tag. #29709 (@linbingquan) - Support
Scene.backgroundRotation
. #29762 (@Mugen87) - Improve post-rendering usage of
copyFramebufferToTexture()
. #29729 (@sunag) - WebGPURenderer: Handle Device Lost Event. #29767 (@RenaudRohlinger)
- Fix
- WebGPUTextureUtils
- Fix usage of
Texture.anisotropy
. #29654 (@Mugen87)
- Fix usage of
- WGSLNodeFunction
- Ignore convertion of unknown types. #29724 (@sunag)
- WebXRManager
- Inherit active layers from camera. #29742 (@mrxz)
Documentation
- Improve documentation about color management. #29545 (@donmccurdy)
- Improve Chinese translation. #29620, #29643 (@ShanHaiSiLu, @puxiao)
- Improve Korean translation. #29649, #29731 (@sungpaks, @seopyoon)
- Docs: Improve Japanese translation. #29665 (@sawa-zen)
- Upgrade
prettify.js
. #29633 (@Mugen87) - Fix typos. #29716 (@s-rigaud)
- Add copy button to non-inline code snippets. #29700 (@snowiewdev)
Manual
- Improve
Prerequisites
page. #29616 (@DevinCLane) - Improve
Lights
page. #29756 (@Nokic233)
Examples
- Clean up. #29513, #29600, #29672, #29738, #29743, #29748 (@linbingquan, @Mugen87)
- Fix shadow map enabled in
webgpu_shadowmap
example. #29520 (@sunag) - Improve
webgl_postprocessing_fxaa
example. #29525 (@linbingquan) - Fix shadow map enabled in
webgpu_instancing_morph
example. #29553 (@sunag) - Fix node imports. #29556 (@sunag)
- Fix
webgpu_particles
example. #29555 (@sunag) - Improve anti-aliasing quality of FXAA implementations. #29524 (@swift502)
- Fix shadows in outline demo. #29565 (@Mugen87)
- Fix
webgpu_tsl_procedural_terrain
warning. #29574 (@sunag) - Added hashBlur and improve
webgpu_backdrop_area
example. #29606, #29614 (@sunag) - Removed unused textures. #29618 (@mrdoob)
- Clean up TSL editor example. #29669 (@donmccurdy)
- Add
*Node
suffix. #29719 (@sunag) - Deprecate MMD modules. #29698 (@Mugen87)
- Remove
CinematicCamera
. #29750 (@Mugen87) - Remove raymarching GLSL demo. #29774 (@Mugen87)
Addons
-
3MFLoader
- Add preliminary support for loading Implicit Functions. #29667 (@zalo)
-
AfterimagePass
- Use copy shader. #29691 (@Mugen87)
-
BloomNode
- Remove redundant clears. #29704 (@Mugen87)
-
CSM
- Add WebGPU version. #29610 (@aardgoose, @Mugen87)
-
CSSRenderer
- Ensure removing CSS objects works within iFrames. #29663 (@yomotsu)
-
DecalGeometry
- Support geometries without normals. #29536 (@Mugen87)
-
FBXLoader
- Improve transparency handling. #29544 (@Mugen87)
-
GaussianBlurNode
- Introduce
premultipliedGaussianBlur
. #29604 (@sunag) - Remove useless check. #29611 (@Mugen87)
- Introduce
-
GLTFExporter
- Add support for
WebGPURenderer
. #29509 (@donmccurdy) - Better defaults for metallic and roughness factors. #29692, 48e6e2ee4e769013b911a079a433aecc2686d5b2 (@Mugen87, @mrdoob)
- Add support for
-
GLTFLoader
- Add KTX2 mime type support in
getImageURIMimeType()
. #29746 (@puxiao)
- Add KTX2 mime type support in
-
GTAONode
- Fix AO with WebGL backend. #29593 (@Mugen87)
-
KTX2Exporter
- Fix metadata, add example. #29541 (@donmccurdy)
-
KTX2Loader
- Support transcoding UASTC HDR to BC6H and RGBA16. #29730 (@donmccurdy)
-
LDrawLoader
- Add WebGPU support. #29752 (@Mugen87)
-
LensflareNode
- Add FX class for bloom-based lens flare effects. #29715 (@Mugen87)
-
NURBSCurve
- Add
toJSON()
andfromJSON()
. #29514 (@canxerian)
- Add
-
OutlineNode
- Add FX class for rendering selective outlines. #29575, #29583 (@Mugen87, @sunag)
-
ProgressiveLightMap
- Remove usage of
THREE
namespace. #29747 (@Mugen87) - Add WebGPU version. #29749 (@Mugen87)
- Remove usage of
-
RectAreaLightTextureLib
- Fix
DataTexture
usage. #29717 (@s-rigaud)
- Fix
-
SMAANode
- Add FX class for Subpixel Morphological Anti-Aliasing. #29559 (@Mugen87)
-
SSAAPassNode
- Clean up. #29647 (@Mugen87)
-
SSRNode
- Add FX class for Screen Space Reflections. #29597, #29605 (@Mugen87)
-
SSRPass
- Ensure metalness pass is not affected by fog and background. #29585 (@Mugen87)
-
TextureHelper
- Add WebGPU version. #29518 (@Mugen87)
-
TRAAPassNode
- Add FX class for Temporal Reprojection Anti-Aliasing. #29636, #29671 (@Mugen87)
-
TransformControls
- Fix
dispose()
. #29512 (@Mugen87) - Add min/max constraints. #29602 (@Makio64)
- Fix
-
USDZExporter
- Add support for WebGPURenderer. #29507 (@Mugen87)
-
WaterMesh
- Fix planar offset - WebGPU. #29626 (@sunag)
-
WebGPUTextureUtils
- Disable uv transform. #29680, #29684 (@Mugen87)
-
Wireframe
- Add WebGPU version. #29534 (@Mugen87)
Node Editor
- Update
flow.module.js
- fix zoom. #29508 (@sunag) - Add
normalMap
node. #29652 (@hybridherbst)
Editor
- Fixed editor not loading on Chrome 129.0.6668.100 due to import maps definitions location. e754fce13603bd7c6d982cb76374722df7e37ce2 (@mrdoob)