r164
版本发布时间: 2024-04-26 16:47:47
mrdoob/three.js最新发布版本:r171(2024-11-29 19:21:30)
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r163--r164 https://github.com/mrdoob/three.js/milestone/77?closed=1
- Global
- Replace
unpkg
withjsdelivr
as CDN. #28006 (@0b5vr) - Remove deprecated code. #28068 (@Mugen87)
- Replace
- BatchedMesh
- Add
getInstanceCount()
/setInstanceCount()
methods for instanced multi-draw. #28103 (@CodyJasonBennett)
- Add
- FileLoader
- Evaluate
X-File-Size
header beforeContent-Length
. #28169 (@Mugen87)
- Evaluate
- Line
- Honor last segment of
LineLoop
inraycast()
. #28114 (@zoeeer)
- Honor last segment of
- MeshPhysicalMaterial
- Add dispersion. #28051, #28057, #28058 (@Mugen87)
- PMREMGenerator
- Make blur order consistent. #28166 (@elalish)
- RenderTarget
- Add
resolveStencilBuffer
. #28096 (@Mugen87) - Add
resolveDepthBuffer
. #28170 (@Mugen87)
- Add
- WebGLBackground
- Split adding to render list and clearing of buffers. #28118 (@mrxz)
- WebGLCapabilities
- Add
textureTypeReadable()
andtextureFormatReadable()
. #28087 (@sguimmara)
- Add
- WebGLRenderer
- Use ETC2 for ETC1 textures. #28021 (@Mugen87)
- Clean up tone mapping shaders. #28084 (@WestLangley)
- Let
transmissionRenderTarget
size match relevant viewport size. #28088 (@mrxz) - Prerender transmission pass(es). #28097 (@mrxz, @cabanier)
- Fix global clipping planes with nested render calls. #28120 (@Mugen87)
- Discard depth after rendering to
transmissionRenderTarget
. #28132 (@mrxz) -
copyTextureToTexture3D()
depth fix and exclusive approach. #28154 (@RenaudRohlinger) - Simplify
getContext()
. #28186 (@vitch) - Don't support double-sided, transmissive objects with
WEBGL_multisampled_render_to_texture
. #28196 (@Mugen87)
- WebGLShadowMap
- Clean up. #28194 (@linbingquan)
- WebGLTextures
- Fix
gl.invalidateFramebuffer()
call. #28139 (@Mugen87) - Simplify
updateMultisampleRenderTarget()
. #28141 (@Mugen87)
- Fix
Documentation
- Improve
Libraries and Plugins
guide. #28077, #28085 (@atul-mourya, @Mugen87) - Improve
Post-Processing
guide. #28168 (@atul-mourya) - Improve
Object3D
page. #28145 (@Mugen87) - Improve
Plane
page. #28153 (@Mugen87) - Improve
WebGLRendererTarget
page. #28112 (@Mugen87) - Improve Chinese translation. #28040, #28159 (@moshuying, @lreebom)
- Improve Korean translation. #28090, #28123 (@eunjios, @kdby-io)
- Remove
THREE
prefix from several addon uses. #28105 (@0b5vr)
Manual
- Improve Chinese translation. #28076 (@HonorableLeon)
Examples
- Clean up. #28121, #28213 (@linbingquan)
- Remove lensflares from VR sandbox demo. #28110 (@Mugen87)
- Added Jolt physics example. #28023, 0adce30dfd94227d33d95b445a1cd8ec137bd1d8 (@mrdoob, @ycw, @Mugen87)
- Use
FullScreenQuad
forwebgl_postprocessing_crossfade
example. #28171 (@linbingquan) - Add resize event listener for
webgl_postprocessing_crossfade
example. #28172 (@linbingquan) - Fix
monaco-editor
. #28201 (@sunag) - Fix
webgpu_loader_materialx
example. 7c449d803bbdf9f6255d1321f6168711394c6641 (@mrdoob) - Add
webgpu_multiple_rendertargets_readback
example. #28211 (@Spiri0, @sunag)
-
CCDIKSolver
- Allow specifying sphere size in
createHelper()
. #28147 (@Psychpsyo)
- Allow specifying sphere size in
-
EXRLoader
- Implement single tiled-image support. #28033 (@sciecode)
-
GLTFExporter
- Fix missing clearcoat normal map scale. #28099 (@Mugen87)
- Include
three.js
version in generator string. #28137, 28222 (@donmccurdy, @RemusMar)
-
KTX2Loader
- Remove
RGB_S3TC_DXT1_Format
usage. #28069 (@Mugen87)
- Remove
-
Line2NodeMaterial
- Simplify extension. #28160 (@aardgoose)
-
LWOLoader
- Fix coordinate system conversion. #28029 (@WORMSS)
-
MeshGouraudMaterial
- Remove unused
lightmap_fragment
chunk. #28056 (@pailhead)
- Remove unused
-
NodeMaterial
- Clean up. #28185 (@linbingquan)
- Remove
WebGLNodeBuilder
. #28167, #28173 (@sunag, @aardgoose)
-
Octree
- Add
layers
property for filtering objects. #28116 (@RemusMar)
- Add
-
OculusHandModel
- Pass
onLoad
callback constructors. #28074 (@ferminLR)
- Pass
-
RenderTransitionPass
- Add new class for transition effects. #28174, #28207 (@linbingquan)
-
SceneUtils
- Add generator-based traversal methods. #28053 (@HoloTheDrunk)
-
TSL
- Introduce
.onReference()
. #28104 (@sunag)
- Introduce
-
USDZExporter
- Rename
parse()
toparseAsync()
. #28049 (@mjurczyk)
- Rename
-
VRMLLoader
- Make sure rotation axis is normalized. #28162 (@vorth)
-
WebGPURenderer
- Add batch texture to
cacheKey
. #28039 (@RenaudRohlinger) - Add missing Z axis to
viewportCoordinate
. #28041 (@RenaudRohlinger) - Forward
depthNode
to shadows. #28042 (@RenaudRohlinger) - Apply
setupDepth
even iffragmentNode
isn'tnull
. #28043 (@RenaudRohlinger) - Fix
viewZToPerspectiveDepth
. #28045 (@RenaudRohlinger) - Add
textureGrad
support. #28048 (@RenaudRohlinger) - Add support for multisampling in
copyFramebufferToTexture()
. #28054 (@sunag) - Add
aoNode
toNodeMaterial
. #28061 (@RenaudRohlinger) - Fix
faceDirection
inWebGLBackend
if usedBackSide
. #28064 (@sunag) - Introduce compute geometry. #28072 (@sunag)
- Transmission - Backdrop 3/3. #27880 (@sunag)
- Fix
specularF90
ofMeshStandardMaterial
. #28138 (@sunag) - Fix
receiveShadow
and introduceshadowPositionNode
. #28146 (@RenaudRohlinger) - Fix calculation of array buffer size copying texture to buffer. #28161 (@aardgoose)
- Fix group draw range. #28163 (@sunag)
- Added
lightMap
support #28164 (@sunag) - Use
textureGrad
for PMREMs. #28181 (@sunag) - Support
specularColorMap
. #28155 (@susiwen8) - Allows the device to be created externally. #28192 (@chirsz-ever)
- Fix
D_BlinnPhong
. #28199 (@susiwen8) - Add
ShadowMaterial
support. #28200 (@sunag) - Allow specifying texture index for MRT in
readRenderTargetPixelsAsync()
. #28197 (@Spiri0) - Remove unnecessary use of
GPUAdapter
. #28217 (@sunag, @chirsz-ever) - Wait for device initialization in
hasFeatureAsync()
. #28218 (@sunag)
- Add batch texture to
-
XRHandModelFactory
- Pass
onLoad
callback constructors. #28074 (@ferminLR)
- Pass
Node Editor
- Clean up. #28095 (@sunag)
- Fix animation loop reference. #28093 (@sunag)
- Fix NodePrototypes being available across load/save-cycles. #28030 (@abc013)
- Revision mat*/bool color and json matrix* types. #28094 (@sunag)
- Implement a split screen. #27784 (@abc013)
- Use
devicePixelRatio
. 5cfc5dba4f8b26bce30f42310d5b9289e40b011e (@mrdoob) - Fix
PreviewEditor
. #28223 (@sunag)
Editor
- Clean up. #28183 (@linbingquan)
- Make
IOR
configurable. #28028 (@Mugen87) - Remove IFC support. #28108 (@harryhjsh)
- Clean up grid code and improve colors. cd385372374f5513f5815d693dc264140788e574 (@mrdoob)
- Use importmap in
app/index.html
. #28195 (@linbingquan) - Fix glTF assets with external KTX2 textures. #28206 (@Mugen87)