r85
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r84--r85
(504,432 KB, gzip: 128,245 KB)
- Added
bower.json
back. #10431 (@mrdoob) - Added NPM command to watch and rebuild tests. #10860 (@donmccurdy)
Source
- Global
- Animation/AnimationAction
- Update
_effectiveWeight
even ifenabled
is false. #11033 (@takahirox)
- Update
- Animation/AnimationMixer
- Fix typo in
_removeInactiveAction
. #10707 (@samskivert)
- Fix typo in
- Animation/AnimationUtils
- Workaround for iOS9 bug. #10831 #10834 (@steel1990 and @06wj)
- Animation/PropertyBindings
- More robust
Array
type check inPropertyBindings
. #10626 (@FrozenRiverSnow) - Support for '.' in node names. #10859 (@donmccurdy)
- More robust
- ArrayCamera
- BoxHelper
- BufferGeometry
- BufferGeometryLoader
- Clock
- node.js support. #10732 (@sasha240100)
- First call now returns 0. #10962 (@fernandojsg)
- Curve
- EdgesGeometry
- ExtrudeGeometry
- FileLoader
- Added
setRequestHeader()
. #10708 (@takahirox) - Call
manager.itemEnd()
on error. #11125 (@mrdoob)
- Added
- Geometry
- Fixed
toJSON()
output. #10657 (@gelibolue) - Support non-indexed with groups in
fromBufferGeometry()
. #11141 (@Mugen87)
- Fixed
- Geometries
- ImageLoader
- Ignore
crossOrigin
fordata:
urls. #10769 (@takahirox) - Call
manager.itemEnd()
on error. #11125 (@mrdoob)
- Ignore
- LineLoop
- Matrix3
- Matrix4
- Mesh
- Material
- Added
dithering
parameter. #11076 (@brianchirls, @mrdoob, @WestLangley, @bhouston and @pixelmager)
- Added
- MultiMaterial
- ObjectLoader
- ParametricGeometry
- Polyfills
- RectAreaLightHelper
- Simplified. #11223 (@WestLangley)
- Removed unused variables. #11236 (@Mugen87)
- RectAreaLightShadow
- ShadowMaterial
- Skeleton
- SpotLightShadow
- Sprite
- TextGeometry
- TextureLoader
- Utils
- Vector2
- Vector3
- Vector4
- WebGLRenderer
LineLoop
support. #10643 (@mgreter)- OcclusionRoughnessMetalness map support. #10693 (@bhouston)
- Avoid function memory allocations. #10841 (@jacklehamster)
- Moved attributes code to new
WebGLAttributes
class. 380de1a a55ecbe 7301fa4 (@mrdoob) - Avoid checking
BufferAttribute
needsUpdate
multiple times per frame. c31b30a 0559c99 (@mrdoob) - Moved render lists logic to new
WebGLRenderList
class. 83e9745 1957df7 (@mrdoob) - Renamed
getCurrentRenderTarget()
togetRenderTarget()
. - Added guard for browsers with no
lose_context
extension support. #11055 (@MiiBond) - Added
compile()
method. #10960 (@gero3)
- WebGLRenderer/ShaderChunk
- Optimized LTC Area lights. #11169 (@spidersharma03)
- Cleanup and refactored ReactAreaLight shaders. #11232 (@WestLangley)
- WebGLRenderer/ShaderLib
- Change metalness uniform default value from
0
to0.5
. #11039 (@takahirox)
- Change metalness uniform default value from
- WebGLRenderer/WebGLBufferRenderer
- WebGLRenderer/WebGLProgram
- Allow commenting out #includes. #11041 #11144 (@gero3 and @aardgoose)
- WebGLRenderer/WebGLShadowMap
- WebGLRenderer/WebGLState
- WebGLRenderTarget
- WireframeGeometry
Documentation
- Fixed Helpers docs paths. #10619 (@kevanstannard)
- Fixed error in
.isRectAreaLight
property. #10622 (@looeee) - Update documentation for
SceneUtils.createMultiMaterialObject
. #10623 (@BrianSipple) - Fixed
RectAreaLight
constructor args. #10632 (@kevanstannard) - Updated
Box3
. #10673 (@customlogic) - Fixed control point numbering typo in
Path
. #10655 (@BrianSipple) - Fixed Markdown syntax typo in
Testing-with-NPM
. #10685 (@mattalat) - Fixed typo in AudioListener documentation. #10692 (@jayschwa)
- Improve
ExtrudeGeometry
options descriptions. #10701 (@BrianSipple) - Don't fire hashchange event when typing in filter query. #10535 (@meshulam)
- Changed optional parameter in
BoxHelper
. #10717 (@scganterh) - Fixed typos and syntax errors. #10735 #10737 #10738 #10739 #10740 #10768 #10767 #10772 #10773 #10775 #10783 #10787 #10835 #10837 #10838 #10839 #10840 #10850 #10852 (@m4jing)
- Fixed typo in
FaceNormalsHelper
. #10743 (@TristanVALCKE) - Fixed typo in
Material
. #10757 (@KGoodale13) - Fixed grammar in
CompressedTexture
. #10756 (@KevinFrutiger) - Fixed typo in
Object3D
. #10762 (@tentone) - Fixed
LatheGeometry
. #10779 (@Mugen87) - Changed default values for
RingGeometry
. #10846 (@Mugen87) - Update docs for
AnimationMixer
andGLTFLoader
. #10874 (@donmccurdy) - Improve documentation of
TextGeometry
usage. #10871 (@BrianSipple) - Added Custom Uniforms value update recommendation to
ShaderMaterial
. #10885 (@takahirox) - Documented on metal/rough workflow. #10890 (@donmccurdy)
- Documented
Material
'scustomDepthMaterial
,customDistanceMaterial
anddefines
. #10929 (@pailhead) - Cleaned up
Skeleton
andSkinnedMesh
. #10934 (@Mugen87) - Improved
Animation
pages. #10911 (@jostschmithals) - Improved readability. #10925 (@jostschmithals)
- Corrected link to Blinn-Phong-Shading-Model. #10969 (@mr-easy)
- Documented
ExtrudeBufferGeometry
. #10967 (@gero3) - Fixed typos. #10973 #10989 (@vivensio)
- Documented
Box3
's.expandByObject()
method. #10998 (@WestLangley) ExtrudeBufferGeometry
clean up. #11007 (@Mugen87)- Corrected wrong information about
camera.getWorldDirection()
. #11025 (@jostschmithals) - Prevent the browser from flooding the DOM with empty tags. #11047 (@jostschmithals)
- Fixed
Curve
documentation. #11062 (@Mugen87) - Fixed links in
Matrix4
. #11067 (@jostschmithals) - Grammar/style copy-edit, a few minor clarifications. #11061 (@BrianMacIntosh)
- Refactored documentation system. #11078 #11104 (@jostschmithals)
- Improved
Object3D.normalMatrix
documentation. #11102 (@jostschmithals) AnimationAction.isRunning
clarification. #11113 (@jostschmithals)- Remove attributes property from constructor parameters in
ShaderMaterial
example. #11159 (@jostschmithals) - Shortened webgl check article title. #11154 (@jostschmithals)
- Fixed scope issues in
How-to-update-things
article. #11186 (@Nipher) - Removed references to
MultiMaterial
. #11187 (@jostschmithals) - Corrected typo in
Matrix4.extractBasis
. #11202 (@EliasHasle) - Fixed navigation panel responsiveness. #11208 (@jostschmithals)
Matrix4.multiplyToArray()
clean up. #11206 (@Mugen87)- Update
Useful-links
article. #11221 (@Mugen87) - Fixed error in
LOD
example. #11228 (@morz)
Examples
- Fixed
WaterShader
fog. #10614 (@gelibolue) - Improved
GLTFLoader
. #10625 (@takahirox) - Improved
webvr_vive_paint
example. #10635 (@customlogic) FBXLoader2
bug fixes. #10659 (@Kyle-Larson)- Added
LineLoop
support toGLTFLoader
. #10643 (@mgreter) - Check for lights when loading common materials extension in
GLTFLoader
. #10620 (@yrns) - Modified
VREffect
to use camera scale and addedwebvr_vive_camerarig
example. #10667 (@fernandojsg) - Added
DaydreamController
andwebvr_daydream
example. #10679 (@Mugen87) - Fixed Non-Indexed Deformers in
FBXLoader2
. #10699 (@Kyle-Larson) - Fixed
misc_animation_keys
example. #10713 (@Mugen87) - Fixed NormalsIndex and Material Mapping in
FBXLoader2
. #10716 (@Kyle-Larson) - Fixed use of k without definition. #10710 (@TrevorDev)
- Support for PreRotation in
FBXLoader2
. #10721 #10730 (@Kyle-Larson) - Added
webgl_simple_gi
example. 7d18b7d (@mrdoob) - Added
Bump
andEmissiveColor
support inFBXLoader2
. #10728 (@Kyle-Larson) - Fixed
GLTFLoader
sampler default values. #10727 (@stevenvergenz) - Fixed
StereoEffect
's 'setEyeSeparation()
. #10446 (@dpotekhin) - Fixed
3MFLoader
. #10753 (@technohippy) - Only pass used material properties in
GLTFLoader
. #10755 #10771 (@stevenvergenz, @takahirox) - Added Periodic form for NURBS in
FBXLoader2
. #10758 (@LouisBrunner) - Improved
DragControls
. #10788 (@Mugen87) - Added vertex colors support to
FBXLoader2
. #10781 #10790 (@jonobr1, @mrdoob, @Kyle-Larson) - Fixed
SEA3DLoader
'sMatrix4
usage. #10777 #10802 (@foijord and @sunag) - Fixed
webgl_depth_texture
example. #10672 (@mrdoob) - Made
CombinedCamera
have the same interfaces as perpective/orthographic cameras. #10745 (@godlzr) - Fixed keypress handling in
webgl_loader_pcd
. #8140 (@baopham) - Created
GLTF2Loader
fork. #10816 (@donmccurdy) - Removed
MultiMaterial
usage fromOutlineEffect
. #10826 (@takahirox) - Removed
MultiMaterial
usage fromMMDLoader
. #10827 (@takahirox) - Removed
MultiMaterial
usage fromWebGLDeferredRenderer
. #10830 (@takahirox) - Fixed typo in
_each
dependency resolution inGLTFLoader
andGLTF2Loader
. #10832 (@donmccurdy) - Fixed support for URLs starting with "//" in
GLTFLoader
andGLTF2Loader
. #10828 (@06wj) - Update node and mesh loading in
GLTF2Loader
. #10833 (@donmccurdy) - Enable accessing accessors[0] in
GLTF2Loader
for indices, textures, and skin. #10847 (@takahirox) - Added
saveState()
method toOrbitControls
. #10861 (@WestLangley) - Removed uneeded camera and scene matrix update in
GLTFLoader
andGLTF2Loader
. #10851 (@06wj) BufferGeometry
-based Lines vertex colors support inProjector
. 268ba4d (@mrdoob)- Added
Points
support toCanvasRenderer
. #5372 (@mrdoob) - New BufferGeometry-based
DecalGeometry
. #10876 #10881 #10889 (@Mugen87) - Added
webgl_geometry_text_shapes
example. #10822 (@koober) - Implemented
onBeforeRender()
toMirror
. f3454f5 (@mrdoob) - Copy matrix in case
matrixAutoUpdate
isn't used inColladaLoader2
. #10880 (@jbaicoianu) - Added dat.gui to
webgl_geometry_spline_editor
. #10894 (@Mugen87) - Improved
STLLoader
binary check. #10888 (@dnewman-polar3d) - Removed
MultiMaterial
usage from examples. #10899 (@aardgoose) - Improved
webgl_interactive_raycasting_points
example. #10904 (@efokschaner) - Return
scenes[0]
as scene if default scene is not specified inGLTF(2)Loader
. #10938 (@takahirox) - Refactored
misc_animation_keys
. #10939 (@Mugen87) - Support new
Mirror
inwebgl_mirror_nodes
. #10898 #10951 (@sunag) - Added PBR related material primitives into
GLTF2Loader
. #10943 (@takahirox) - Exposed
SkyShader
inSky
. #10950 (@gero3) - Added
BufferGeometry
support toSTLExporter
. #10952 (@tentone) - More robust
Gamepad
check inDaydreamController
. 88709ef (@mrdoob) - Fixed
angularVelocity
handling inDaydreamController
. #10971 (@Mugen87) - Added
WebVRCamera
. #10927 (@mrdoob) - Added
XLoader
(DirectX format). #10955 #11192 (@adrs2002) - Added
webgl_loader_gltf2
example. #10972 (@donmccurdy) - Update binary parsing (.glb) for glTF 2.0. #10964 (@donmccurdy)
- Added
glTF-Binary/BoomBox.glb
towebgl_loader_gltf2
example list. #10990 #11088 (@donmccurdy) - New
ConvexGeometry
based onQuickHull
. #10987 (@Mugen87) - Added
DracoLoader
. #10879 #11081 (@edsilv and @donmccurdy) - Account for sprite rotation when computing clear area in
CanvasRenderer
. #10999 (@WestLangley) - Fixed
FBXLoader2
animation bug. #11004 (@arodic) - Remove usage of
THREE.ImageUtils.loadTexture
inAssimpLoader
. #11006 (@gero3) - Improved quality of RGBE HDR image interpolation in
PMREM
. #11008 (@bhouston) - Implemented transferable object in
CTMLoader
. #11009 (@dlabz) - Added IE10 and IE11 suport to
CSS3DRenderer
. #10988 (@yomotsu) - Added
webgl_materials_texture_canvas
example. #11013 (@2pha) - Improved
FBXLoader2
memory usage. 16b2f2c 1ab91a6 79321a6 eeb7000 0461d6d 8b04814 30da0be 284f960 6cd8973 (@mrdoob) - Use 2D noise in
webgl_gpgpu_water
example. #11021 (@peteroupc) - Improved header parsing in
VTKLoader
. #11045 (@andreyyudin) - Added dat.gui to
webgl_geometry_extrude_splines
. #11059 (@Mugen87) - Added
OBJLoader2
andWWOBJLoader2
. #10631 #11200 (@kaisalmen) - Expose material names in
OBJExporter
. #11063 (@makc) - Proper geometry disposal in
webgl_geometry_extrude_splines
. #11064 (@WestLangley) - Fixed
DragControls
for containers not at (0,0). #11082 (@angelowang) - Remove
resetPose
functionality fromVRControls
. #11087 (@mkeblx) - Clean up. #11095 #11111 #11181 #11210 (@Mugen87)
- Removed
MorphAnimation
. #11097 (@Mugen87) - Simplified
webgl_loader_json_blender
. #11109 (@Mugen87) - Fixed
webvr_rollercoaster
scale. bb485af (@mrdoob) - Added WebVR origin-trial token. #11122 #11179 (@Mugen87)
- Fixed joints handling in
ColladaLoader
. #11121 (@Fallstream) - Removed
SceneLoader
. #11123 #11178 (@Mugen87) - Added second UV channel support in
GLTF(2)Loader
. #11127 #11139 (@stevenvergenz and @donmccurdy) - Refactored
WebVR
helper. 65697bb 6bf939f a4e2230 (@mrdoob) - Added IBL maps to
webgl_materials_variations_physical
andwebgl_materials_variations_standard
. #11137 (@bhouston) - Refactored
GPUParticleSystem
. #11151 #11195 (@Mugen87) - Refactored
webgl_animation_skinning_blending
. #11152 #11172 (@jostschmithals) - Removed unused lines from
webgl_postprocessing_outline
. #11170 (@yomotsu) - Added vertex colors support to
GLTF2Loader
. #11168 (@donmccurdy) OrbitControls
clean up. #11174 (@WestLangley)- Fixed operator precedence bug in
WWOBJLoader2
. #11182 (@evanw) - Fixed
AdaptiveToneMappingPass
on dark scenes. #11150 (@mgreter) - Cleaned up
webgl_animation_scene
. #11190 (@jostschmithals) - Added
webgl_buffergeometry_instancing2
example. 91c0d21 (@mrdoob) - Fixed
webgl_interactive_instances_gpu
example. #11203 (@arose) - Fixed
webvr_rollercoaster
going backwards in vr. #11218 (@Mugen87) - Ported
webgl_loaders_collada_keyframe
towebgl_animation_keyframes_json
. #11235 (@jostschmithals)
Editor
- Replaced
FBXLoader
withFBXLoader2
. f6d99ad (@mrdoob) - Added shaders example. #10800 (@mrdoob)
- Initial electron version. #10944 (@gero3)
- Disallow scripts in main camera. #10953 (@gero3)
- Fixed code suggestions disappearing too quickly. #11048 (@Mugen87)
- Clear codemirror history after
setValue()
. 7551bbc (@mrdoob) - Added minimal multi-material support. #10931 (@mrdoob)
- Fixed warnings upon selecting Camera on empty editor. #11136 (@Mugen87)
Exporters
- Blender
- Support
ObjectLoader
with skinned mesh. #10621 (@phfatmonkey) - Export doubleSided attribute. #10581 (@SebasDC)
- Avoid using
MorphAnimMesh
. #11098 (@Mugen87) - Fixed material opacity exporting. #11167 (@gaoqi8985)
- Fixed exporter tests. #11211 (@alcornwill)
- Dynamically disable unneeded options. #11212 (@alcornwill)
- Support
Tests
- Refactored tests setup. #10650 (@TristanVALCKE)
- Fix tests for
Camera
,Clock
,InstancedBufferGeometry
andInterleavedBuffer
. #10868 (@donmccurdy) - Use quatEquals on quaternions. #10905 (@efokschaner)
- Fixed comparison with -0 in
Math.js
. #11183 (@evanw)