r136
版本发布时间: 2021-12-25 01:11:38
mrdoob/three.js最新发布版本:r171(2024-11-29 19:21:30)
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r135--r136 https://github.com/mrdoob/three.js/milestone/49?closed=1
- Global
- Improved ESLint setup and clean up code. #22940 (@gero3)
- Clean up. #22988 (@linbingquan)
- Fix broken links. #23012, #23013, #23017, #23025, #23030, #23033, #23037 (@Mugen87, @gero3)
- FileLoader
- Fix incorrect error handling. #22925 (@leyiang)
- Support environments without
ReadableStream
. #23032 (@gkjohnson)
- LatheGeometry
- Improve normal generation. #22927 (@Chrissie-AI)
- MeshPhysicalMaterial
- Added IBL sheen support. #23069, #23081, 820a605fdfd4967d2c2ce88af680e7f273886f2d (@elalish, @mrdoob)
- MeshToonMaterial
- Only sample the red channel of
gradientMap
. #22911 (@Mugen87)
- Only sample the red channel of
- PMREMGenerator
- Use half float render targets. #22998 (@elalish)
- Sphere
- Fix edge case in
.union()
. #22981 (@Mugen87)
- Fix edge case in
- WebGLProgram
- Add layout-qualifier to
pc_fragColor
. #22931 (@ligaofeng0901)
- Add layout-qualifier to
- WebGLPrograms
- Minor clean up for
getProgramCacheKey()
. #22945 (@gero3) - Optimize program cache key generation. #22960 (@gero3)
- Add
WebGLShaderCache
. #23022 (@Mugen87, @gero3)
- Minor clean up for
- WebGLRenderer
- Clean up. #22902 (@Mugen87)
- Refactor usage of
.copyFramebufferToTexture()
. #22916, #22917, #22985, #22994 (@Mugen87, @elalish) - Enable usage of
SRGB8_ALPHA8
again. #22952 (@Mugen87) - Remove
RGBM7Encoding
andRGBM16Encoding
. #23046 (@Mugen87) - Remove
RGBDEncoding
. #23049 (@Mugen87) - Remove
RGBEEncoding
andRGBEFormat
. #23060 (@Mugen87) - Remove
.gammaFactor
andGammaEncoding
. #23080, #23082 (@Mugen87, @donmccurdy)
- WebGLTextures
- Introduce usage of
gl.texStorage2D()
. #22903, #22928, #22947, #22951 (@Mugen87)
- Introduce usage of
- WebXRManager
- Fix default foveation value. #22915 (@cabanier)
- Fixed dark renderings when WebXR is active. #22918, #22919, #22997 (@HexaField, @elalish)
Documentation
- Clean up. #22906, #22904, #22941 (@1337816495, @GoodnessEzeh, @gero3)
- Improved
ArcballControls
page. #22949 (@danielefornari) - Improved
Creating a scene
page. #22921 (@ayushmxn) - Improved
Matrix4
page. #22969 (@webglzhang) - Improved
Raycaster
page. #22908 (@DolphinIQ) - Improved
SkinnedMesh
page. #23079 (@Mugen87) - Improved
Texture
page. #22986 (@Mugen87) - Make headers stand out in API reference. #22948 (@orta)
- Add missing
load()
progress behaviour. #22990 (@dweremeichik) - Remove
Polyfills
page. #23036 (@Mugen87)
Manual
- Add Korean translation for WebXR articles. #22893 (@greggman)
- Add Chinese translation for multiple-scenes article. #22894 (@greggman)
- Fix fullscreen mode. #22953 (@makc)
- Fix exponential backtracking in
lessons-helper.js
. #23026 (@gero3) - Clean up. #22905 (@mjurczyk)
Examples
- Clean up. #22910, #22942, #23001, #23002, #23029, 00906433c98bed002237636166ac4f6d19f94ca3, 5eedcdbe059f94dc15c16fa630f68dd92708885d (@Tirzono, @gero3, @Mugen87, @mrdoob)
- Added
webgpu_nodes_playground
example. #22901 (@sunag) - Improve render order in
webgl_loader_svg
. #22912 (@tangobravo) - Added
.dispose()
method toReflector
andRefractor
. #22932 (@LR17) - Improve
webgl_loader_svg
example. #23040 (@linbingquan) - Sort presets in
webgl_materials_nodes
example. #23041 (@gero3) - Use half float EXR textures in
webgl_materials_matcap
example. #23059 (@WestLangley) - Simplify
webgl_animation_multiple
example. #23066 (@Mugen87) - Improve
webgl_instancing_raycast
example. #23000 (@WestLangley) - Add a placeholder text to the example’s landing page. #23045, #23075 (@gero3, @WestLangley)
- Simplified
webgl_geometry_teapot
example. 08b4975a2e60b48320abca88ed0408dbe48f9a35 (@mrdoob) - Improved
webgl_loader_gltf_sheen
example. 80afa23641d928704d3bb54f48a2687936e839a6, 0e53dfb2b55ebec26fa6a23185364fe251f0b124 (@mrdoob)
-
ArcballControls
- Remove
keydown
event listener. #23028, 4ea1a19b081fc3a9d28077ab530c6876ec6209a6 (@Mugen87) - Remove more
.clone()
calls. #23027 (@gero3) - Remove
.setTarget()
. #23038 (@Mugen87)
- Remove
-
ColladaLoader
- Fix transparency handling. #22907 (@kovacsv)
-
EXRLoader
- Support single channel luminance -
RedFormat
. #23007 (@sciecode) - Stop
RGBE
/UnsignedByteType
support. #23039 (@Mugen87)
- Support single channel luminance -
-
GLTFLoader
- Avoid using
ImageBitmap
in Safari. #23086 (@mrdoob)
- Avoid using
-
KTX2Loader
- Don't select ETC1 for textures with alpha. #22974 (@donmccurdy)
- Don't transcode to ETC1 in WebGL2. #22982 (@donmccurdy)
-
LDrawLoader
- Fail gracefully if an object could not be loaded, improve file compatibility. #22957 (@gkjohnson)
- Remove phong material use. #22973 (@gkjohnson)
- Initialize
parseScope.groupObject
even when!LDRAW_ORG
is not specified. #23076 (@gkjohnson)
-
NodeMaterial
- Don't use importmap with WebGL 1. #22936 (@sunag)
- Fix typo in
MathNode.STEP
. #23042 (@wmcmurray) - Adding fixes for WebGL 1. #23064 (@sunag)
-
NRRDLoader
- Ensure that
headerObject.vectors
is an array of arrays. #22987 (@sonisourabh)
- Ensure that
-
PLYLoader
- Improved magic word regex. #23018 (@gero3)
-
SelectionBox
- Honor transformation of
InstancedMesh
. #22962 (@chiguaboy)
- Honor transformation of
-
SelectionHelper
- Add
.dispose()
. #22977, #22979 (@chiguaboy, @Mugen87)
- Add
-
StandardMaterialEditor
- Embed node values. #22954 (@sunag)
-
SVGLoader
- Fix setting first path point after multiple
moveTo
commands. #22983 (@nkrkv)
- Fix setting first path point after multiple
-
TransformControls
- Added
.reset()
method. #22972 (@vHeemstra) - Don't attempt to capture pointer if pointerlock is active. #23057 (@jbaicoianu)
- Added
-
VRMLLoader
- Remove exponential backtracking in string regex. #23024 (@gero3)
- Simplify regex to reduce exponential backtracking. #23047 (@gero3)
-
Water2
- Remove
encoding
option. #22955 (@Mugen87)
- Remove
-
WebGLNodeBuilder
- Move
sizeNode
underpositionNode
. #23043 (@wmcmurray)
- Move
-
WebGPURenderer
- Add various fixes. #23003, #23005 (@sunag)
- Remove deprecated WGSL attribute:
[[ block ]]
. #23004 (@sunag)
Editor
- Clean up. a759644abd87620e301e53b84d65b2fbb167b24a (@mrdoob)
- Dispose
DracoLoader
after loading an asset. #22950 (@gero3) - Preview pure skeleton. #22858 (@gonnavis)
- Add support for
pic
extension. 5340bf3e8b4314489c460a3e13f03927ea7d622e (@mrdoob)
Tests
- Verify all variations of
Layer.set()
. #22895 (@Mugen87) - Add tests for
WebGLExtensions
. #22939 (@gero3) - Fix typos. #22961 (@gero3)
- Upgrade
actions/setup-node
action and cache dependencies on CI. #22883 (@ddzz) - Added
getTypedArray()
unit test. #23051 (@gero3) - Improved code style. #23052 (@gero3)