r89
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r88--r89
(529,393 KB, gzip: 133,567 KB)
Source
- Global
- Clean up. #12746 #12745 #12828 #12808 #12863 #12868 (@Mugen87, @dhritzkiv, @jasonChen1982 and @takahirox)
- Curves
- EllipseCurve
- FileLoader
- Use documented way to retrieve
XmlHtttpRespon
. #12860 (@dankellett)
- Use documented way to retrieve
- Group
- Added missing
isGroup
. #12750 (@takahirox)
- Added missing
- ImageBitmapLoader
- ImageUtils
- Loader
- LoaderUtils
- Added
decodeText()
static method and implemented in all loaders. #12654 (@donmccurdy)
- Added
- LoadingManager
- Added chaining to
setURLModifier()
. #12887 (@takahirox)
- Added chaining to
- KeyframeTrack
- Math
- PathPrototype
- ShapeUtils
- VideoTexture
- WebGLRenderer
- Added
powerPreference
parameter to the constructor. #12753 (@luruke) - Support reflection matrices. #12787 (@WestLangley)
- Added
- WebVRManager
Documentation
- Clean up. #12561 #12562 #12573 #12594 #12641 #12660 #12662 #12663 #12664 #12665 #12666 #12667 #12668 #12669 #12670 #12671 #12672 #12673 #12674 #12688 #12711 #12696 #12748 #12805 #12811 #12816 #12817 #12818 #12846 #12840 #12839 #12838 #12833 #12834 #12835 #12836 #12847 #12832 #12876 #12882 #12881 (@looeee, @paulmasson, @JakeDluhy, @donmccurdy, @Kos, @MagnuzBinder, @tmcw, @Mugen87, @duhaime, @harto, @dhritzkiv, @mghini and @marissa27)
- Improved
SpotLightShadow
page. #12448 (@vidartf) - Improved
CanvasRenderer
page. #12576 (@keqingrong) - Improved
CubeTextureLoader
page. #12690 (@WestLangley) - Improved
LoadingManager
page. #12689 (@donmccurdy) - Added
ImageBitmapLoader
page. #12700 (@Mugen87) - Improved
Audio
,AudioAnalyser
,AudioListener
andPositionalAudio
pages. #12773 (@Mugen87) - Added
Browser-support
page. #12796 (@keqingrong) - Improved
InterleavedBuffer
andInterleavedBufferAttribute
pages. #12790 (@Mugen87)
Examples
- Clean up. #12577 #12607 #12624 #12627 #12628 cac00ce 2fa0349 99240d3 #12756 #12755 (@Mugen87, @WestLangley and @mrdoob)
- Improved
webaudio_visualizer
. #12581 (@WestLangley) - Added
misc_animation_groups
example. #12629 (@Mugen87) - Improved
ImageBitmapLoader
. 62a93a1 cb20c47 (@mrdoob) - Added
webgl_morphtargets_sphere
example. #12685 (@donmccurdy) - Updated
OBJLoader2
to2.2.1
. #12726 #12896 #12901 (@kaisalmen) - Removed
webgl_geometry_text_pnltri
example. #12747 (@Mugen87) - Added
renderer.gammaOutput = true
towebgl_loader_gltf
example. #12766 (@donmccurdy) - Improved
webgl_raymarching_reflect
example. #12792 #12793 0e12847 #12801 e2f9a78 b50726a 5af8b45 fcc7e8f (@gam0022, @WestLangley and @mrdoob) - Added
webgl_loader_kmz
example. #12843 (@takahirox) - Modified
webgl_loader_amf
to test zip-compressed file. #12845 (@takahirox) - Improved
webgl_buffergeometry_points_interleaved
page. #12790 (@Mugen87) - Added
EXRLoader
andwebgl_materials_texture_exr
example. #12891 (@richardmonette) - Added
GCodeLoader
andwebgl_loader_gcode
example. #12897 (@tentone)
-
3DSLoader
-
AssimpJSONLoader
-
ColladaLoader
-
DRACOLoader
- Simplify decoder initialization and updated to latest version. #12895 (@donmccurdy)
-
FBXLoader
- Clean up. #12739 (@looeee)
- Fix undefined connection bug in parseAnimations. #12653 (@looeee)
- Support for colors specified as single floats. #12648 (@looeee)
- Parse layered textures. #12694 (@looeee)
- Split monolithic
parseScene
method. #12701 (@looeee) - Refactored
genGeo
method. #12703 (@looeee) - Correctly parse duplicate embedded textures. #12699 (@looeee)
- Support rotated pivots. #12717 (@looeee)
- Refactor
parseAnimation
and remove unused entities from return object. #12710 (@looeee) - Refactor animation and conditional animation parsing. #12729 (@looeee)
- Added warning for unsupported rotation orders. #12411 (@looeee)
- Refactor
parseAnimationCurveNode
, addTake andparseAnimations
methods. #12734 (@looeee) - Moved geometric transforms to
genGeo
method. #12744 (@looeee) - Simplify animation system and support unbaked animations. #12758 (@looeee)
- Minor animation fix and refactor. #12762 (@looeee)
- Simplify skeleton parsing and improve naming. #12829 (@looeee)
-
GLTFExporter
- Export textures as data URIs. #12680 (@donmccurdy)
- Handle .flipY on textures. #12697 (@donmccurdy)
- Use utf-8 encoding for .glb JSON chunk. #12709 (@donmccurdy)
- Support keyframe animation, morph targets, and skinning. #12713 (@donmccurdy)
- Only define byteStride for vertex attributes. #12859 (@donmccurdy)
-
GLTFLoader
- Clean up. #12733 #12738 #12751 #12799 #12879 (@takahirox and @dhritzkiv)
- Consolidated
onError()
usage. #12538 (@takahirox) - Allow alphaTest to be 0. #12565 (@marcatec)
- Replace
for in
loops withfor
loops. #12571 (@marcatec) - Throw unhandled errors. #12687 (@donmccurdy)
- Support sparse accessors. #12596 (@donmccurdy)
- Improved alphaMode support. #12692 (@donmccurdy)
- Fixed Specular-Glosiness material. #12752 (@takahirox)
- Refactored. #12772 (@takahirox)
- Clone materials before adding skinning or morph targets. #12791 (@donmccurdy)
- Export mesh and primitive extras. #12824 (@cnspaha)
- Added callback for when asset is read. #12761 (@cnspaha)
- De-duplicate BufferGeometry. #12718 (@mattdesl)
- Don't set
transparent=true
withalphaMode=MASK
. #12890 (@donmccurdy) - Implement basic
CUBICSPLINE
support. #12885 (@donmccurdy) - Added chaining to
setCrossOrigin()
andsetPath()
. #12887 (@takahirox) - Fix bug in spline vertex copying. #12898 (@donmccurdy)
-
PDBLoader
- Fixed to read
serial
field. #12620 (@kenkiku1021)
- Fixed to read
-
Reflector
- Support any planar geometry. #12631 (@WestLangley)
-
Refractor
- Support any planar geometry. #12631 (@WestLangley)
-
STLLoader
-
Water
-
Water2
-
XLoader
Editor
- Removed object counters. 7ae35ac (@mrdoob)
- Changed default
camera.near
andcamera.far
. 42c156e (@mrdoob) - Using degrees in geometries angle values. 52c4afb (@mrdoob)
- Prevent
Command-Z
from triggering tabs to open/close on Safari. #12604 (@TyLindberg) - Added key short-cuts editing section in
Settings
. #12612 9dbe8d0 d35ce01 (@TyLindberg and @mrdoob) - Fixed broken object delete shortcuts. #12820 (@TyLindberg)
- Added shortcut
f
for focusing on selection. #12874 (@TyLindberg)
Tests
- Organized
PropertyBinding
todo tests. #12765 (@donmccurdy) - Set individual tests as TODO, not modules. #12768 (@donmccurdy)
- Light tests failing because of assert not passed into runStdLightTests. #12779 (@OndrejSpanel)
- Fixed geometry tests. #12781 (@OndrejSpanel)
- Fixed animation tests. #12780 (@OndrejSpanel)
- Fix some unit tests not testing properly. #12778 (@OndrejSpanel)