Releases: mrdoob/three.js
r104
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r103--r104
https://github.com/mrdoob/three.js/milestone/17?closed=1
(571,560 KB, gzip: 142,324 KB)
Source
- Global
- BufferGeometry
- Fixed
.computeBoundingSphere()
. #16237 (@takahirox) - Clarify loop end condition in
.merge()
. #15827 (@takahirox)
- Fixed
- CubeCamera
- ExtrudeGeometry
- Allow bevel to be subtracted. #14233 (@ffdybuster)
- LightProbe
- Added new class. #16191 (@WestLangley)
- Modulate irradiance by probe color. #16260 (@WestLangley)
- Added
AmbientLightProbe
andHemisphereLightProbe
. #16298 (@WestLangley) - Clean up
HemisphereLightProbe
. #16320 (@WestLangley)
- LightProbeHelper
- Added new class. #16275 (@WestLangley)
- Remove string literals for IE11. #16296 (@WestLangley)
- LOD
- Add missing
.isLOD
. #16200 (@takahirox) - Make
.addLevel()
chainable. #16214 (@takahirox)
- Add missing
- MaterialLoader
- Added support for
matcap
. #16181 (@Temdog007)
- Added support for
- Object3D
- Make
.applyMatrix()
more robust. #16250 (@WestLangley)
- Make
- SphericalHarmonics3
- Added new class. #16187 (@WestLangley)
- Added
.fromArray()
and.toArray()
. #16262 (@mrdoob)
- TypeScript
WebGLRenderer.getDrawingBufferSize()
now receivesVector2
and returnsVector2
. #16085 (@fms-cat)- Add missing typescript declaration of
Vector2.cross()
. #16092 (@yaoyao-cn) - Update docs and type definitions for
WebGLRenderer
related to RenderTarget. #16086 (@fms-cat) - Improve
WebGLRenderLists.d.ts
. #16083 (@fms-cat) - Add
isScheduled
toAnimationAction.d.ts
. #16125 (@errorx666) - Removal of the wrongly put
@deprecated
annotation. #16131(@Zielon) - Added remaining material definitions. #16163 (@Mugen87)
- Added
normalMapType
to materials. #16168 (@Mugen87) - Update types to match
@types/three
. #16216 (@Methuselah96) - Improved
WebGLRenderer.d.ts
. #16286, #16300 (@Mugen87, @0b01001101) - Update
WebGLState.d.ts
. #16310 (@sttz) - Add
isLight
property toLight.d.ts
. #16313 (@kohlmannj)
- Vector2/Vector3
- WebGLRenderer
- Fix regression when creating VR/XR manager. #16166 (@Sunstradamus)
- Added support for light probes. #16223 (@WestLangley)
- Added mechanism to opt-out from shader compiler error checking. #16269 (@Usnul)
- Copy color to uniforms value. #15467 (@takahirox)
Documentation
- Clean up. #16198 (@agentwaj)
- Improved
How-to-dispose-of-objects
page. #16124 (@Mugen87) - Improved
MeshNormalMaterial
page. #16169 (@Mugen87) - Improved
QuickHull
page. #16285 (@Mugen87) - Added link to
.customDistanceMaterial
. #16162 (@Mugen87) - Added note about
Texture.flipY
/premultiplyAlpha
withImageBitmap
. #16150 (@takahirox) - Corrected definition of
Texture.premultiplyAlpha
. #16164 (@WestLangley) - Added
MeshDistanceMaterial
page. #16195 (@Mugen87) - Added
MeshMatcapMaterial
page. #16177 (@Mugen87) - Improved material browser. #16205 (@Mugen87)
- Add
roughnessMap
to material browser. #16208 (@Mugen87) - Added
MeshToonMaterial
to material browser. #16255 (@Mugen87) - Added note about importable examples. #16306 (@Mugen87)
Examples
- Clean up. #16308, e6ffb46, 3135ab0 (@linbingquan, @mrdoob)
- Fix tennis balls in
webgl_gpgpu_water
example. #16098 (@yomboprime) - Update Ammo.js to current version. #16100 (@yomboprime)
- Remove outdated type definitions in uniforms. #16111 (@WestLangley)
- Clean up
webgl_animation_multiple
example. #16106 (@takahirox) webgl_materials_matcap
example: specify encoding in drag-n-drop. #16112 (@WestLangley)- Introduced new typings for
JSM
modules. #16149 (@asutekku) - Remove unused uniform from
webgl_custom_attributes_points
examples. #16119 (@looeee) - Fix warnings in
SEA3D
andNodeMaterial
examples. #16231 (@sunag) - Fix
webgl_materials_envmaps_parallax
example. #16230 (@sneha-belkhale) - Improved
webgl_geometry_colors_lookuptable
example. #16235 (@Temdog007) - Make
OutlineEffect
VR compatible. #16247 (@takahirox) - Improve
OrbitControls.d.ts
. #16226 (@webprofusion-chrisc) - Use WebGL2 in
webgl2_loader_gltf
example. #16304 (@Mugen87) - Add modularized
STLLoader
. #16189 (@haafoo) - Added
webgl_postprocessing_unreal_bloom_selective
. #16127, 2a174cf (@Temdog007, (@mrdoob) - Simplify
webgl_lightprobe
. a2bb5c1 (@mrdoob) - Improved
webgl_trails
example. 58b9580 (@mrdoob) - Improved visual quality of
webgl_loader_gltf
examples. 1ecb2d0 (@mrdoob)
-
CSS2DRenderer
- Clean up. 117310e (@mrdoob)
- Ensure invisible
CSS2DObject
s are not rendered. #16314 (@callmegaga)
-
GLTFExporter
- Clean up. #16268 (@takahirox)
- Fix export of multi-material meshes. #16265, #16272, #16267 (@Mugen87, @takahirox)
-
GLTFLoader
- Clean up. #16172 (@takahirox)
- Fixed
DDSExtension
. #16167 (@takahirox)
-
KTXLoader
- Fix bug in mipmap handling. #16088 (@John-DeCorato-HZ, @Mugen87)
-
LDrawLoader
- Add back face culling extension support. #16183 (@gkjohnson)
- Fix stack overflow exceptions. #16245 (@gkjohnson)
-
LWOLoader
-
MMDLoader
- Use
NearestFilter
forgradientMap
. #16179 (@takahirox)
- Use
-
MMDPhysics
- Normalization is needed after quaternion multiply. #15335 (@panxinmiao)
- Fix
._updateBonePosition()
. #16178 (@takahirox) - Remove redundant renormalization and add comment. #16207 (@takahirox)
-
PointerLockControls
- Refactoring. #16171 (@WestLangley)
-
QuickHull
-
SVGLoader
-
TransformControls
-
VRMLLoader
Editor
- Clean up. #16151, #16239, #16279, b10e75c (@linbingquan, @mrdoob)
- Add bounding sphere check. #16120 (@Temdog007)
- Added more
zh
strings for menubar and sidebar. #16134, #16246, #16280 (@linbingquan) - Clear name and user data of scene. #16157 (@Temdog007)
- Ensure camera controls is enabled after object removal. #16138 (@Temdog007)
- Fix material change detection. #16174 (@Temdog007)
- Add
MeshToonMaterial
. #16175 (@Temdog007) - Add
gl_Position
as a keyword. #16185 (@Temdog007) - Add
RawShaderMaterial
. #16184 (@Temdog007) - Add
MeshMatcapMaterial
. #16182 (@Temdog007) - Prevent error when double clicking editor's camera. #16190 (@Temdog007)
- Added
ShadowMaterial
. #16202 (@Temdog007) - Add
DepthPacking
parameter. #16186 (@Temdog007) - Add
OcthedronGeometry
. #16242 (@Temdog007) - Add
TetrahedronGeometry
. #16241 (@Temdog007) - Add
RingGeometry
. #16243 (@Temdog007) - Add
OrthographicCamera
. #16244 (@Temdog007) - Convert textures to sRGB encoding. #16148 (@Temdog007)
- Fix workaround when exporting. #16290 (@Maxsior)
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)
r102
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r101--r102
https://github.com/mrdoob/three.js/milestone/15?closed=1
(562,565 KB, gzip: 139,951 KB)
Source
- Global
- Remove hidden character. #15685 (@vasturiano)
- Clean up
rollup.config.js
. #15687 (@Mugen87) - Clean up shader chunks. #15727 (@linbingquan)
- Add
types
property to indicate the main TS declaration file. #15700 (@hujiulong) - Publish
examples/jsm
folder in npm package. #15697 (@linbingquan) - Clarify availability of renderers in
README.md
. #15855 (@paulmasson) - Export all types from all type definition files. #15823, #15873 (@Methuselah96)
- Update TypeScript definition typings to match
@types/three
. #15861 (@Methuselah96)
- BufferGeometry
- Add support for serialization
.morphAttributes
. #11596 (@takahirox) - Fix and clean up serialization. #15809 (@takahirox)
- Add support for serialization
- CubeTexture
- DataTexture3D
- Add support for
TEXTURE_WRAP_R
. #15756 (@DavidPeicho)
- Add support for
- Fog/FogExp2
- ImageBitmapLoader
- PositionalAudio
- Material
- Introduce
.vertexTangents
to support stored vertex tangent attribute inglTF
assets. #15749 (@donmccurdy) - Only create varyings for vertex tangents if necessary. #15837 (@Mugen87)
- Introduce
- Object3D
- Fix definition of
.updateMatrixWorld()
in TS file. #15781 (@skymakerolof)
- Fix definition of
- ShaderMaterial
- Introduce
glsl
comment tag. #15688 (@linbingquan)
- Introduce
- TubeGeometry
- Add support for serialization. #15789 (@Temdog007)
- WebGLRenderer
- Fixed erroneous bit operation. #15702 (@Usnul)
- Deprecate
renderTarget
andforceClear
parameter from.render()
. #15571, #15769, #15775, #15778, #15783, #15784, #15794, #15812, #15838, #15869, #15830, 572ace7, 4de4c44 (@maccesch, @WestLangley, @Mugen87, @takahirox, @mrdoob) - Make
.setViewport()
,.setScissor()
relative to lower-left corner. #13593 (@WestLangley) - Require target
Vector2
in.getSize()
and.getDrawingBufferSize()
. #15721 (@WestLangley) - Require target
Vector4
in.getCurrentViewport()
. #15730 (@WestLangley) - Add
.getViewport()
method. #15786 (@WestLangley) - Throw error when unable to create GL context. #15803 (@drpritch)
- Support
Vector4
argument in.setViewport()
. #15796 (@WestLangley) - Add
.getScissor()
and.getScissorTest()
methods. #15806 (@WestLangley) - Support
Vector4
arg in.setScissor()
. #15807 (@WestLangley) - Add
activeCubeFace
/activeMipMapLevel
to.setRenderTarget()
. #15808, #15817, #15877 (@Mugen87, @manthrax) - Fix wrong face cull for shadows of freshly inserted mirrored objects. #15825 (@OndrejSpanel)
- WebGLRenderLists
- WebGLTextures
- WebVRManager
- WebXRManager
Documentation
- Clean up. #15880 (@Mugen87)
- Add
ACESFilmicToneMapping
toRenderer
page. #15720 (@jsantell) - Add
How to dispose of objects
guide. #15719 (@Mugen87) - Add a
ColladaExporter
link to the docs. #15829 (@gkjohnson) - Add Cinema 4D to glTF exporter list. #15874 (@donmccurdy)
- Document
WebGLRenderer.readRenderTargetPixels()
restrictions. #15782 (@aardgoose) - Improve Chinese translation. #15802, #15842 (@gogoend)
- Improve
PerspectiveCamera
page. #15833 (@makc) - Improve
ShapePath
page. #15765 (@TN1ck)
Examples
- Clean up. #15705, #15723, #15795, #15820, #15818, #15843, #15854, #15863 638d04e, 679d564, 6a1e417, 6381384, ac9841f, a3c1c73 (@Mugen87, @linbingquan, @hujiulong, @paulmasson, @mrdoob)
- Fix transparency issue in
webaudio_orientation
. #15747 (@Mugen87) - Fix
webgl_material_video
for Chrome and Safari. #15761 (@Mugen87) - Fix
dat.gui
slider inanimation_skinning_morph
example. #15822 (@takahirox) - Fix wrong terminology in
webgl_loader_pcd
. #15826 (@Mugen87) - Added per-blob color support to
MarchingCubes
. #15799 (@chaht01) - Skip unnecessary matrices update in
performance_static
example. #15862 (@takahirox) - Fixed
webgl_materials_envmaps_hdr
usingRGBM16
cubetexture. cd300eb (@mrdoob) - Use
PMREMGenerator
in more examples. bcd4bec, 0df6685 (@mrdoob) - Use
RGBM16
format inwebgl_materials_standard
example. 8094686 (@mrdoob) - Simplified
webgl_marchingcubes
example. 1457d2a (@mrdoob) - Fix
onWindowResize()
inwebgl_postprocessing_dof2
example. #15867 (@Mugen87) - Convert vertex colors to linear in ROME
glTF
models. #15876 (@donmccurdy)
-
AssimpJSONLoader
-
CubemapGenerator
-
FBXLoader
-
GLTFExporter
- Fix camera
yfov
value handling. #15729 (@mtyaka) - Warn when exporting
Geometry
. #15707 (@donmccurdy) - Clean up. #15740 (@linbingquan)
- Fix camera
-
GLTFLoader
- Use
RGBFormat
foraoMap
,emissiveMap
,metalnessMap
,normalMap
androughnessMap
. #15758, 52f29af (@mrdoob) - Minor clean up. #15815 (@takahirox)
- Use object as cache instead of array. #15431 (@rpadovani)
- Use
-
OrbitControls
-
SVGLoader
- Fix
Z
command, return to origin of path. #15759 (@yomboprime)
- Fix
-
TGALoader
-
TransformControls
-
VRMLLoader
-
WebGLDeferredRenderer
Editor
- Clean up. #15709, 0d695cc (@linbingquan, @mrdoob)
- Added animation support. #15698, cbb87c8, 19bafeb, 75cffe9 (@Temdog007, @mrdoob)
- Added support for
TubeGeometry
. #15772, #15816 (@Temdog007) - Added animation support for FBX files. #15845 (@mrdoob)
- Added animation support for DAE files. #15846 (@mrdoob)
- Removed instanceof usage. #15847 (@mrdoob)
- Removed
gammaInput
andgammaOutput
settings and setgammaOutput
totrue
by default. #15858 (@mrdoob)
r101
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r100--r101
https://github.com/mrdoob/three.js/milestone/14?closed=1
(557,405 KB, gzip: 138,708 KB)
Source
- Global
- Added script to generate modules out of
example/js
files. #15518 (@mrdoob) - Added rollup config to module examples to
UMD
. #15526, #15543 (@gkjohnson) - Fix usage of
THREE
namespace. #15580 (@Mugen87) - Contribute TypeScript type files. #15597, #15669 (@LuWangThreekit)
- Update TypeScript definition typings to match
@types/three
. #15659 (@Methuselah96)
- Added script to generate modules out of
- Audio
- BufferGeometry
- CubeCamera
- Mesh
- MeshLambertMaterial
- Improve shadows with
HemisphereLight
. #15557 (@bunnybones1)
- Improve shadows with
- ObjectLoader
- Scene
- ShaderMaterial
- WebGLBackground
- WebGLRenderer
- Added ability to sort groups by
.renderOrder
. #15484 (@Mugen87) - Added support for Multisampled Renderbuffers. #15541 (@Mugen87)
- Fix conversion errors in
encodings_pars_fragment
. #15627 (@AngusLang) - Restore energy loss in indirect (IBL) specular lighting via multiscattering approximation. #15644, #15673 (@jsantell)
- Added ability to sort groups by
- WebGLShadowMap
- WebGLTextures
Documentation
- Clean up.#15495, #15532, #15538, #15598, #15606, #15632 (@brettkromkamp, @aardgoose, @linbingquan, @Mugen87, @JimmieMax)
- Enhanced Chinese translation. #15624, #15645 (@gogoend)
- Move material browser to
BufferGeometry
. #15497 (@Mugen87) - Ensure geometry browser uses
BufferGeometry
. #15504, #15542 (@Mugen87) - Improve
Object3D
page. #15533 (@aardgoose) - Add note on physically correct lights in
GLTFLoader
. #15578 (@donmccurdy) - Added link to tool for syntax highlighting glsl files. #15522 (@linbingquan)
- Easier language switching. #15503 (@HypnosNova)
Examples
- Clean up. #15524, #15481, #15558, #15594, #15657, 654ef9b (@linbingquan, @Mugen87, @atul-mourya, @mrdoob)
- Add window resize support to
webgl_postprocessing_godrays
example. #15499 (@Oletus) - Always use strings for uniform names in examples. #15500 (@Oletus)
- Add
BufferGeometry
index optimization and memory functions. #14116, #15569 (@gkjohnson) - Fix code style and bugs in module examples. #15572 (@gkjohnson)
- Enhance
svg_sandbox
example with file showcase. #15536 (@Mugen87) - Improve
webgl_postprocessing_fxaa
example. #15559, #15636 (@Mugen87) - Make
SSAOPass
WebGL 2 compatible. #15626 (@Mugen87) - Rename
delta
todeltaTime
in postprocessing passes. #15655 (@Oletus) - Lower kernel size of
SSAOShader
from 64 to 32. #15667 (@Mugen87) - Fixed
dat.gui
sliders in envmaps_* examples. #15664, a7bd554 (@mrdoob) - Fixed pixelated backgrounds when using HDR cubemaps. #15665 (@mrdoob)
- Update
ArrayCamera
to subcamera.viewport API. 7a4c962 (@mrdoob) - Use
MeshLambertMaterial
inwebgl_lights_hemisphere
ground. 14bdd6f (@mrdoob) - Fixed
webgl_buffergeometry_instancing_lambert
example. 595dc52 (@mrdoob)
-
ColladaExporter
- Added warning when exporting
MeshBasicMaterial
with a map. #15527 (@gkjohnson)
- Added warning when exporting
-
FirstPersonControls
-
GLTFExporter
- Implement KHR_texture_transform. #15507 (@donmccurdy)
- Implement KHR_lights_punctual. #15519 (@donmccurdy)
- Fix bug with var scope. #15551 (@donmccurdy)
- Omit
.range=0
. #15642 (@donmccurdy) - Support individual morph target animation. #15011 (@donmccurdy)
- aoMap's
texCoord
should be 1. #15634 (@06wj)
-
GLTFLoader
- Reset spotlight default position. #15565 (@donmccurdy)
-
NodeMaterial
-
OrbitControls
-
Reflector
-
SVGRenderer
- Fix clipping of
SVGObject
s. #15511, #15676 (@Mugen87, @WestLangley)
- Fix clipping of
-
TransformControls
Editor
r100
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r99--r100
https://github.com/mrdoob/three.js/milestone/13?closed=1
(552,149 KB, gzip: 137,473 KB)
Source
- Global
- Mesh
- PositionalAudio
- RectAreaLight
- Face local neg-z direction (adopt glTF convention). #14935 (@WestLangley)
- ShaderMaterial
- Make
.toJSON()
more robust. #15447 (@takahirox) - Ensure
.extensions
are serialized/deserialized. #15465 (@takahirox)
- Make
- ShapeGeometry
- Texture
- Added missing properties to serialization/deserialization. #13915 (@takahirox)
Documentation
- Clean up. #15355, #15375, #15386, #15398, #15401, #15412 (@Mugen87, @luhaopeng, @moraxy, @hauvubhtech)
- Enhanced Chinese translation. #15381, #15378, #15439, #15474 (@luhaopeng, @gogoend)
- Improve
BoxGeometry
page. #15125 (@rexdk) - Improve
BoxBufferGeometry
page. #15129 (@rexdk) - Improved
Loading 3D models
page. #15409 (@donmccurdy) - Improved
SkinnedMesh
page. #15365 (@Mugen87) - Improved
Useful Links
page. #15455 (@Mugen87) - Fix edit button. #15399 (@Mugen87)
- Change place of
.customDepthMaterial
and.customDistanceMaterial
. #15487 (@Mugen87)
Examples
- Clean up. #15392, #15452, #15458, b789747 (@Mugen87, @mrdoob)
- Fix
webaudio_orientation
example for Chrome mobile. #15353 (@Mugen87) - Ensure geometries are disposed in
webgl_loader_nrrd
example. #15379 (@Mugen87) - Moved
RaytracingWorker
toBufferGeometry
. #15372 (@Mugen87) - Removed
Octree
. #15451 (@Mugen87) - Simplify
webgl_loader_fbx
example. #15489 (@Mugen87) - Added
LDrawLoader
andwebgl_loader_ldraw
example. #15453 (@yomboprime) - Added
webgl_fire
fire and smoke example. #15366 (@mikepiecuch) - Added
webgl_lightningstrike
example. #15397 (@yomboprime) - Improved
webgl_interactive_raycasting_points
example. 76d0e23 (@mrdoob) - Improved
webgl_loader_ldraw
example. 043a5c8, a6e5353 (@mrdoob) - Improved
misc_exporter_collada
example. 3cafa88 (@mrdoob)
-
ColladaExporter
- Optimize material export and added
misc_exporter_collada
example. #15469 (@clintonman)
- Optimize material export and added
-
ColladaLoader
- Support bump and ambient material techniques, added uv2 layer. #15391 (@jbaicoianu)
-
CSS3DRenderer
-
EditorControls
-
FBXLoader
-
GLTFExporter
- Fix omitted wrapS/wrapT sampler modes. #15380 (@donmccurdy)
- Instance meshes and attributes. #15348 (@donmccurdy)
-
GLTFLoader
- Catch promise rejections in
GLTFParser.loadNode()
. #15350 (@thecharhan) - Support per-node morph weights on instanced meshes. #15338 (@donmccurdy)
- Fix bug with certain interleaved attributes. #15438 (@donmccurdy)
- Catch promise rejections in
-
KTXLoader
-
Lensflares
-
MMDPhysics
- Update bone position directly with the rigid body. #15368 (@panxinmiao)
-
MTLLoader
- Added support for emissive / emissiveMap. #15367 (@jbaicoianu)
- Correctly parse emissive coefficient. #15432 (@ConradP)
-
NodeMaterial
- Add
clamp()
function. #15404 (@donmccurdy)
- Add
-
SoftwareRenderer
-
SVGLoader
-
XLoader
Editor
- Fixed shadow casting bug. #15430 (@linbingquan)
r99
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r98--r99
https://github.com/mrdoob/three.js/milestone/12?closed=1
(551,410 KB, gzip: 137,286 KB)
Source
- Global
- Audio
- BufferGeometryLoader
- DirectionalLightHelper
- Correctly orient helper to face light target. #15200 (@WestLangley)
- ImageUtils
- JSONLoader
- MeshMatcapMaterial
- Explicitly define namespace. #15265 (@WestLangley)
- No longer requiring a matcap. #15313 (@mrdoob)
- ObjectLoader
- SkinnedMesh
- SpotLightHelper
- Correctly orient helper to face light target. #15320 (@WestLangley)
- TextureLoader
- UniformsUtils
- VideoTexture
- WebGLBackground
- Simplify vertex shader. #15184 (@WestLangley)
- Support decoding, tone mapping, and output encoding. #15185 (@WestLangley)
- Enable code injection. #15187 (@WestLangley)
- Recompile material when the background changes. #15299 (@jsantell)
- Render background first. #15329 (@mrdoob)
- WebGLRenderer
- Support decoding, tone mapping, and output encoding for cube shader. #15186 (@WestLangley)
- Support decoding, tonemapping, and output encoding for equirect shader. #15328 (@WestLangley)
- Treat texture of cube shader as a map, not an environment map. #15237 (@WestLangley)
- Converted
.glsl
files to.glsl.js
. #15280 (@mrdoob) - Added ACES Filmic tone mapping. #15277 (@FishOrBear)
- WebGLRenderLists
- Optimize hashing. #15183 (@oguzeroglu)
- WebGLRenderTarget
- Set
texture.generateMipmaps
tofalse
by default. #15236 (@WestLangley)
- Set
Documentation
- Clean up. #15189, #15191, #15207, #15205, #15226, #15315 (@Mugen87, @WestLangley, @andreasplesch, @Anaranjo97)
- Enhanced Chinese translation. #15190, #15333 (@nicholas-yangding)
- Improved
BufferGeometry
page.#15192 (@WestLangley) - Improved
ObjectLoader
page. #15251 (@Mugen87) - Improved
Scene
page. #15326 (@jsantell) - Improved
How-to-run-things-locally
guide. #15334 (@greggman)
Examples
- Clean up. #15297 (@Mugen87)
- Optimize GPU picking
webgl_interactive_cubes_gpu
example. #15194 (@greggman) - Fix parameters of event listeners in
misc_boxselection
example. #15199 (@cywarr) - Fix mipmapping usage of render targets. #15256, #15257 (@Mugen87)
- Fix handling of clear color in
SAOPass
andSSAOPass
. #15266 (@Mugen87) - Improve description and metrics in
webgl_lights_physical
example. #15269 (@moraxy) - Fix
StandardNode
with logarithmic depth buffer. #15305 (@hjeldin) - Avoid unnecessary variable redefinitions in
UnrealBloomPass
. #15296 (@vlucendo) - Switched to
glTF
model inwebgl_animation_skinning_blending
example. #15306 (@Mugen87) - Fix WebGLState leak with
EquirectangularToCubeGenerator
,PMREMGenerator
,PMREMCubeUVPacker
. #15330 (@jsantell) - Add
THREE.CubemapGenerator
. #15331 (@WestLangley) - Improved
webgl_postprocessing_ssao
example. a7b5a26, f1d7a14 (@mrdoob) - Improved
webgl_worker_offscreencanvas
example. d58d00b (@mrdoob) - Fixed
webgl_tiled_forward
example. 530835d (@mrdoob) - Cleaned up
webgl_loader_gltf
example. 6d370b2 (@mrdoob)
-
CSS3DRenderer
-
DragControls
- Fix dragging of objects with transformed parents. #15131 (@sweerwen)
-
GLTFExporter
-
GLTFLoader
- Minor cubicspline interpolation optimization. #15275 (@andreasplesch)
pbrSpecularGlossiness
extension, add mipLevel setting. #15222 (@06wj)- Normalize skin weights. #15324 (@Mugen87)
- Remove 'experimental' status on lights. #15341 (@donmccurdy)
-
HDRCubeTextureLoader
-
MMDLoader
-
OBJLoader
-
PMREMGenerator
-
SSAOPass
-
TransformControls
- Improve drag and drop compatibility. #15264 (@sdinesh86)
Editor
- Enhanced Chinese translation. #15188, 771b015 (@linbingquan, @mrdoob)
- Fixed script container layout error. #15201 (@linbingquan)
Tests
r98
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r97--r98
https://github.com/mrdoob/three.js/milestone/11?closed=1
(555,356 KB, gzip: 138,438 KB)
Source
- Global
- Unify semantics and usage of
.setPath()
and.setResourcePath()
in loaders. #14995, #14989, #14977, #15041 (@Mugen87) - Fix undefined object errors when loading assets in workers. #15012 (@jbaicoianu)
- Added rollup plugin for converting gl constants to their values. #15061 (@mrdoob)
- Added
eslint-plugin-html
. #14985 (@looeee)
- Unify semantics and usage of
- AnimationLoader
- ArrowHelper:
- Support cloning. #15057 (@WestLangley)
- Audio
- BoxHelper
- Added
.copy()
and.clone()
. #15063 (@WestLangley)
- Added
- CubeCamera
- Add options arg to constructor. #15086 (@WestLangley)
- Geometry
- Lights
- Fix regression in non-physical attenuation. #15028 (@donmccurdy)
- Line
- Fix
.copy()
and.clone()
. #15062 (@WestLangley)
- Fix
- LoadingManager
- Material
- Remove
.overdraw
property. #15065 (@WestLangley)
- Remove
- Object3D
- Make
.position
,.rotation
,.quaternion
and.scale
configurable. #11134 (@sublambda)
- Make
- ObjectLoader
- OrthographicCamera
- Add default frustum. (@EliasHasle) #15112
- WebGLBackground
- Support
WebGLRenderTargetCube
. #15081 (@WestLangley) - Clarify background's render order. #15108 (@WestLangley)
- Support texture offset/repeat. #15138 (@WestLangley)
- Support
- WebGLRenderer
- Clean up. #15082 (@gero3)
- Improve nomenclature of cube and equirect shaders. #15080 (@WestLangley)
- Support real-time changes to
.gammaFactor
. #15106 (@WestLangley)
- WebVRUtils
- WebXRManager/WebVRManager
Documentation
- Clean up. #14988, #15018, #15052, #15077, #15069, #15137, #15172 (@tknickman, @rtpHarry, @Mugen87, @nidin, @MosasoM, @moraxy)
- Added
DataTexture3D
page. #15051 (@Mugen87) - Added manual page about WebGL 2. #15059 (@Mugen87)
- Enhanced Chinese translation. #14982, #15053, #15174 (@gogoend, @nicholas-yangding)
- Automatically set language from hash. #15109 (@mrdoob)
- Add example to model loading page. #15118 (@donmccurdy)
- Improved
Geometry
page. #14881 (@ieskudero)
Examples
- Clean up. #14983, #14999, #15025, #15038, #15164, #15153, #15161, #15156, #15146, 067b4da, 96ec75e (@gero3, @stormwin, @anderscognite, @WestLangley, @Mugen87, @mrdoob)
- Fix linter errors in examples. #14986, #14992, #14987, #15031 (@looeee)
- Fix stream handling in
webgl_materials_video_webcam
example. #14980 (@Mugen87) - Fix directory case of Monster/glTF-Lights. #14978 (@donmccurdy)
- Fix shadows in
webgl_materials_cars
example. #15016 (@looeee) - Stabilized water simulation in
webgl_gpgpu_water
example. #14942 (@yomboprime) - Fix spotlight in
webgl_loader_gltf_extensions
example. #14974 (@takahirox) - Remove custom tone mapping shader in
webgl_loader_texture_exr
example. #15026 (@WestLangley) - Updated
OBJLoader2
to V2.5.0. #15060, #15071 (@kaisalmen) - Remove
CanvasRenderer
and all related examples. #15029 (@WestLangley) - Added
webgl_multiple_scenes_comparison
example. #15046 (@looeee) - Added Triplanar Mapping showcase in
webgl_materials_nodes
example. #15085 (@sunag) - Center background mesh on camera position in
webgl_materials_cubemap_dynamic
example. #15083 (@WestLangley) - Prevent content overflow in some examples. #15042 (@XanderLuciano)
- Fix water reflection sampling coordinates in
Water.js
. #15120 (@fats) - Added
BufferGeometry
version of QRCode model. #14788 (@Mugen87) - Converted
webgl_animation_cloth
example toBufferGeometry
. #15122 (@WestLangley) - Removed usage of
JSONLoader
inmisc_fps
example. #15127 (@Mugen87) - Ported canvas particles waves example to WebGL. #15123, #15145 (@WestLangley)
- Added
webgl_effects_ascii
example. #15124 (@Mugen87) - Update skinning + morph example. #15132 (@donmccurdy)
- Added
SelectionBox
,SelectionHelper
andwebgl_interactive_boxselection
example. #14508 (@HypnosNova) - Support orbiting with mouse + shift key in
OrbitControls
andMapControls
. #15166, #15140 (@leshkovichpvl, @WestLangley) - Added
webgl_buffergeometry_morphtargets
example. #15148 (@looeee) - Fix texture creation in
SMAAPass
. #15165, c286362 (@cnsdato, @mrdoob) - Removed
misc_lights_test
andmisc_ubiquity_test
examples. f636032, 7b1d857 (@mrdoob) - Improved
webvr_ballshooter
andwebgl_effects_ascii
example. 7448356, 6d85bcd, db9a302, e71d720, 8cca287 (@mrdoob)
-
EquirectangularToCubeGenerator:
- Support alternate encodings. #15055 (@WestLangley)
-
EXRLoader
- Make thrown exceptions more informative #14998 (@WestLangley)
-
FBXLoader
-
GLTFLoader
- More efficient load. #14779 (@takahirox)
- Implement
KHR_texture_transform
extension. #13831 (@donmccurdy) - Prefetch DRACO decoder on DRACO encoded
glTF
load. #15177 (@TyLindberg) - Fix bugs in glTF+Draco decompression. #15084 (@donmccurdy)
-
PCDLoader
- Fix parsing of vertex colors. #15007 (@baba1472)
-
PLYLoader
-
Projector
-
RGBELoader:
- Support FloatType output. #15056 (@WestLangley)
-
SVGLoader
- Accept multiple transforms in a single node. #15092 (@yomboprime)
-
VTKLoader
Editor
- Clean up. e6db949 (@mrdoob)
- Added localization support. #15110 (@mrdoob)
- Added Chinese translation. #15113, #15179, a97c61d (@linbingquan, @mrdoob)
- Added STL exporter in binary format to menu bar. #15093 (@hassadee)
- Fixed toolbar button layout error. #15135 (@linbingquan)
- Removed
CanvasRenderer
code. de6f8f7 (@mrdoob)
Tests
r97
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r96--r97
https://github.com/mrdoob/three.js/milestone/10?closed=1
(555,650 KB, gzip: 138,708 KB)
Source
- Global
- Box3
- Lights
- Use inverse-square attenuation w/ distance=0 in physically-correct mode. #14962 (@donmccurdy)
- Material
- Added missing
combine
andenvMapIntensity
property to.toJSON()
. #14877 (@takahirox)
- Added missing
- MaterialLoader
- Added missing
combine
andenvMapIntensity
property to.parse()
. #14833 (@atul-mourya)
- Added missing
- MeshMatcapMaterial
- Added material and
webgl_materials_matcap
example. #14828, #14866, #14895 (@WestLangley)
- Added material and
- Quaternion
- WebGLBackground
- Prevent tonemapping of scene background texture. #14856, #14896 (@aardgoose, @WestLangley)
- WebGLRenderer
- Added support for 3D textures. #14530, #14839, #14840, #14861, #14964 (@artur-trzesiok, @takahirox)
- Deprecate
.clearTarget()
. #14842 (@WestLangley) - Added navigator existence for WebXR. #14914 (@dukuo)
Documentation
- Clean up. #14816, #14926 (@nikolas, @mghini)
- Added basic language navigation. #14969, 0c4f797 (@mrdoob)
- Added Chinese translation. #14865, #14907, #14913, #14918, #14949, #14945 (@nicholas-yangding, @gogoend)
- Added WebVR guide. #14904 (@Mugen87)
- Improved
BufferAttribute
page. #14889 (@aardgoose) - Improved
GLTFLoader
page. #14897 (@donmccurdy) - Strip localization code from docs
path
template variable. #14846 (@fordhurley) - Reword
light.distance
explanation. #14968 (@donmccurdy)
Examples
- Clean up. #14825, #14835, #14863, #14832, #14886, #14884, #14908, c39567b, 8268cd3, 2fae475 (@Mugen87, @aardgoose, @WestLangley, @atul-mourya, @Venlious, @mrdoob)
- Reworked
webgl_materials_cars
. #14843, #14851 (@looeee, @mrdoob) - Removed
BinaryLoader
. #14845 (@looeee) - Fixed some bugs in
MMD
classes. #14855 (@panxinmiao) - Added
webgl_layers
example. #14870 (@aardgoose) - Use
ObjectLoader
inwebgl_materials_lightmap
. #14924 (@Mugen87) - Remove usage of
linewidth
where it has no effect. #14931 (@Mugen87) - Added
webgl2_materials_texture3d_volume
example. #14847, #14957, #14965 (@almarklein, @WestLangley, @mrdoob) - Added simple
webgl2_materials_texture3d
example. #14951, #14963, #14965 (@takahirox, @mrdoob) - Refactored
Detector.js
intoWebGL.js
. #14967 (@mrdoob)
-
BoxLineGeometry
-
CanvasRenderer
-
FBXLoader
-
GLTFLoader
-
MTLLoader
- Added support for alphaMaps. #14822 (@WestLangley)
-
PLYLoader
-
PointerLockControls
-
VRMLLoader
Editor
r96
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r95--r96
https://github.com/mrdoob/three.js/milestone/9?closed=1
(548,943 KB, gzip: 137,794 KB)
Source
- Global
- Clean up. #14615, #14764, #14789, 6322fa1, 0fbd97d (@WestLangley, @Mugen87, @mrdoob)
- Add
JSPM
overrides to reduce the package size. #14678 (@LordBenjamin) - Added cartesian conversion math methods. #14684 (@WestLangley)
- Box3
- Revert optimization of
.applyMatrix4()
. #14656 (@WestLangley)
- Revert optimization of
- BufferGeometry
- Honor name of morph targets in
.fromGeometry()
. #14711 (@Mugen87) - Disregard groups in
.computeVertexNormals()
. #14746 (@WestLangley)
- Honor name of morph targets in
- Camera
- Added
projectionMatrixInverse
property. #14685 (@WestLangley)
- Added
- Color
- Add
.lerpHSL()
. #14589 (@Remi-Tribia)
- Add
- FileLoader
- ImageUtils
- InstancedBufferAttribute
- Added
normalized
attribute to constructor. #14790 (@WestLangley)
- Added
- Line
- LoadingManager
- Added note for
.onStart()
callback. #14660 (@takahirox)
- Added note for
- Material
- Object3D
- Optimize
.getWorldDirection()
. #14677 (@mbredif) - Added support for rotated parents in
.lookAt()
. #14517 (@greggman, @WestLangley)
- Optimize
- PointsMaterial
- Size attenuation applies to perspective camera only. #14706 (@WestLangley)
- PropertyBinding
- Ray
- ShaderMaterial
- Sprite
- SpriteMaterial
- Add
sizeAttenuation
property. #14636 (@WestLangley)
- Add
- Texture
- TextureLoader
- Vector3
- Optimize
.project()
and.unproject()
. (@yaoyao-cn)
- Optimize
- WebGLRenderer
- WebGLState
- More efficient blending. #14516 (@WestLangley)
- WebVRManager
- Removed userHeight. #14805, #14802, 79ad386 (@mrdoob, @joshpatt2)
- WebXRManager
Documentation
- Clean up. #14648, #14646, 3830394 (@DomHudson, @takahirox, @mrdoob)
- Improved
AmbientLight
page. #14612 (@BachNewton) - Improved
How-to-update-things
page. #14283 (@XanderLuciano) - Improved
MeshStandardMaterial
page. #14753 (@looeee) - Improved
PointsMaterial
page. #14641 (@paulmasson) - Added localisation support. #14750, #14755 (@mrdoob)
Examples
- Clean up. #14596, #14604, #14614, #14639, #14645, #14657, #14665, #14666, #14717, #14728, #14719, #14765, #14772, #14777, #14785, #14780, #14791, #14808, d963a14, f528820, d75c277 (@Mugen87, @WestLangley, @Pyrolistical, @gkjohnson, @aardgoose, @mrdoob)
- Fixed rendering warning in examples. #14630, #14631 (@Mugen87)
- Reworked
webgl_postprocessing_unreal_bloom
example. #14629 (@donmccurdy) - Merge
webgl_animation_keyframes_json
andwebgl_animation_scene
examples intowebgl_animation_keyframes
. #14642 (@donmccurdy) - Added Draco support to SEA3D. #14635 (@sunag)
- Removed dead code (handleEvent) from controls. #14710 (@arodic)
- Move
BufferGeometryUtils
toutils/folder
. #14707, #14712 (@donmccurdy) - Avoid
new
when calling.lookAt()
in examples. #14715 (@WestLangley) - Improve
OffscreenCanvas
example for cross-browser interoperability. #14721 (@devnook) - Updated
OBJLoader2
.- Load all assets before adding object to the scene inwebgl_loader_obj
. #14741 (@WestLangley) - Remove usage of
JSONLoader
in examples. #14747, #14769, #14774, #14781 (@donmccurdy, @Mugen87) - Simplify and refactor
webgl_effects_parallaxbarrier
example. #13084 (@looeee) - Added
webgl_materials_normalmap_object_space
example. #14593 (@WestLangley) - Fixed missing missing skinning/morphTarget/morphNormals copy
webgl_loader_vrm
example. #14794 (@takahirox) - Added
SkeletonUtils
andwebgl_loader_sea3d_bvh
/webgl_loader_sea3d_bvh_retarget
examples. #14574 (@sunag) - Improved
webgl_loader_svg
example. f2e68b8 (@mrdoob)
-
AnaglyphEffect
- More efficient
.dispose()
. #14809 (@aardgoose)
- More efficient
-
ColladaExporter
- Fixed export of
THREE.Geometry
meshes. #14671 (@gkjohnson)
- Fixed export of
-
ConvexObjectBreaker
- Added support for
BufferGeometry
. #14616 (@yomboprime)
- Added support for
-
EquiangularToCubeGenerator
- Added options parameter. #14131 (@richardmonette)
-
FBXLoader
- Fix overshadowing of
FBXTree
. #14607 (@gavrilovmiroslav) - Improved texture checks. #14653 (@looeee)
- Fix overshadowing of
-
GLTFLoader
- Fix for
clampWhenFinished
=true. #14550 (@donmccurdy) - Use mimetype to set texture format, if set. #14768 (@donmccurdy)
- Ensure
LoadingManager.onLoad()
is supported. #14408 (@donmccurdy)
- Fix for
-
KMZLoader
-
LegacyGLTFLoader
-
OBJLoader2
- Added generic error callback + align load and
.loadMtl()
callbacks. #14727 (@kaisalmen)
- Added generic error callback + align load and
-
PaintViveController
-
PCDLoader
-
TransformControls
-
VRMLLoader
- Fixed usage of
this
reference. #14793 (@gkjohnson)
- Fixed usage of
Editor
- Clean up. 00cd9a2 (@mrdoob)
- Ensure any objects are detached from
TransformControls
when removed from the scene. #14689 (@Yugloocamai) - Support zipped
glb
andgltf
files. #14704 (@mrdoob) - Update position after raycasting in arkanoid example. #14705 (@mrdoob)
- Added support for zipped fbx. #14766, 3fae2c7 (@mrdoob)
- Added multiple files loading support. #14767 (@mrdoob)
- Refactored zip handling code. f41e9a4, 1e66ddc (@mrdoob)
- Expose
BoundingSphere.radius
. cbdaa9f (@mrdoob)
r95
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r94--r95
https://github.com/mrdoob/three.js/milestone/8?closed=1
(545,746 KB, gzip: 137,260 KB)
Source
- Global
- Use un-minified
three.js
in fiddles. #14409 (@WestLangley) - Added link to the forum on
CONTRIBUTING.md
. #14480 (@looeee) - Do not validate/optimize animations by default. #14385 (@donmccurdy)
- Added
OffscreenCanvas
toexterns.js
. 4561fa6 (@mrdoob)
- Use un-minified
- AnimationAction
- Audio
- Frustum
- Optimize
.intersectsBox()
. #14378 (@yaoyao-cn)
- Optimize
- KeyframeTrack
- Line
- Mesh
- Object3D
- Quaternion
- ShaderChunk
- Renamed
lights_pars_maps
toenvmap_physical_pars_fragment
. #14406 (@WestLangley)
- Renamed
- SpriteMaterial
- Add tonemapping and encoding support. #14428 (@WestLangley)
- Triangle
- Vector2
- Added
.cross()
. #14567 (@yaoyao-cn)
- Added
- WebGLGeometries
- Remove redundant code. #13485 (@aardgoose)
- Fixed undeclared variable. bac91d9 (@mrdoob)
- WebGLProgram
- WebGLRenderer
- Clean up. #14431, #14474, 6ab73d8, 7e39297 (@Mugen87, @mrdoob)
- Moved material logic out of
.renderBufferImmediate()
. 7f8a2e9, 76f5304 (@mrdoob) - Use
normalMatrix
for front face determination. #14379 (@Korijn) - Removed
WebGLSpriteRenderer
(integrate sprite rendering intoWebGLRenderer
). #14411, #14432, 35eccde (@Mugen87, @mrdoob) - Added WebGL 2.0 initial support with GLSL runtime conversion. #13717, #14546 (@takahirox)
- Fixed processing of shader code altered via
.onBeforeCompile()
. #14442, 13c5850 (@sunag, @mrdoob) - Render sprites along opaque and transparent objects. #14495 (@Mugen87)
- Removed unnecessary string concatenations. #14568, #14588 (@oguzeroglu)
- Improved
currentGeometryProgram
check. 4c30083 (@mrdoob)
- WebGLTextures
- Avoid memory leaks when logging warnings. #14483 (@cherniavskii)
- WebGLUniforms
- Fix for samplers in struct uniforms. #12024 (@markusjohnsson)
- WebVRManager
- WebXRManager
Documentation
- Clean up. #14389, #14386, #14395, #14455, #14448, #14500, #14513, #14521, #14540, #14545, #14564, #14594, 6b0a67c, 40b9d17 (@paulmasson, @Mugen87, @Himenon, @mghini, @gpresland, @nikolas, @moraxy, @CarlVitasa, @mrdoob)
- Improved
Material
page. #14539 (@pailhead) - Improved
TextureLoader
page. #14533 (@moraxy) - Updated text for
linewidth
limitation. #14528 (@greggman) - Prevent navigation if modifiers pressed. #14544 (@greggman)
Examples
- Clean up. #14481, #14534, #14537, c210505, d7fac3b, e78b8cf, #14561, #14551, #14579, #14586, #14582, #14597 (@WestLangley, @mrdoob, @Mugen87, @oguzeroglu)
- Make
Water2
compatible withFOG_EXP2
. #14404 (@blaze33) - Removed
BufferSubdivisionModifier
. #14397 (@Mugen87) - Improve scrolling in
webgl_multiple_elements
. #14426 (@greggman) - Handle rejection of
.getVRDisplays()
Promise inWebVR
. #14425 (@SamiraAtMicrosoft) - Shaders: Remove unnecessary dependency on
packing.glsl
. #14437 (@WestLangley) - Added touch support to
webgl_panorama_equirectangular
. #14490 (@Mugen87) - Added
webgl_raycast_sprite
example. #14488 (@06wj) - Added
ColladaExporter
. #14403 (@gkjohnson) - Added
TransformControls
v2. #14170 (@arodic) - Added
AfterimagePass
andwebgl_postprocessing_afterimage
example. #13917 (@HypnosNova). - Improved WebVR examples. 40d189e (@mrdoob)
- Clean up and improved performance of
MarchingCubes
. fcf6b61 (@mrdoob) - Updated
webvr_ballshooter
example to use two controllers. e3eea30 (@mrdoob)
-
CanvasRenderer
- Add support for
BufferGeometry
multi-materials. #14525 (@WestLangley)
- Add support for
-
ColladaLoader
-
DragControls
- Keep the cursor as a pointer after dragging. #14487 (@govizlora)
-
FBXLoader
- Added support for animated morph targets. #14396 (@looeee)
- Added support ASCII files encoded with any type of line ending. #14502 (@sebular)
- Added support for alternate Euler orders and post rotation. #14523 (@looeee)
- Don't return top level double nested group. #14524 (@looeee)
- Remove use of
Uint8Array.indexOf()
. #14562 (@looeee) - Reorganise code and create
FBXTreeParser
. #14519 (@looeee) - Create
GeometryParser
andAnimationParser
. #14592 (@looeee) - Check for layered bumpmap. #14599 (@looeee)
-
GLTFLoader
- Update
KHR_lights_punctual
and fix light has no color bug. #14451 (@06wj) - Fix lights list iterator. #14515 (@donmccurdy)
- Ignore primitive type
.extras
. #14518 (@takahirox) - Remove deprecated texture format, internalFormat, and type. #14505, d5e9805 (@robertlong, @mrdoob)
- No mesh clone if it is referenced only once. #14111 (@takahirox)
- Update
-
GLTFExporter
- Skip single morph animation. #14218 (@takahirox)
-
HDRCubeTextureLoader
-
MapControls
- Added ctrl-drag support. #14410 (@WestLangley)
-
NodeMaterial
-
OrbitControls
- Support Ctrl-drag as right-drag alternative. #13972 (@rkirsling)
-
PLYExporter
- Add
onDone
callback. #14573 (@gkjohnson)
- Add
-
STLLoader
-
SVGLoader
- Add transform node parse. #14418 (@yomboprime)
-
TGALoader:
-
WebVR
Editor
- Fixed animations not working in WebXR. b7d826f (@mrdoob)
- Remove unnecessary instantiations. #14400 (@WestLangley)
- Fixes examples scale. #14460 (@mrdoob)
- Added File / Export
DAE
. #14595 (@mrdoob) - Updated Arkanoid. 9e9a025 (@mrdoob)
- Only show toolbar when a object is selected. 3aa9465 (@mrdoob)
- Fixed new toolbar UI. d58e983 (@mrdoob)
Utils
- Create Node.js
fbx2three
converter. #13013 (@donmccurdy)