r103
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r102--r103
https://github.com/mrdoob/three.js/milestone/16?closed=1
(564,364 KB, gzip: 140,289 KB)
Source
- Global
- Add
.editorconfig
file to enforce coding style. #15954 (@wmcmurray)
- Add
- AnimationLoader
- Box3
- Avoid cyclic dependency on
Sphere
. #16021 (@WestLangley)
- Avoid cyclic dependency on
- BufferGeometry
- CubeCamera
- DataTexture3D
- Clean up. #15902 (@takahirox)
- GridHelper
- ImageBitmapLoader
- Add workaround for Firefox. #15910 (@takahirox)
- Line
- Mesh
- Quaternion
- Avoid cyclic dependency on
Vector3
. #16022, #16039 (@WestLangley)
- Avoid cyclic dependency on
- SphereGeometry
- Prevent UV shearing near the poles. #16043 (@WestLangley)
- TypeScript
- Fix export of math namespace. #15873 (@Methuselah96)
- Added
.angleTo()
and.rotateTowards()
definitionsQuaternion
. #15905 (@JohannesDeml) - Export types as namespace. #15911 (@Methuselah96)
- Added missing definitions to
Audio
andPositionalAudio
. #15937 (@Mugen87) - Fixed
InstancedBufferAttribute
definitions. #15957 (@nsunderland-cognite) - Fixed definition of
ObjectLoader.load()
. #15958 (@jeffreylanters) - Fixed
AnimationAction.loop
. #16049 (@XHMM) - Fixed usage of
AudioBuffer
inAudio
andPositionalAudio
. #16052 (@JasonTartaglia) - Added
groupOrder
toRenderItem
interface inWebGLRenderLists
. #16062 (@fms-cat) - Removed duplicates import in
WebGLProgram
. #16073 (@zprodev) - Add description for
Object3D.renderOrder
. #16061 (@fms-cat) - Fixed
Sprite
declaration. #16071 (@zprodev)
- Vector3
- Avoid computing inverse in
.unproject()
. #15996 (@WestLangley)
- Avoid computing inverse in
- WebGLBackground
- Hide scene background when XR Session
environmentBlendMode
is additive. #15894, 30b37e7 (@mvilledieu, @mrdoob)
- Hide scene background when XR Session
- WebGLRenderer
- WebGLRenderList
- Ensure sort does work even with undefined programs. #16038 (@Mugen87, @OndrejSpanel)
- WebGLTextures
- WebGLUniforms
- WebVRManager
- WebXRManager
Documentation
- Clean up. #15908, #16018 (@JohannesDeml, @bakerman)
- Add Cinema 4D to
glTF
exporter list. #15874 (@donmccurdy) - Fix elements typing description of elements property in
Matrix3/4
. #15917 (@thinkimlazy) - Add
.isQuaternion
and.isTexture
. #15930 (@zarov). - Add
Loader.Handlers
docu toLoader
page. #15923 (@Mugen87) - Improved
ImageBitmapLoader
page. #15945 (@takahirox) - Improved
ImageLoader
page. #15955 (@ericdoerheit) - Improved
Lensflare
page. #16002 (@WestLangley) - Improved
Mesh
page. #16034 (@amitlzkpa) - Improved
Object3D
page. #16025, 4919ced (@nzjony, @mrdoob) - Improved
SVGLoader
page. d61ef62 (@mrdoob) - Added documentation for
DRACOLoader
. #16053 (@donmccurdy)
Examples
- Clean up. #15863, #15915, #15934, #15938, #15964, #15975, #16037, #16057, #16058, 2d54d1c (@paulmasson, @Mugen87, @takahirox, @aardgoose, @mrdoob)
- Reorganized example list. 9599fb5 (@mrdoob)
- Improved
webgl_shaders_ocean
example. 5e00de2 (@mrdoob) - Use linear workflow for examples with ROME models. #15888 (@donmccurdy)
- Fix resize in
webgl_postprocessing_dof2
example. #15867 (@Mugen87) - Added example for Box Projected CubeMap Environment Mapping. #15897 (@sneha-belkhale)
- Avoid usage of raw WebGL context in
webgl_lights_rectarealight
. #15906 (@Mugen87) - Add
setCell()
,getCell()
,blur()
function toMarchingCubes
script. #15940 (@gkjohnson) - Add TypeScript definitions for example modules. #15947, #15980, #15989 (@Methuselah96)
- Share code for creating a fill quad scene in postprocessing passes. #15976 (@Oletus)
- Set
Pass.renderToScreen
automatically inEffectComposer
. #16033 (@Oletus) - Improved
AfterimagePass
. #16036 (@Oletus) - Added
LWOLoader
andwebgl_loader_lwo
example. #16011 (@looeee) - Added
webgl_animation_multiple
example. #16006 (@strazdinsg) - Added
DracoExporter
andmisc_exporter_draco
example. #16040 (@tentone) - Added draco exporter example to list. ced66da (@mrdoob)
- Added
webgl_lightshafts
example. #16012 (@Mugen87) - Commented out warnings in
GCodeLoader
. 615c99f (@mrdoob) - Use first frame for reference boundingBox in
MD2Character*
. de338cf (@mrdoob) - Improved
webgl_clipping_intersection
example. 356f044 (@mrdoob) - Improved
webgl_worker_offscreencanvas
example. 871a528 (@mrdoob) - Modularized
PMREM
and addedwebgl2_loader_gltf
example. #16072 (@oparisy) - JSM: Update modularize script to produce usable modules. #15582 (@gkjohnson)
- JSM: Create ES module for
GLTFExporter
. #15977 (@garyo) - JSM: Create ES modules for exporters. #15592 (@donmccurdy)
- JSM: Move imports beneath JSDoc header. #15986 (@donmccurdy)
- JSM: Convert
utils/
. #15987 (@donmccurdy) - JSM: Convert
TypedArrayUtils
. #15990 (@donmccurdy)
-
BufferGeometryUtils
-
CSS2DRenderer
- Properly clip objects outside frustum. #15921 (@Chabam, @WestLangley)
-
CTMLoader
- Remove inheritance from
Loader
. #15933 (@takahirox)
- Remove inheritance from
-
GLTFExporter
-
GLTFLoader
- Fix runtime error when accessing the cache. #15881 (@Mugen87)
- Remove multipass and primitive merging logic. #15889 (@donmccurdy)
- Fix warning on cubicspline interpolation. #15893 (@donmccurdy)
- Enable the loading of custom geometry attributes. #15878 (@sneha-belkhale)
- Clean up, remove
.getMultiDependencies()
. #15891 (@donmccurdy) - Remove dependency on
THREE.DRACOLoader
global. #15943 (@donmccurdy)
-
NodeMaterial:
-
ShaderPass
-
SkeletonUtils
- Add
.clone()
helper for skinned meshes. #14494 (@donmccurdy)
- Add
-
StrucNode
-
SVGLoader
- Added fill-opacity style support. #15922 (@btevc)
- Add stroke support and
webgl_geometry_text_stroke
example. #16077 (@yomboprime)
-
TransformControls
-
UVsDebug
- Fixed incorrectly-labeled face index. #16044 (@WestLangley)
-
WebGLDeferredRenderer
Editor
- Display scene camera on main scene. #15998, ec73e0c (@Temdog007, @mrdoob)
- Fixed
SkeletonHelper
usage. #15920 (@mrdoob) - Added Manifest and ServiceWorker. #15966 (@mrdoob)
- Removed Electron. #15967 (@mrdoob)
- Added Portrait mode. #15969 (@mrdoob)
- Avoid runtime error when fog is removed. #15995 (@linbingquan)
- Improved
UI.Number
touch support. 4fb74e3 (@mrdoob) - Removed unused
UI.Modal
code. 1ac61de (@mrdoob) - Added PWA iOS support. dd924ab (@mrdoob)
- Use default
PerspectiveCamera
values. a04911e (@mrdoob) - Fixed
SVGLoader
usage. 4135b66 (@mrdoob) - Fix sidebar covering menubar. 158f8b5 (@mrdoob)
Utils
- Clean up. #15997 (@linbingquan)