r107
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r106--r107
https://github.com/mrdoob/three.js/milestone/20?closed=1
(578,613 KB, gzip: 144,236 KB)
Source
- Global
- Added lower-case Mipmap constants. #16981 (@WestLangley)
- Change
MipMap
nomenclature toMipmap
. #16992, #17041 (@WestLangley) - Add stencil parameters to materials. #15611 (@gkjohnson)
- Change rollup output format specifier for modules from
es
toesm
. #17100 (@EliasHasle) - Remove IIFEs from some math classes. #17093 (@Mugen87)
- Added project icon. c69db34 (@mrdoob)
- Box3Helper
- Geometry
- Mesh
- Points
- PolyhedronBufferGeometry
- Fix typo. #17111 (@EliasHasle)
- Vector4
- WebGLRenderer
- Rename
.getActiveMipMapLevel()
to.getActiveMipmapLevel()
. #16982 (@WestLangley) - Removed
.context
property. #17006, #17018 (@WestLangley)
- Rename
- WebGLGeometries
Documentation
- Clean up. #17021, #17027, #17085 (@Mugen87, @lolPlatinumPlayer)
- Simplify module guide. #16945 (@Mugen87)
- Updated
Points
docs and TS file. #16994 (@looeee) - Improve
ExtrudeGeometry
page. #17036 (@gonnavis) - Fix
.lerp()
and.lerpVectors()
documentation issue. #17038, #17048 (@mnesarco) - Fix dead link in
/WebGLRenderTarget
page. #17064 (@munrocket) - Improve
ShaderMaterial
page. #17069 (@mghini) - Clarify module usage in
Loading-3D-models
page. #17076 (@munrocket) - Improve some chinese docs translation. #17084 (@HypnosNova)
- Improve
Sprite.raycast()
. #17087 (@Mugen87)
TypeScript
- Fix imports for
WebGLRenderer.d.ts
. #16918 (@wcdalton) - Fix format type in
CompressedTexture
. #16924 (@Mugen87) - Update type declaration of shader files. #16914, #16959 (@FishOrBear, @Mugen87)
- Improve
toArray()
type declaration of matrix classes. #16933 (@JohannesDeml) - Fix typing issues in
Volume.d.ts
andVolumeSlice.d.ts
. #16962 (@MichaelBuerge) - Update list of shaders in
ShaderLib.d.ts
. #16985 (@WestLangley) - Added TS files for
OBJLoader2
and fix style issues. #16969 (@Mugen87) - Fix
MMDLoader.d.ts
. #16986 (@yusuke-ten) - Added missing
name
property toBufferAttribute
's typings. #17000 (@mrschofield) - Removing
uuid
property from theBufferAttribute
s typings. #17019 (@mrschofield) - Make subclass inheritance more comfortable. #17025 (@eos3tion)
- Add missing
.intersectsTriangle()
toBox3.d.ts
. #17031 (@FoggyMist) - Added TS files for
NodeMaterial
. #17039, #17045, #17050, #17052 (@Mugen87) - Improve exporter files. #17046, #17054 (@Mugen87)
- Catch more
d.ts
error with the typescript compiler. #16957 (@gkjohnson) - Add missing methods to
Matrix3.d.ts
. #17108 (@Mugen87) - Add missing method/fix return type in
OrbitControl.d.ts
. #17110 (@Ein04) - Remove deprecation mark in
CircleGeometry.d.ts
. #17132 (@zosma180)
Examples
- Clean up. #16944, #16948, #16960, #16963, #16970, #16979, #17011, #17081, #17082 (@Mugen87, @WestLangley)
- Fix inset viewports in
webgl_lines_fat_wireframe
. #16951 (@WestLangley) - Added ES6 version of
tween.js
. #16947 (@Mugen87) - Move
system.min.js
to the editor. #16956 (@Mugen87) - Move
WebGL.js
into THREE namespace and modularize. #16958 (@Mugen87) - Rename
.setType()
to.setDataType()
inEXRLoader
,HDRCubeTextureLoader
andRGBELoader
. #16983 (@WestLangley) - Remove deprecated code in
WebVR
. #16988 (@Mugen87) - Improve
webgl_materials_wireframe
example. #16952 (@WestLangley) - Update Helio polyfill for Chrome 75. #17005 (@cabanier)
- Make info and dat.gui text non-selectable. #17004 (@WestLangley)
- Added logarithmic depth buffer support for
Water2
. #17014, #17015 (@WestLangley) - Avoid direct gl calls in example code. #17016, #17017 (@WestLangley)
- HelioWebXRPolyfill: Fix breakage on Chrome 73. #17008 (@cabanier)
- Added
misc_controls_trackball_orthographic
example. #16987 (@Mugen87) - Move
WebVR.js
into THREE namespace and modularize. #17022 (@Mugen87) - Unify setting postprocessing pass size. #17037, #17043 (@Oletus)
- Added
mmdparser
dependency toMMDExporter
. #17055 (@Mugen87) - Replaces UV Grid Texture #17077. (@sciecode)
- Rename
buffergeometry_drawcalls
example to_drawrange
. #17086 (@fernandojsg) - Fixed naming and vertex count in
webgl_buffergeometry_rawshader
example. #17119 (@lab101) - Fix
VolumeSlice.js
. #17124 (@Mugen87) - Added padding after script tag. f6dba25 (@mrdoob)
- Fixed links on mobile. 04ccaf5 (@mrdoob)
-
DecalGeometry
-
DragControls
-
FBXLoader
-
GLTFLoader
-
NodeMaterial
- Moved to
JSM
directory and harmonize module code. #16917 (@Mugen87) - Remove
console.log()
inAttributeNode
. #16954 (@martinRenou) - Fix missing return statement in copy methods. #16955 (@martinRenou)
- Clean up
NodeLib
. #17044 (@Mugen87) - Add
nodeType
toColorsNode
. #17047 (@Mugen87) - Clean up. #17049 (@Mugen87)
- Fix color space conversion issue for
TextureNode
andCubeTextureNode
. #17094, #17101 (@njarraud) - Fix
NormalNode
. #17096 (@sunag)
- Moved to
-
OBJLoader
-
OBJLoader2
- Clean-up, code doc update and TS alignment. #17020 (@kaisalmen)
-
OrbitControls
- Merge
MapControls
with OrbitControls. #16961 (@sciecode) - Add missing
THREE
namespace. #17007 (@sciecode) - Normalize rotation speed when damping is used. #17059 (@samipe)
- Normalize panning speed when damping is used. #17060 (@WestLangley)
- Updated default
dampingFactor
. #17062 (@WestLangley)
- Merge
-
TrackballControls
-
TransformControls
-
TTFLoader
-
VRMLLoader
Utils