r166
版本发布时间: 2024-07-02 17:27:46
mrdoob/three.js最新发布版本:r171(2024-11-29 19:21:30)
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r165--r166 https://github.com/mrdoob/three.js/milestone/79?closed=1
- BatchedMesh
- Add support for instanced rendering with sorting, frustum culling. #28456, #28462 (@gkjohnson)
- Avoid primitive restart values in index array. #28641 (@donmccurdy)
- Update references to
BatchedMesh.maxGeometryCount
. #28694 (@Methuselah96)
- CompressedArrayTexture
- Rename
addLayerUpdates()
toaddLayerUpdate()
. #28679 (@HunterLarco) - Support all texture formats in
addLayerUpdate()
. #28654 (@HunterLarco)
- Rename
- Light
- Ensure
target
can be serialized/deserialized. #28696 (@Mugen87)
- Ensure
- LightShadow
- Add
intensity
. #28588 (@Mugen87, @WestLangley)
- Add
- Material
- Remove obsolete callbacks. #28702 (@Mugen87)
- Object3D
- Respect
matrixWorldAutoUpdate
in matrix update methods. #28533 (@CodyJasonBennett)
- Respect
- TextureUtils
- Add
contain()
,cover()
andfill()
. #28713 (@Mugen87, @WestLangley, @abernier)
- Add
- WebGLRenderer
- Sort objects in clip space. #28474, #28571 (@eiriklegernaes)
- Add missing parameters to
copyTextureToTexture()
. #28663 (@gkjohnson)
- WebGLUniforms
- Assign
compareFunction
lazily to retain tree-shaking. #28670 (@CodyJasonBennett)
- Assign
- WebXRManager
- Add access to WebXR depth texture. #27695 (@cabanier)
Documentation
- Fix broken links. #28536, #28590, #28715 (@Mugen87, @YasharSL)
- Improve Chinese translation. #28550, #28561, #28576, #28619, #28621, #28622, #28626, #28625, #28634, #28643, #28657 (@appache163, @mmjinglin163, @ycw)
- Improve WebGL compatibilty guide. #28630 (@Mugen87)
- Improve
GLTFExporter
page. #28649 (@trusktr) - Improve
Material
page. #28750 (@satelllte) - Add page for
TeapotGeometry
. #28633, #28664 (@hongchristopher, @Mugen87)
Examples
- Clean up. #28540 (@linbingquan)
- Revert tween.js upgrade. #28554 (@Mugen87)
- Remove broken iCCP chunks in some PNG files. #28564 (@chirsz-ever)
- Add
webgpu_tsl_interoperability
example. #28379, #28706 (@cmhhelgeson, @Methuselah96) - Don't accumulate tiny translations in
games_fps
example. #28662 (@ycw) - Replace
./jsm/
in import statements withthree/addon
. #28724 (@chirsz-ever) - Fix
webgpu_storage_buffer
example. #28729 (@sunag)
-
FBXLoader
- Support more texture formats. #28515 (@catalin-enache)
-
GLTFLoader
- Use
ImageBitmapLoader
in Safari >= 17. #28560, #28712 (@paugit, @RenaudRohlinger)
- Use
-
GPUComputationRenderer
- Make use of
FullScreenQuad
. #28637 (@Mugen87)
- Make use of
-
Node
- Introduce
updateAfter()
. #28552 (@RenaudRohlinger) - Introduces cache hierarchy. #28585 (@sunag)
- Add cache hierachy to
StorageBufferNode
. #28607 (@RenaudRohlinger) - Add
SobelOperatorNode
. #28733 (@Mugen87) - Revision
linearDepth
property inPassNode
. #28737 (@sunag) - Add
DepthOfFieldNode
. #28740 (@Mugen87) - Fix
setUsage()
on non-InterleavedBuffer inBufferAttributeNode
. #28742 (@RenaudRohlinger) - Add
DotScreenNode
andRGBShiftNode
. #28755 (@Mugen87)
- Introduce
-
RenderTransitionPass
- Simplify
render()
. #28555 (@Mugen87)
- Simplify
-
SSAOPass
- Remove one copy pass. #28744 (@Mugen87)
-
TSL
- Add
transpose()
function. #28539 (@aardgoose) - Fix
label()
usage inuniform()
. #28548 (@sunag) - Fix float over float conversion. #28562 (@sunag)
- Add
Return
expression. #28595 (@RenaudRohlinger) - Support int/uint in
UniformsNode
. #28666, #28667 (@RenaudRohlinger) - Respect types in WGSL layouts. #28669 (@RenaudRohlinger)
-
wgslFn
added alias and revision. #28680, #28686, #28687 (@sunag, @cmhhelgeson) - Fix WGSL Functions using wrong type. #28690 (@RenaudRohlinger)
- Improve tree shaking support. #28707 (@sunag)
- Operator - Left to right associativity. #28709 (@sunag)
- Bidirectional associative. #28710 (@sunag)
- Update MaterialX library. #28711 (@sunag)
- Support non-dynamic matrice update. #28716 (@RenaudRohlinger)
- UniformsNode aligned TypedArray to format. #28723 (@RenaudRohlinger)
- Depth nodes revision. #28720 (@sunag)
- Improve
range()
size. #28745 (@sunag) - Fix analyze in
varying()
. #28746 (@sunag)
- Add
-
USDZLoader
- Make parsing more spec-conformant. #28639 (@Mugen87)
- Fix geometry and material parsing. #28647 (@Mugen87)
- Support quads as triangles. #28648 (@Mugen87)
- Throw error instead of warning. #28685 (@zaesur)
-
ViewHelper
- Make label text and style configurable. #28688 (@puxiao)
-
WebGPURenderer
- Clean up. #28717 (@RenaudRohlinger)
- Cache the result of
gl.getExtension()
calls as intended. #28553 (@aardgoose) - Introduce
PostProcessing.needsUpdate
. #28583 (@sunag) - Remove redundant check for instance support. #28596 (@aardgoose)
- Add support for
NeutralToneMapping
. #28609 (@Mugen87) - Int/Uint Support to StorageBufferNode in
WebGLBackend
. #28606 (@RenaudRohlinger) -
RectAreaLight
support. #28580 (@aardgoose) - Allow using StorageBuffer directly as attribute in nodes. #28620 (@RenaudRohlinger)
- Fix Storage Buffer fallback in
WebGLBackend
. #28644 (@RenaudRohlinger) - Override alpha channel to 1 for opaque materials. #28646 (@RenaudRohlinger)
- Enhance GLSL Error in
WebGLBackend
. #28594 (@RenaudRohlinger) - Add missing parameters to
copyTextureToTexture()
inWebGLBackend
. #28676 (@sunag) - Introduce
biquadraticTexture
filtering. #28673 (@sunag) - Revision texture filtering and rain example. #28682 (@sunag)
- Remove
.isInstancedMesh
needs. #28683 (@sunag) - Fix uniform update tests. #28698 (@sunag)
- Update attribute only when needed. #28701 (@RenaudRohlinger)
- Optimize interleaved buffer update. #28704 (@z4122)
- Introduce Bind Groups. #28705 (@sunag)
- Fix
fog=false
and snow example. #28718 (@sunag) - Fix StorageBuffer fallback in
WebGLBackend
. #28722 (@RenaudRohlinger) - Bind groups cache per renderer. #28730 (@sunag)
- Improve performances for trackTimestamp in WebGPU. #28741 (@sunag)
- Read/Write only Storage Buffer creation. #28435 (@cmhhelgeson)
- Fix Light+NormalMaterial. #28747 (@sunag)
- Improve performance tracking logic for better accuracy. #28748 (@RenaudRohlinger
Editor
- Alerts if invalid material is found when rendering image in
REALISTIC
. #28518 (@ycw) - Update
three-gpu-pathtracer
to0.0.23
. #28587 (@ycw) - Add shadow intensity support. #28597, #28604 (@Mugen87, @ycw)
- Fixed warning message typo in
sw.js
. #28603 (@ycw) - Introduce
SetShadowValueCommand
. #28608, #28616 (@Mugen87, @ycw) - Fix UI of geometry generators when undo/redo. #28610 (@Mugen87)
- Dispose object's helper when removing helper. #28614 (@ycw)
- Fixed wrong UI element for "Cap Seg". #28612 (@ycw)
- Sync
VertexNormalHelper
with geometry. #28613 (@ycw) - Remove
<!-- includes -->
replacement code when publish app. #28627 (@ycw) - Refresh geometry UI only if needed. #28624 (@ycw)
- Fix undo/redo of points. #28677 (@Mugen87)
- Remove reference to
targetInverse
. #28721 (@Mugen87)