r129
版本发布时间: 2021-05-27 23:41:11
mrdoob/three.js最新发布版本:r170(2024-10-31 15:07:49)
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r128--r129 https://github.com/mrdoob/three.js/milestone/42?closed=1
- Global
- Clean up. #21710, #21899 (@linbingquan, @Mugen87)
- BufferAttribute
- Move
onUploadCallback()
back to prototype scope. #21770 (@kaisalmen)
- Move
- BufferGeometry
- Add
applyQuaternion()
method. #21835 (@WestLangley)
- Add
- ExtrudeGeometry
- Improve default uv generator. #21875 (@codrakai)
- InstancedInterleavedBuffer
- Fix incorrect clone result. #21781 (@gkjohnson)
- Material
- Remove skinning. #21788 (@Mugen87)
- Convert to class syntax. #21804 (@Mugen87)
- Matrix4
- Generalize
makeShear()
method. #21822 (@WestLangley)
- Generalize
- MeshPhysicalMaterial
- Improve
transmission
support. #21884, #21894, #21897, 00147d9d6be4e333a672e22212332dcbb4881c60, 90abd4f8131fb5728f9c3a4583dd014cbac5a9c8, 090982dd228d21a22add8a4e1a9d39a54a0497d6 (@takahirox, @mrdoob, @whatisor)
- Improve
- Object3D
- Add
removeFromParent()
. #21826 (@Mugen87)
- Add
- RectAreaLightHelper
- Ignore inherited scale factors. #21848 (@WestLangley)
- Skeleton
- Add
computeBoneTexture()
. #21829 (@Mugen87)
- Add
- UniformsLib
- Default color uniforms to white. #21803 (@gkjohnson)
- WebGLAttributes
- Check for
Uint8ClampedArray
. #21876 (@0X-JonMichaelGalindo)
- Check for
- WebGLRenderer
- Remove deprecated parameters check of
render()
. #21777 (@takahirox) - Added MRT support. #16390, #21792, #21810, #21811 (@takahirox, @mattdesl, @edankwan, @mrdoob, @Mugen87)
- Add workaround for
copyTexImage2D
in WebGL2. #21893 (@mrdoob)
- Remove deprecated parameters check of
- WebGLRenderTarget
- Clone texture image data when cloning render target. #21719 (@gkjohnson)
- WebGLState
- Use
getParameter()
to detect current scissor/viewport. #21831 (@Mugen87, @gkjohnson)
- Use
- WebXRManager
- Update to latest WebXR Hands API. #21712, a92265f02be7c5b4f7abdbe05b1f21908485a845, 9bbd837deb3e1d43d5c6c7054211eda5864bea06, 2c9b14387fb40d4ef1dc7aa06fa39d1515cc8433, 571347f504dec332f6905bb3d8ef43f1b405d45c, 9b222612d162b3e39bc3e54ef637461561d31fdb, 729deaf63374912511727025ea814ceab8fc749e, a8517eec7b9725f85f4fd06e4b553447c19fee46, e9d5ba5f47223cd8f0a4e5c31f2a2990feb4f6a1, 4926b0755466ffb63929c13b454088f256757fc3, 9db9ac8716bd0321e1ad4cbad90d9c9a75756ec2 (@fe1ixz, @mrdoob)
- Introduce
updateCamera()
and refactorgetCamera()
. #21886 (@Mugen87)
Documentation
- Improve
Installation
page. #21711 (@donmccurdy) - Improve
Creating text
page. #21708, #21725 (@lojjic) - Improve
MeshPhysicalMaterial
page. #21845 (@Mugen87) - Improve
PlaneGeometry
page. #21854 (@FMS-Cat) - Improve
Shape
page. #21862 (@Mugen87) - Improved
VideoTexture
page. #21746, #21866 (@jlivak, @Inklingboiii) - Improve
WebXRManager
page. #21880 (@Mugen87) - Improve Chinese translation. #21729, #21873 (@puxiao)
- Improve Korean translation. #21791, #21807 (@hareha)
- Improve
[link:]
handling. 86faacade3ea99116d8af19360bb7839fbc8b620 (@mrdoob)
Examples
- Clean up. #21767, #21783, #21794, #21796, #21827, #21842, #21856, #21864, #21895 (@Mugen87, @fraguada)
- Fix GUI in
webgl_postprocessing_unreal_bloom_selective
example. #21722 (@gonnavis) - Add
fog
tag towebgl_geometry_terrain
example. #21736 (@makc) - Add
webgpu_lights_custom
example. #21706 (@sunag) - Add license for
kenpixel.ttf
. #21778 (@Mugen87, @hrieke) - Slightly refactor
webgl_postprocessing_fxaa
example. #21785 (@Mugen87) - More ES6 usage in
webgl_animation_cloth
example. #21787 (@Mugen87) - Move
jsm/nodes
to ES6. #21801 (@Mugen87) - Improve CSS in various examples. #21808, #21809 (@Mugen87)
- More usage of template strings. #21816 (@Mugen87)
- Add
package.json
indicating jsm examples are modules. #21838 (@gkjohnson) - Add GPU stats panel. #21509 (@gkjohnson)
-
3DMLoader
- Fix bug in texture type checking. #21784 (@fraguada)
- Returning conversion warnings. #21639 (@karimi)
-
CameraUtils
- Added
frameCorners()
. #21825, e87bfebbadff63e5208cbb9dffb6418a05f6fc01 (@zalo, @mrdoob)
- Added
-
CSS3DRenderer
- Support
CSS3DSprite
screen-space rotation. #21823 (@WestLangley)
- Support
-
FBXLoader
- Configure
TGALoader
with the correct path. #21863 (@Mugen87)
- Configure
-
GLTFExporter
- Fix value of
emissiveFactor
. #21855, #21858 (@Mugen87, @mrdoob) - Fix support for RGBA textures. #21888 (@Mugen87)
- Fix value of
-
GLTFLoader
- Clean up JSDoc. #21820 (@donmccurdy)
- Ignore redundant
KHR_texture_transform
extensions andtextures
entries. #21821 (@donmccurdy) - Set
RGBFormat
for jpg with no mimeType. #21892 (@mrdoob)
-
LineSegments2
- Fix typo in
raycast()
. #21760 (@amosbyon1224)
- Fix typo in
-
LineSegmentsGeometry
- Fix name of
fromLineSegments()
. #21726 (@Mugen87)
- Fix name of
-
LineGeometry
- Remove
copy()
function override. #21782 (@gkjohnson)
- Remove
-
LineMaterial
- Automatically adjust the
USE_DASH
define when settingdashed
. #21797 (@gkjohnson)
- Automatically adjust the
-
MD2Loader
- Clear previous frame's name. #21766 (@AssassinForReal)
-
MMDLoader
- Skip transparency check for
CompressedTexture
. #21878 (@bill42362)
- Skip transparency check for
-
NodeMaterial
- Add
RemapNode
. #21793 (@donmccurdy) - Fix shader code in
BasicNode
. #21818 (@Mugen87) - Add
Noise2DNode
,Noise3DNode
,Fractal3DNode
. #21800 (@donmccurdy)
- Add
-
Octree
- Fix and optimize
fromGraphNode()
. #21834 (@Mugen87)
- Fix and optimize
-
OutlinePass
- Fix shader code of mask material. #21836 (@codrakai)
-
SSAARenderPass
- Honor original camera view offset. #21740 (@msimpson)
-
SVGLoader
- Remove paths with a length less than two points. #21752 (@Ttommeke)
-
TiltLoader
- Refactor shaders setup. #21721 (@Mugen87)
-
TransformControls
- Fix gizmo transform. #21732 (@Mugen87)
-
USDZExporter
- Support transparency. #21747 (@qeeqez)
- Improve handling of geometries. #21749, #21775 (@qeeqez)
- Export only visible objects. #21846 (@mrdoob)
- Store only objects with PBR materials. #21847 (@qeeqez)
- Added
Texture.offset
andTexture.repeat
support. #21852 (@kolodi) - Modulate diffuse map. #21872, afb032b20e5116c921bc40d0095190ef2bcb82f8, a09a70474aa41f8445595e2232d7fc01e45c4a3d (@kolodi, @mrdoob)
- Clean up. ad868b3b73177c95575b0f8037eac37f5d903bd2, 14fab092b66c9956f3f9f41d515a654a863dd3ca, 73eedf069b21d966938314a1b6c5ff81eeafc067 (@mrdoob)
-
WebGPURenderer
- Add pipeline cache. #21741, #21751 (@Mugen87)
- Add
WebGPUProgrammableStage
. #21750, #21757 (@Mugen87) - Avoid memory leak in
WebGPURenderPipelines
. #21768 (@Mugen87) - Clean up
WebGPUBindings
. #21779, #21780 (@Mugen87) - Add support for
alphaTest
. #21868 (@Mugen87) - Support more vertex formats. #21879 (@Mugen87)
Editor
- Improve Chinese translation. #21761, #21900 (@1993heqiang, @linbingquan)
-
MoveObjectCommand
should dispatchadded
event. #21812 (@carstenschwede) - Added
transmission
support. #21896 (@mrdoob)
Tests
- Fix
GLTFExporter
unit test. #21728 (@takahirox) - Fix
Clock
unit test under latestnode.js
. #21730 (@Mugen87) - Removed
gimbalLocalQuat
fromEuler
unit test. #21844 (@mrdoob)