r124
版本发布时间: 2020-12-24 16:00:51
mrdoob/three.js最新发布版本:r170(2024-10-31 15:07:49)
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r123--r124 https://github.com/mrdoob/three.js/milestone/37?closed=1
Source
- Global
- Improved linter settings and clean up. #20827, #20829, #20852, #20853, #20862, #20863 (@gkjohnson, @Mugen87)
- Simplify regular expressions. #20892, #20897, #20899 (@gonnavis)
- Clean up. #20916, #20910, #20912 (@1993heqiang, @jasonsturges)
- More usage of ES6 default values. #20840 (@linbingquan)
- CompressedTextureLoader
- Fix type of
CompressedTexture.image
. #20800 (@Mugen87)
- Fix type of
- InstancedMesh
- Add
.dispose()
. #20816 (@Mugen87)
- Add
- Line
- Removed deprecated
mode
parameter. #20937 (@mrdoob, @Mugen87)
- Removed deprecated
- Matrix3
- Add missing return statement to
setUvTransform()
. #20828 (@Mugen87)
- Add missing return statement to
- SkinnedMesh
- Refactor
boneTransform()
. #20875 (@Mugen87)
- Refactor
- WebGLPrograms
- Make
getTextureEncodingFromMap()
more robust. #20847 (@Mugen87)
- Make
- WebGLRenderer
- Add
target
argument to.getClearColor()
. #20818 (@gkjohnson) - Avoid creating per-camera render states. #20422 (@Oletus)
- Introduce
.resetState()
. #20859 (@Mugen87)
- Add
Documentation
- Clean up. #20766, #20780, #20879, #20891, #20895, #20915, #20907, #20905, #20928, #20929 (@linbingquan, @traysiMay, @luisfonsivevo, @Mugen87, @jasonsturges, @ComanderKai77, @gonnavis)
- Improved
AxesHelper
page. #20785 (@gonnavis) - Improved
BufferAttribute
page. #20890 (@luisfonsivevo) - Improved
CurvedPath
page. #20866 (@Mugen87) - Improved
DataTexture
page. #20809 (@gkjohnson) - Improved
GLTFLoader
page. #20783 (@takahirox) - Improved
Layers
page. #20832 (@donutcoffee) - Improved
Matrix4
page. #20864 (@mjurczyk) - Improved
MeshPhysicalMaterial
page. #20778 (@Mugen87) - Improved
Raycaster
page. #20931 (@Mugen87) - Added
OBB
page. #20825 (@Mugen87) - Started Korean translation. #20872, #20877, #20925, #20934 (@hareha, @kijunkim9)
TypeScript
- Removed
shadowMapDebug
fromWebGLRenderer.d.ts
. #20776 (@Mugen87) - Introduce
OUTPUT
enum toSAOPass
. #20775 (@Fluqz) - Add types for
GLTFLoader
s plugin system. #20713 (@FMS-Cat) - Fix outdated stencil properties of
Material
. #20881 (@ivan-dages) - Fix
Vector4.setAxisAngleFromRotationMatrix()
. #20927 (@hujiulong)
Examples
- Clean up. #20797, #20822, #20923 (@Mugen87, @linbingquan, @Ph0tonic)
- Removed
webgl_postprocessing_ssaa_unbiased
. #20764 (@gkjohnson) - Made
webgl_framebuffer_texture
more interesting. #20801 (@Mugen87) - Use template string for HTML template in
index.html
. #20802 (@marcofugaro) - Tweak shadow examples search tags. #20773 (@makc)
- Fixed shadow in
webgl_shadow_contact
. #20849 (@Fluqz) - Fixed broken
NodeMaterial
presets. #20856 (@Mugen87) - Removed
TypedArrayUtils
andwebgl_nearestneighbour
demo. #20871 (@Mugen87) - Improve
webgl_loader_xyz
demo. #20896 (@Mugen87) - Remove FPS workaround in
webxr_vr_video
demo. #19907 (@Mugen87) - Add mobile support for
unreal_bloom_selective
example. #20911 (@ajflores1604) - Simplify
webgl_geometry_spline_editor
demo. #20902 (@Mugen87) - Added
games_fps
example. #20836, 326b83d6a17e6c030404fb0f3c12690076a3d896, 919707fd156b87256f2b9cd8c997aa7a7163bb4c, 762ecf632a12aaa248e2cafef716716d85ea14db (@supereggbert, @mrdoob)
-
3DMLoader
- Added checks for null geometry and material. #20873 (@fraguada)
-
ColladaLoader
- Use
Object3D.animations
. #20767 (@Mugen87)
- Use
-
CurveModifier
- Fix WebGL 1 support. #20860 (@Mugen87)
-
EdgeSplitModifier
- Support other attributes. #20855 (@Mcgode)
- Keep normals. #20903 (@Mcgode)
-
FBXLoader
- Speed up
getTimesForAllAxes()
. #20906 (@Kimbatt)
- Speed up
-
GeometryUtils
- Add gosper curve generator. #20814 (@Mugen87)
-
GLTFExporter
- Fix undefined node name bug in
mergeMorphTargetTracks()
. #20799 (@takahirox) - Account for bind matrix. #20804 (@zach-capalbo)
- Fix undefined node name bug in
-
GLTFLoader
- Use sanitized name when creating unique node name for duplicated name. #20880 (@ryans1224)
-
LDrawLoader
- Fix uniforms to support fog. #20913 (@lk-lkaz)
-
LottieLoader
- Convert to ES6 class. 977cf79c8cad32d31958cf14ee8ed5aafc6e88c4 (@mrdoob)
-
OBJLoader
- Only add color attribute if necessary. #20763 (@Mugen87)
-
RGBELoader
- Make magic bytes regex less strict #20887 (@gkjohnson)
-
TDSLoader
- Fix material parsing. #20793 (@Mugen87)
-
TiltLoader
- Added new loader. #20831, #20838, #20837, dd3378380778640c995e55e4390f86c2a59c7df8, b467f16cd95e22873c36d565f29e86affa6e0098, 3fea7a65269a446bea79316625c3cc320f3fd20b (@mrdoob, @linbingquan, @Mugen87)
-
VOXLoader
- Convert to ES6 class. a6186c3b23e065e78da2dfcf2cd2219b441c0565 (@mrdoob)
- Added VOXMesh class. efdcb275b6ec4157de3fa70498dfdb16ab98823a, b6f343b6f7e6f649ec25db6ded1dcdf3e74b4493 (@mrdoob)
Editor
- Clean up. 573fbc7f2fff74650c4d6d4fea0098deaad8d0dd, f5d1f18539997ef362b63891968a7589f19762c4 (@mrdoob)
- Import loaders dynamically. fa7b40c27c8b95637bc849418adc659f5c023948 (@mrdoob)
- Import exporters dynamically. 62b19f0fa8c5ced438a52a8f4c3b5a11f68f8d1f (@mrdoob)
- Import geometry parameter panels dynamically. e25449c2e3c7f147968b6d0fcbc92769d3bfb2fe (@mrdoob)
- Added vox files support. 6e0c0b0e0f02f8c4ac9736adfe673d5fa9df3558, 13afd508b4c2afbcd0dc7809c7abbbdcd2f9eca9 (@mrdoob)
Tests
- Introducing logging level for unit tests. #20782 (@takahirox)
- Add
Object.updateWorldMatrix()
unit test. #20772 (@takahirox) - Add
GLTFExporter
lights and unlit material extensions tests. #20821 (@takahirox) - Fix remaining console warnings. #20834 (@Mugen87)
- Introduce flag for skipping unit tests in
node.js
. #20884 (@takahirox) - Fix
GLTFExporter
unit test. #20885 (@takahirox) - Add
npm run test-unit-examples
command. #20900 (@takahirox) - Removed editor unit tests. 1e30dfa8771f6a5d9ab6a7098366a35b75c57a17 (@mrdoob)
Utils
- Removed converter scripts. #20936 (@Mugen87)