r137
版本发布时间: 2022-01-29 05:05:55
mrdoob/three.js最新发布版本:r171(2024-11-29 19:21:30)
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r136--r137 https://github.com/mrdoob/three.js/milestone/50?closed=1
- AnimationMixer
- Fix wrong reference count in
_bindAction()
. #23102 (@walton007)
- Fix wrong reference count in
- Box3
- Supports computing minimal bounds for
.setFromObject()
. #20024 (@arikwex)
- Supports computing minimal bounds for
- BufferGeometry
- Faster
setIndex()
. #23290 (@neofuji)
- Faster
- FileLoader
-
text
honors mimetype's charset as encoding. #23292 (@ycw)
-
- LatheGeometry
- Change index order. #23291 (@Chrissie-AI)
- Material
- Removed
.format
. #23166 #23361, dfca2bd4748b00245225c9e4d8ba0ef7374c9b36 (@donmccurdy, @mrdoob)
- Removed
- MeshMatcapMaterial
- Update default matcap. #23126 (@WestLangley)
- PMREMGenerator
- Add
flipEnvMap
. #23158 (@Mugen87) - Reuse
pingpong
render target. #23203 (@Mugen87)
- Add
- Quaternion
- Fix return value of
.slerpQuaternions()
. #23114 (@OldStarchy)
- Fix return value of
- ShaderLib
- Clean up. #23119, #23122 (@ycw, @WestLangley)
- Added
OPAQUE
snippet to meshnormal shader. #23362 (@mrdoob)
- Texture
- Remove
RGBFormat
. #23228, #23201, #23205, #23211, #23223, #23218, #23219, #23367 (@Mugen87) - Remove
RGBIntegerFormat
. #23252 (@Mugen87) - Remove
UnsignedShort565Type
. #23323 (@Mugen87)
- Remove
- WebGLCubeUVMaps
- Add support for render targets. #23152 (@Mugen87)
- WebGLMorphtargets
- Dispose morph textures when corresponding geometry is disposed. #23104 (@0b5vr)
- Allow negative morph influence values. #23264 (@willstott101)
- WebGLRenderer
- Auto-detect sRGB compressed texture formats. #23124 (@Mugen87)
- Remove inline sRGB decode. #23129, #23192, #23271 (@Mugen87)
- Simplify env map generation. #23150 (@Mugen87)
- Implement draw buffers setup in WebGLState. #23194, #23200 (@Mugen87)
- Create WebGL context with
alpha: true
. #23230, #23241, #23243, #23246 (@mrdoob, @Mugen87) - Only use sRGB shader encode for default framebuffer and WebXR. #23253, #23288, #23289 (@Mugen87)
- WebGLRenderTarget
- Refactor
.copy()
. #23237 (@Mugen87)
- Refactor
- WebGLTextures
- Support RG in
getInternalFormat()
. #23274 (@neofuji)
- Support RG in
- WebXRManager
- Fixed support for multisampled rendering when render to texture is unsupported. #23145 (@cabanier)
Documentation
- Refactor URL generation in geometry browser. #23087, #23161 (@gero3)
- Improve
Box3
page. #23320 (@skuteli) - Improved
BufferAttribute
page. #23249, #23263 (@garciadelcastillo, @Mugen87) - Improved
CubeCamera
page. #23179, #23193 (@oerol, @Mugen87) - Improved
Installation
page. #23277 (@fabiobarcelona) - Improved
LoadingManager
page. #23236 (@kryzodoze) - Improved
MeshPhongMaterial
page. #23338 (@AdaRoseCannon) - Improved
MeshPhysicalMaterial
page. #23261 (@chubei-oppen) - Improved
Raycaster page
. #23132 (@Mugen87) - Improved loader pages. #23180 (@mistic100)
- Improved Chinese translation. #23084, #23209, #23239, #23262 (@521qq, @Torlinone, @moshuying, @Sooia)
- Only load trusted iframe. #23245 (@r0hanSH)
Manual
- Fix link highlighting in manual. #23113 (@greggman)
- Improve style of modified code listings. #23142 (@Mugen87)
Examples
- Clean up. #23092, #23091, #23105, #23133, #23151, #23162, #23222, #23175, #23276, #23294, #23301, #23365, e23cd92b13ca6884640a35b48150a92d47e2aa94, ab21bee59055fe1003f0c2d3e2eecb4cbed4a8c4, ea80c212e0047a547092904fcd19414dddd0da6c, 9d551a2640a438b1738d61e69997583e44c0ac27 (@linbingquan, @Mugen87, @WestLangley, @vojty, @marcofugaro, @TomHsiao1260, @mrdoob)
- Demonstrate loading flat colors in
webgl_loader_ldraw
to match instruction booklet style. #23098 (@gkjohnson) - Upgrade
lil-gui
. #23130 (@georgealways) - Throw errors instead of strings. #23137 (@gero3)
- Removed
RoughnessMipmapper
. #23143 (@mrdoob) - Added
ImportMaps
availability script. #23148 (@mrdoob) - Use import maps + polyfill. #23255, #23163, #23214, #23256, #23282, #23293, #23370 (@marcofugaro, @mrdoob, @sunag, @Mugen87)
- Add 3dl asset to
webgl_postprocessing_3dlut
example. #23202 (@gkjohnson) - Simplify
Reflector
,Refractor
andWater
render targets. #23206 (@Mugen87) - Use PBR material in
webxr_ar_lighting
example again. #23171 (@Mugen87) - Optimize icon image. #23238 (@chuntington)
- Use sRGB output in
webgl_loader_svg
example. #23280 (@gkjohnson) - Add
Layers
support to CSS renderers. #23316 (@thisGH) - Improve
webxr_vr_haptics
example. #23307 (@zz85) - Fixed duplicated ARKit button. 464a5f0381924cb7448f8f51cd8ffe1ee0dc243d (@mrdoob)
- Simplified
webgl_loader_obj_mtl
example. d9a9066a3982f753cdc1f613507b7f7139f602b7 (@mrdoob) - Always use
FloatType
in GPGPU examples with WebGL 2. #23337 (@Mugen87)
-
BasisTextureLoader
- Add deprecation warning. #23123 (@donmccurdy)
-
ConvexGeometry
- Support clone(). #23177 (@Mugen87)
-
EXRLoader
- Handle unsupported BigInt in Safari mobile. #23267 (@sciecode)
-
GlitchPass
- Use
RedFormat
for height map. #23207 (@Mugen87)
- Use
-
GLTFExporter
- Merge occlusion, roughness and metalness textures. #23229 (@mrdoob)
-
GLTFLoader
- Fix regex for Safari detection. #23305 (@Diyou)
-
HTMLTexture
- Don't overwrite
.dispatchEvent()
. #23326 (@Mugen87) - Introduce
.dispose()
. #23327 (@Mugen87)
- Don't overwrite
-
LDrawLoader
- Make normal smoothing condition more explicit. #23093 (@gkjohnson)
-
fileMap
should exist when parsing. #23097 (@gero3) - Throw errors instead of strings #23135 (@gkjohnson)
- Start removing stored derivative data during initial parse. #23139 (@gkjohnson)
- Check if a face edge is a sub segment of a long edge when smoothing normals. #23077 (@gkjohnson)
- Remove
separateobjects
flag. #23147 (@gkjohnson) - Refactor, cache pre-parsed file contents. #23157 (@gkjohnson)
- Rename colour to color. #23168 (@gkjohnson)
- Fix a corner case when smoothing normals. #23169 (@gkjohnson)
- Add option to merge geometries after loading. #23173 (@yomboprime)
- Cleanup and docs improvement. #23231, #23233 (@yomboprime, @gkjohnson)
- Cache geometry versions of parts, reduce geometry redundancy, improve parse time. #23232 (@gkjohnson)
- Convert to linear colors when parsing models. #23272 (@gkjohnson)
- Fix
getMainEdgeMaterial()
. #23334 (@yomboprime)
-
LUT3dlLoader
- Use
RGBAFormat
. #23208 (@gkjohnson)
- Use
-
MTLLoader
- Label and convert textures and colors correctly. #23296 (@gkjohnson)
-
NodeEditor
- Clean up and minor fixes. #23312, #23309, #23332 (@fyoudine, @sunag)
- Node-based for native objects. #23165 (@sunag)
- Add vertex position input. #23311 (@fyoudine)
- Add missing position entries. #23310 (@fyoudine)
- Add
BasicMaterialEditor
andPointsEditor
. #23339 (@sunag)
-
NodeMaterial
- Add missing
CondNode
in nodes.js. #23182 (@sunag) - Add all
MathNode
toShaderNode
alphabetically. #23215 (@sunag) - Fix
.opacityNode
with WebGPU. #23216, #23226 (@sunag) - Remove
ColorSpaceNode.fromDecoding()
. #23217 (@sunag) - Rename
UVNode.value
toUVNode.index
. #23335 (@sunag)
- Add missing
-
PCDLoader
- Fix RGB loading order for binary compressed files. #23286 (@LeoPapais)
-
SSAOPass
- Make use of
RedFormat
andUnsignedInt248Type
. #23210 (@Mugen87)
- Make use of
-
SVGLoader
- Properly support multiple CSS classes. #23191 (@vojty)
- Fix
use.href
in non-browser environments. #23297 (@nkrkv)
-
TextGeometry
- Fix clone(). #23269 (@Mugen87)
-
VRButton
- Add
sessiongranted
support to enable in-VR navigation. #23110 (@hybridherbst)
- Add
-
WebGPURenderer
- Remove
swapChain
. #23213 (@Mugen87)
- Remove
Editor
- Clean up. #23275, c15bbe117b5a278d0642ff5a66e6eea5da782070 (@linbingquan, @mrdoob)
- Upgrade signals.min.js #23044 (@linbingquan)
- Compute precise AABB selection box. #23298 (@mrdoob)
Tests
- Add
isObject3D
unit test. #23121 (@gero3) - Add three arguments test case for
Matrix4.set()
. #23227 (@linbingquan) - Fixed
getTypedArray()
unit test. #23258 (@takahirox) - Use ES modules. #23315, #23325 (@marcofugaro)