r106
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r105--r106
https://github.com/mrdoob/three.js/milestone/19?closed=1
(576,257 KB, gzip: 143,560 KB)
Source
- Global
- Make
Euler.onChange()
andQuaternion.onChange()
private. #16755, #16773 (@WestLangley) - Dispatch sessionstart/sessionend events in
WebVRManager
andWebXRManager
. #16365 (@takahirox) - Enable devtools events. cdf7a28 (@mrdoob)
- Make
- AnimationMixer
- ArrowHelper
- Support all color formats in
.setColor()
. #16114 (@PrincessGod) - Clean up docs and TS file. #16840 (@Mugen87)
- Support all color formats in
- Box3Helper
- Fix ctor color parameter. #16893 (@Mugen87)
- Fix non-optional parameter. #16898 (@WestLangley)
- Color
- DirectGeometry
- Earcut
- LOD
- Introduce
.autoUpdate
. #16206 (@takahirox)
- Introduce
- Material
- MeshNormalMaterial
- Object3D
- Dispatch event in
.add()
/.remove()
when operation is done. #16880 (@Mugen87, @brianchirls)
- Dispatch event in
- Points
- Quaternion
- SphericalHarmonics3
- Update methods. #16757 (@WestLangley)
- Sprite
- Fix raycasting bugs. #16423 (@WestLangley)
- Vector4
- Added width/height aliases. #16767 (@WestLangley)
- WebGLLights
- Simplified hash value. #16581 (@aardgoose)
- WebGLProgram
- Remove deprecated code. #16729 (@aardgoose)
- Remove redundant parameter. #16725 (@aardgoose)
- WebGLRenderer
- Rework shader compile/link error checking. #16610 (@aardgoose)
- Fix skinning precision issue on iOS. #16687 (@zeux)
- Improve quality of
SHADOWMAP_TYPE_PCF
. #15591, 576eb60 (@IvoJager, @mrdoob) - Ensure canvas/viewport/scissor have integer dimensions. #16821 (@WestLangley)
- WebGLRenderTarget
- Add image.width/height to texture property. #16651 (@WestLangley)
- Removed template literal. 150e168 (@mrdoob)
- WebGLRenderTargetCube
- Added
fromEquirectangularTexture()
method. #16671, #16819 (@WestLangley)
- Added
- WebGLTextures
- Used sized internal format for depth stencil. #16769 (@aardgoose)
- WebVRManager
- Added Vive Focus controller support. #16853 (@fernandojsg)
Documentation
- Clean up. #16638, (@aardgoose)
- Refined styles for large screen. #16618 (@yuinchien)
- Refined large screen layout & type scale #16637 (@yuinchien)
- Switched font from SF Pro to Inter. #16621 (@yuinchien)
- Updated color for title & refined type sizes. #16623 (@yuinchien)
- Improve
InterleavedBufferAttribute
page. #16818 (@vlaube-de) - Improve
Quaternion
page. #16732, #16731 (@trusktr) - Improve
ShapeUtils
page. #16855 (@qifei) - Improve
CubeCamera
page. #16902 (@vatro) - Improve
BufferGeometry
page. #16905 (@Mugen87) - Fix language switching for examples section. #16680 (@Mugen87)
- Convert browsers to modules. #16851 (@Mugen87)
- Correct
.data
description/typing of data textures. #16896 (@Mugen87) - Minor style improvements. #16910 (@Mugen87)
- Fixed scrollbars. cb12e13, 042ab26 (@mrdoob)
TypeScript
- Fix matcap attribute of
MeshMatcapMaterial
. #16644 (@bitowl) - Fix return type of
TransformControls.attach()
. #16652 (@amiorenstx) - Fix typing issues in
ParametricGeometries
andSMAAShader
. #16660 (@MichaelBuerge) - Add
sizeAttenuation
toSpriteMaterial
typing. #16694 (@closedcontour) - Update d.ts for some optional params. #16677 (@HypnosNova)
- Add missing
CarControls.d.ts
. #16723 (@Mugen87) - Add
Camera.projectionMatrixInverse
to type declarations. #16695 (@Tobi995) - Clean up soft tabs in core. #16737 (@Mugen87)
- Add missing parameters to
Color.d.ts
. #16740 (@trusktr) - Add
SphericalHarmonics3.d.ts
. #16749 (@Temdog007) - Added remaining
LightProbe
files. #16772 (@Mugen87) - Add missing
useGroups
parameter forBufferGeometryUtils.mergeBufferGeometries()
. #16801 (@sherousee) - Fix small errors and omissions in postprocessing d.ts files. #16809 (@Oletus)
- Remove unused
BoundingBoxHelper
type definition. #16832 (@zacaj) - Expose
CubeCamera.clear()
to TS. #16867 (@elalish) - Fix definition of
WebGLRenderer.renderBufferDirect()
. #16879 (@johnshaughnessy)
Examples
- Clean up. #16645, #16654, #16705, #16713, #16714, #16716, #16715, #16712, #16794, #16824, #16860 (@Mugen87, @gero3)
- Fix search. #16736 (@Mugen87)
- Update basis transcoder. #16650 (@donmccurdy)
- Specify output type with
RGBELoader
. #16667 (@WestLangley) - Move to
ConvexObjectBreaker
andGPUComputationRenderer
tojs/misc
. #16697 (@yomboprime) - Convert
Car.js
script to module. #16689 (@looeee) XLoader
can now use the default LoadingManager again. #16793 (@gero3)- Fixed viewport setting in
webgl_multiple_canvases_complex
example. #16830 (@WestLangley) - Simplify
webgl_modifier_subdivision
example and use modules. #16829 (@Mugen87) - Make sure layout looks fine, even when using outdated links. #16633 (@gero3)
- Use
Scene.background
inwebgl_water
example. #16849 (@Mugen87) - Remove old sea3d files and o3dgc lib. #16846 (@sunag)
- Removed
GPUParticleSystem
andwebgl_gpu_particle_system
example. #16844, 687f161 (@WestLangley, @mrdoob) - Catch
xr.supportsSession()
rejection inWebVR
. #16856 (@takahirox) - Use
XR NOT FOUND
string with WebXR API inWebVR
. #16868 (@takahirox) - Rename
DracoExporter
toDRACOExporter
. #16872 (@Mugen87) - Fix initial height of
misc_controls_pointerlock
example. #16874 (@Mugen87) - Improve WebGL2 support of examples. #16886 (@aardgoose)
- Fix
webgl_materials_compile
example. #16888 (@aardgoose) - New revision of
OBJLoader2
andOBJLoader2Parallel
. #16887 (@kaisalmen) - Improved
webvr_paint
example. 92f08cc (@mrdoob) - Fixed
webvr_sculpt
andwebvr_vive_sculpt
example. 1a6ed6b (@mrdoob) - Improbed
webvr_sculpt
example. 6344fd5 (@mrdoob) - JSM: Added module and TS files for more examples code. A complete list of available modules can be found in the docs. #16620, #16630, #16635, #16628, #16640, #16642, #16643, #16646, #16647, #16661, #16664, #16690, #16691, #16692, #16702, #16704, #16706, #16708, #16698, #16722, #16701, #16703, #16724, #16719, #16717, #16727, #16728, #16738, #16744, #16745, #16748, #16750, #16751, #16752, #16760, #16758, #16761, #16775, #16754, #16777, #16786, #16789, #16792, #16795, #16797, #16814, #16834, #16839, #16857, #16862, #16877, #16683 (@Mugen87, @looeee, @yomboprime, @sunag, @soadzoor)
- Ensure HTML examples use modules. #16799, #16804, #16806, #16808, #16810, #16813, #16817, #16823, #16826, #16827, #16865, 838a65f (@Mugen87, @mrdoob)
-
BasisTextureLoader
- Implement mipmap support. #16657 (@zeux)
- Documentation and cleanup. #16675 (@donmccurdy)
- Fix example on iOS. #16686 (@donmccurdy)
-
EXRLoader
- Support
HalfFloatType
output. #16768 (@WestLangley)
- Support
-
GLTFLoader
- Fix U8/U16 skinning weights. #16611 (@zeux)
- Fix handling of normalized animation outputs #16659 (@zeux)
- Honor
use-credentials
crossOrigin setting. #16601 (@mrschofield) - Assign
extras
from the top-level of glTF definition touserData
of the result object. #16735 (@pairote) - Introduce
.setDDSLoader()
. #16858 (@Mugen87)
-
HDRCubeTextureLoader
- Add
setType()
method. #16718 (@WestLangley)
- Add
-
LDrawLoader
- Let use
parse()
. #16598 (@yomboprime) - Implement STEP directive. #16852 (@yomboprime)
- Let use
-
LWOLoader
-
NodeMaterial
-
RGBELoader
- Set encoding based on output type. #16625 (@WestLangley)
- Support
HalfFloatType
output. #16666 (@WestLangley) - Clean up. #16663 (@Mugen87)
-
VRMLLoader
- New implementation. #16726 (@Mugen87)
- Fix parsing of
CoordIndex
when not ending with -1. #16787 (@palortoff) - Add chevrotain as dependency to module version. #16841 (@palortoff)
Editor
- Resolve 404 errors. #16882, #16883 (@Mugen87)
- Make
editor
parameter ofCommand
class mandatory. #16889, #16894 (@Mugen87)
Tests
- Add
Box2
unit tests. #16780 (@gero3) - Add
Box3
unit tests. #16783 (@gero3) - Add
Color
unit tests. #16784 (@gero3) - Add
Euler
unit tests. #16805, #16812 (@gero3) - Add
Line3
unit tests. #16825 (@gero3) - Add
Matrix3
unit tests. #16847 (@gero3) - Add
Math
unit tests. #16848 (@gero3) - Add
Matrix4
unit tests. #16850 (@gero3) - Add
Plane
unit tests. #16859 (@gero3) - Add
Quaternion
unit tests. #16861, #16871, #16885 (@gero3) - Add
FailOnlyReporter
to reduce unit test clutter. #16785 (@gero3) - Ensure example tests use modules. #16864 (@Mugen87)
- Clean up. #16881 (@Mugen87)
Utils