Releases: mrdoob/three.js
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)
r94
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r93--r94
https://github.com/mrdoob/three.js/milestone/7?closed=1
(545,457 KB, gzip: 137,559 KB)
Source
- Global
- Audio
- AudioLoader
- Clone buffer prior to decoding to allow reuse. #13710 (@meatwallace)
- Color
- Added sRGB conversion methods. #14332 (@WestLangley)
- CubeTexture
- CurvePath
- Add
isLineCurve3
check. #14288 (@git-mormot)
- Add
- DirectGeometry
- Update error test for faceless geometries. #14257 (@paulmasson)
- Font
- Layers
- Material
- Mesh
- MeshPhysicalMaterial
- Added missing reflectivity uniform update. #14361 (@WestLangley)
- PositionalAudio
- Quaternion
- Sprite
- WebGLRenderer
- Don't use
window
if it isn't available. #14249 (@haroldiedema) - Support object-space normal maps. #14239 (@WestLangley)
- Fixed
.setAnimationLoop()
not sending time to the callback. a345b87 (@mrdoob)
- Don't use
- WebGLRenderStates
- WebGLState
- Allow
Additive
,CustomBlending
whenmaterial.transparent
is false. #14171 (@WestLangley)
- Allow
- WebVRManager
- WebXRManager
Documentation
- Clean up. #14199, #14236, #14280, #14277, #14299, #14316, #14323, #14346, #14370, #14376, #14382, #14384 (@Mugen87, @feiss, @thegingerninja, @Gerdon262, @msbit, @CakeWithSteak, @reed-jones, @tobybell, @imonti, @rtpHarry)
- Improved
Loading-3D-models
page. #14179, #14196 (@donmccurdy, @titansoftime) - Improved
Object3D
page. #14192 (@haolly) - improved
OBJLoader
page. #14255 (@marquizzo) - Fix default geometry in
geometry-browser
. #14242 (@Mugen87) - Added missing
parameters
property in certain geometry classes. #14260 (@taybenlor)
Examples
- Clean up. #14180, #14211, #14305, #14306, #14339, #14350, #14365 (@takahirox, @Mugen87)
- Improve
webgl_modifier_simplifier
example and clean up. #14205 (@WestLangley) - Remove deprecated VR classes
VREffect
andVRControls
#14229 (@Mugen87) - Fix for fat line pixelation artifacts. #14279 (@WestLangley)
- Added
webgl_lines_fat_wireframe
example. #14266 (@WestLangley) UVDebug
: ProcessBufferGeometry
without conversion. #14200 (@Mugen87)- Ensure consistent constructor of
DDSLoader
,KTXLoader
andPVRLoader
. #14307 (@Mugen87) - Renamed equiangular -> equirectangular. #14313 (@WestLangley)
- Added
webvr_lorenzattractor
example. #14154, #14321, ff62be7, a75dbac (@paulmasson, @mrdoob) - Fixed
webgl_tiled_forward
example. #14326 (@wizgrav) - Unified ball shooter WebVR examples in one. Removed controller models. #14355, c0a3448 (@mrdoob)
- Deprecated
DaydreamController
andGearVRController
. #14356 (@mrdoob) - Removed
UTF8Loader
. #14363 (@mrdoob) - Removed
webgl_loader_msgpack
example. b5db8b3 (@mrdoob) - Made
misc_controls_map
example more city like. 10a7b39 (@mrdoob)
-
BufferGeometryUtils
- Clean up loop variables. #14329 (@takahirox)
- Fixed index merge in
.mergeBufferGeometries()
. #14338 (@Mugen87)
-
ColladaLoader
- Handle
dae
files withoutbindShapeMatrix
. #14335 (@eyworldwide)
- Handle
-
EditorControls
- Normalize scroll wheel delta. #14374 (@brianpeiris)
-
GLTFExporter
-
GLTFLoader
- Clean up. #14209 (@Mugen87)
- Clean up UV matrix update. #14262 (@donmccurdy)
-
MapControls
-
MD2Loader
-
NodeMaterial
- Fix
perturbNormal2Arb
bug. #14237 (@donmccurdy) - Introducing auto build. #14214 (@sunag)
- Fix
-
SimplifyModifier
-
SubdivisionModifier
-
SVGLoader
-
TDSLoader
-
VTKLoader
-
XLoader
Utils
- Fix Link in Blender
README.md
. #14253 (@SET001) - Removed CTM, FBX, msgpack and UTF8 converters. #14308 (@mrdoob)
Tests
- Fix
.updateMatrixWorld()
benchmark test. #14230 (@takahirox)
r93
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r92--r93
https://github.com/mrdoob/three.js/milestone/6?closed=1
(539,972 KB, gzip: 136,090 KB)
Source
- Global
- AnimationClip
- Audio
- Box3
- BufferGeometry
- Fix inconsistency of return value from
.addAttribute()
. #14057 (@takahirox) - Added
.userData
property. #13921 (@takahirox)
- Fix inconsistency of return value from
- CanvasTexture
- Color
- DirectGeometry
- Add error message for faceless geometries. #14105 (@paulmasson)
- ExtrudeGeometry
- FileLoader
- Fog/FogExp2
- Font
- Handle unicode string split properly. #13998 (@mooncaker816)
- ImageBitmapLoader
- ImageLoader
- Material
- Add missing
aoMap
andaoMapIntensity
to.toJSON()
. #13904 (@takahirox)
- Add missing
- Matrix4
- Make
.compose()
more efficient. #14044 (@mquander) - Added minor fix to
.extractRotation()
. #14169 (@WestLangley)
- Make
- Mesh
- ObjectLoader
- Added method chaining. #13950 (@takahirox)
- ParametricGeometry
- Add error message for new implementation. #14085 (@paulmasson)
- PlaneHelper
- Keep front of helper facing direction of normal. #13929 (@WestLangley)
- PointsMaterial
- Remove unused shadowmap chunks. #14086 (@WestLangley)
- Add morph target support. #14107 (@WestLangley)
- WebGLBackground
- WebGLBufferRenderer
- WebGLProgram
- Ensure
alphaTest
is formatted as a float. #14028 (@WestLangley)
- Ensure
- WebGLRenderer
- Handle normal/bump maps when material is back/double-sided. #13916 (@WestLangley)
- Fix
.copyTextureToTexture()
. #13944 (@takahirox) - Renamed
animate()
tosetAnimationLoop()
. #14124 (@mrdoob) - Added
WebGLAnimation
. #14126 (@mrdoob) - Added
.setFramebuffer()
. Fixes shadows in WebXR. #14132 (@mrdoob)
- WebGLRenderTarget
- Honor
options.generateMipmaps
in constructor. #14000 (@WestLangley)
- Honor
- WebGLState
- Simplify
enableAttribute()
. #14037 (@takahirox)
- Simplify
- WebGLUniforms
- WebXRManager
Documentation
- Clean up. #13930, #13947, #14039, #14056, #14062, #14103, #14130, #14153 (@takahirox, @pcsteppan, @paulmasson, @FalkF, @jimmyland, @Mugen87, @greenfox1505)
- Added
PLYExporter
page. #14148 (@gkjohnson) - Improved
BufferGeoemtry
page. #14064 (@paulmasson) - Improved
ImageBitmapLoader
page. #14082 (@Mugen87) - Improved
ImageLoader
page. #14083 (@Mugen87) - Improved
MMDLoader
page. #14095 (@takahirox) - Improved
Object3D
page. #13932 (@looeee) - Improved
SkinnedMesh
page. #14079 (@Mugen87) - Improved
Useful-links
page. #14141 (@atul-mourya) - Use
: this
for chainable methods in common classes. #14112 (@donmccurdy)
Examples
- Clean up. #13901, #13913, #13920, #13933, #13958, #13974, #13936, #13987, #13994, #14005, #14046, #14123 (@Mugen87, @WestLangley, @takahirox)
- Update copyright note in
webgl_loader_mmd_audio
. #13952 (@takahirox) - Fix
webgl_materials_translucency
. #13945 (@daoshengmu) - Clarify shader code in
webgl_buffergeometry_instancing_*
examples. #13980 (@Mugen87) - Fixed broken
webgl_postprocessing_godrays
. #13884 (@Mugen87) - Added clipping support to fat lines. #13999 (@WestLangley)
- Added new example
webgl_buffergeometry_instancing_lambert
. #14012 (@WestLangley) - Fixed resizing bug in
webgl_morphnormals
. #14014 (@Dawars) - Honor new autoplay policy in examples. #14020 (@Mugen87)
- Update
OBJLoader2
to v2.4.1. #14036 (@kaisalmen) - Added collision handling to
webvr_gearvr
example. #14026 (@paulmasson) - Added collision handling to
webvr_daydream
example. cd32a0a (@mrdoob) - Fix material handling in
webgl_loader_vrm
example. #14061 (@takahirox) - Replace
ShaderMaterial
with modifiedMeshLambertMaterial
inwebgl_buffergeometry_instancing_lambert
example. #14069 (@WestLangley) - Remove optional targets in
ParametricGeometries
. #14078 (@Mugen87) VRMLoader
prototype update. #14092 (@takahirox)- Custom shader no longer required in
webgl_loader_texture_hdr
. #14097 (@WestLangley) - Fix examples of
ParametricGeometry
. #14119 (@Mugen87) - Fix caching for
SingleUniform
in node material. #14125 (@sunag) - Fix depth shader in
BokehShader2
. #14155 (@Mugen87) - PMREM: Simplify blending mode. #14172 (@WestLangley)
- Merged STL exporters for ASCII and Binary. #14175 (@Mugen87)
- Add z respecting for
CSS2DRenderer
. #13959 (@yomotsu) - Ensure usage of
.setAnimationLoop()
in VR examples. 6bb8268 (@mrdoob)
-
ColladaLoader
-
DracoLoader
- Update to v1.3.1, support typed attributes. #14002 (@donmccurdy)
- Add method chaining. #14151 (@takahirox)
-
EXRLoader
- Fix chromaticities return. #14066 (@richardmonette)
- Fix edge case. #14084 (@richardmonette)
-
GLTFExporter
- Serialize
material.userData
. #14015 (@takahirox) - Export
BufferGeometry.userData
. #14163 (@takahirox)
- Serialize
-
GLTFLoader
- Remove unnecessary code. #13905 (@WestLangley)
- Preserve unknown extension data on nodes and materials. #13826 (@donmccurdy)
- MultiMaterial support. #13707 (@takahirox)
- Fix
.loadAnimation()
for Morph + MultiMaterial. #14067 (@takahirox) - Optimization, less clone materials. #14100 (@takahirox)
specularGlossinessTexture
issRGB
. #14165 (@donmccurdy)
-
MarchingCubes
-
MMDLoader
- Clean up interpolation. #13953 (@takahirox)
- Clean up and added documentation. #13975 (@takahirox)
- Clean up part 2. #14001 (@takahirox)
- Update part 3. #14007 (@takahirox)
- Move MMD specific parameters into
geometry.userData
. #14144 (@takahirox) - Add bones to
BufferGeometry.userData
. #14157 (@takahirox)
-
MMDPhysics
- Minor optimization. #13968 (@takahirox)
-
OrbitControls
- Prevent aspect from affecting rotate speed. #13957 (@WestLangley)
-
PLYExporter
- Updated code base. #14102 (@gkjohnson)
-
SVGLoader
Utils
- Remove Blender exporter, add
Loading 3D models
guide. #14117 (@donmccurdy)
Tests
r92
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r91--r92
https://github.com/mrdoob/three.js/milestone/5?closed=1
(533,939 KB, gzip: 134,418 KB)
Source
- Global
- Clean up. #13605, #13667, #13744 (@takahirox)
- Remove references to
THREE
namespace. #13670 (@giorgiomarcias) - Added Travis CI integration. #13726, #13736 (@dbkaplun, @Mugen87)
- Added method chaining in buffer attributes. #13868 (@takahirox)
- Audio
- BufferAttribute
- Added missing
.name
property in.copy()
. #13824 (@takahirox)
- Added missing
- CatmullRomCurve3
- ExtrudeGeometry
- LoaderUtils
- Math
- Flatten UUID strings with
.toUpperCase()
to save heap memory space. #13595 (@takahirox)
- Flatten UUID strings with
- Mesh
- Object3D
- Honor
.matrixAutoUpdate
in serialization. #13840 (@WestLangley)
- Honor
- ObjectLoader
- ShaderMaterial
- Texture
- Added
.updateMatrix()
. #13888 (@WestLangley)
- Added
- WebGLProgram
- Add
shader.name
. #13814 (@WestLangley)
- Add
- WebGLRenderer
- Removed parameter
startIndex
from.setupVertexAttributes()
. #13631 (@takahirox) - Fix
perturbNormal2Arb()
bug. #13716 (@WestLangley) - Fix
perturbNormal2Arb()
+DoubleSide
. #13791 (@donmccurdy)
- Removed parameter
- WebGLTextures
- Open code log2 replacement for IE11 compat. #13714 (@aardgoose)
Documentation
- Clean up. #13591, #13592, #13619, #13626, #13637, #13675, #13676, #13683, #13695, #13718, #13747, #13759, #13762, #13773, #13804, #13854 (@DonKarlssonSan, @takahirox, @bth, @aardgoose, @selimbek, @mkeblx, @Mugen87, @gadlol, @FarhadG, @matthova, @sunnylqm. @Arrow7000, @donmccurdy, @alcalyn)
- Updated (Buffer)Geometry comparison. #13679 (@donmccurdy)
- Imrpoved
Audio
page. #13724 (@Mugen87) - Improved
BufferAttributeType
page. #13678 (@takahirox) - Improved
Material
page. #13686 (@nickcoutsos) - Improved
ParametricGeometry
/ParametricBufferGeometry
page. #13846 (@paulmasson) - Improved
Raycaster
page. #13614 (@Mugen87) - Improved
Skeleton
page. #13689 (@takahirox) - Improved
SVGLoader
. #13688 (@apclemens) - Improved
WebGLRenderer
. #13677 (@Mugen87) - Added
SVGRenderer
page. #13618 (@Mugen87) - Added
ArrayCamera
page. #13658 (@Mugen87) - Set max linewidth to ~100chars. #13680, #13722, #13733, #13785, #13827 (@donmccurdy)
- Add BMFont section to
Creating text
docs. #13723 (@donmccurdy)
Examples
- Clean up. #13597, #13617, #13620, #13643, #13674, #13735, #13742, #13737, #13754, #13775, #13808, #13832, #13797, #13852, #13862, #13860, #13873, #13883 (@WestLangley, @Mugen87, @takahirox, @aardgoose)
- Solve z-fighting in
webgl_loader_svg
. #13625 (@Mugen87) - Fix
webgl_interactive_instances_gpu
example. #13644 (@takahirox) - Fixed uvs of some JSON models. #13712 (@Mugen87)
- Added
EquiangularToCubeGenerator
andwebgl_materials_envmaps_exr
example. #13693 (@richardmonette) - Fix depth material of
CinematicCamera
. #13730 (@takahirox) - Fix
ANGLE_instanced_arrays
extension support check. #13741 (@takahirox) - Experiment with different aspect ratio for inset viewport in
webgl_lines_fat
. #13734 (@WestLangley) - Added
ShaderTranslucent
andwebgl_materials_translucency
example. #13511 (@daoshengmu) - Fix parsing of Tr option in
MTLLoader
. #13685 (@eastpiger) - Custom blending mods. #13760 (@WestLangley)
- Combine points examples. #13818 (@Mugen87)
- OBJ/MTL Loaders and Example: add support for chaining. #13816 (@WestLangley)
- Use
matrixWorld
instead ofmatrix
inDecalGeometry
. #13835 (@pjoe) - Added RGB halftone shader and
webgl_postprocessing_rgb_halftone
example. #13850 (@meatbags) - Added basic
VRMLoader
andwebgl_loader_vrm
example. #13877 (@takahirox) - Remove timer logging from glTF and COLLADA loaders. #13770 (@donmccurdy)
- Change signature of
createTexture()
inGPUComputationRenderer
. #13766 (@vlucendo)
-
BokehShader2
-
ColladaLoader
-
CSS3DRenderer
-
EXRLoader
- Bug fixes. #13825 (@richardmonette)
-
FBXLoader
- Use
Uint16BufferAttribute
forskinIndex
. #13633 (@looeee) - Alphebetized material parameters. #13632 (@looeee)
- Simplify
getData()
. #13798 (@looeee) - Allow parsing of empty geometry nodes. #13834 (@looeee)
- Updated header info. #13839 (@looeee)
- Added support for TGA files. #13841 (@NicekDev)
- Added support morph targets. #13856 (@looeee)
- Fix
Filename
toRelativeFilename
inparseImage()
. #13875 (@acidsound) - Interpolate large Euler rotation values to allow converting to Quaternions. #13838 (@looeee)
- Use
-
GearVRController
-
GLTFExporter
- Ensure joints are uint8 or uint16. #13609 (@donmccurdy)
- Support
Uint8BufferAttribute
. #13650 (@takahirox) - Prevent exporting empty geometry #13681 (@fernandojsg)
- Ensure normalized normal attribute. #13767 (@takahirox)
-
GLTFLoader
- Clean up. #13690, #13864 (@takahirox)
- Clean up extensions example. #13596 (@donmccurdy)
- Fix default for missing
material.pbrMetallicRoughness
. #13635 (@donmccurdy) - Fix perspective camera FOV. #13646 (@donmccurdy)
- Fix geometries order. #13694 (@takahirox)
- Expand
getDependency()
. #13781 (@takahirox) - Invert
normalScale.y
,not normalScale.x
. #13784 (@donmccurdy) - Rough update to
KHR_lights
support to match current spec. #13341 (@MiiBond) - Update morph, non-set unnecessary morph. #13783 (@takahirox)
- Add
DDS
support. #13820 (@Bergmam) - Do not make duplicate
morphTargetDictionary
entries. #13800 (@takahirox)
-
LegacyGLTFLoader
- Fix texture loading of binary glTF 1.0. #13819 (@donmccurdy)
-
OrbitControls
- Support 2-finger zoom/pan. #13706 (@WestLangley)
- Remove
HorizontalPanning
nomenclature. #13720 (@WestLangley)
-
OutlinePass
-
PCDLoader
-
PMREM
- Clean up. #13750 (@WestLangley)
- Reduce memory usage. #13752 (@WestLangley)
- Added
dispose()
methods. #13815 (@WestLangley)
-
SoftwareRenderer
-
SVGLoader
- Added basic node parsing functionality. #13616 (@mrdoob)
- Enhanced node parsing. #13636 (@jonobr1)
- Fixed circle and ellipse parsing. #13771 (@mrdoob)
- Basic fill color support. #13772 (@mrdoob)
- Basic
style.fill
support. #13774 (@mrdoob) - Improved style parsing. #13787 (@ndebeiss)
- More robust style parsing. #13796 (@ndebeiss)
- Improved fill style parsing. #13842 (@mrdoob)
parseRectNode()
robustness and clean up. #13843 (@mrdoob)- Added support for rounded rect. #13855 (@ndebeiss)
- Added support for multi data in some commands. #13878 (@mrdoob)
- Handle transparent
style.fill
. #13886 (@mrdoob) - Basic A/a command handling to avoid path breakage. #13887 (@mrdoob)
-
SVGRenderer
-
STLLoader
-
TransformControls
Editor
Tests
r91
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r90--r91
https://github.com/mrdoob/three.js/milestone/2?closed=1
(534,113 KB, gzip: 134,564 KB)
Source
- Global
- AnimationAction
- BufferGeometry
- Honor groups in
.toNonIndexed()
. #13217 (@WestLangley) - Changed semantics of
.center()
. #13532 (@Mugen87)
- Honor groups in
- DirectGeometry
- ExtrudeGeometry
- Geometry
- JSONLoader
- Loader
- MaterialLoader
- Raycaster
- Object3D
- Remove
.getWorldRotation()
. #13481 (@WestLangley)
- Remove
- ObjectLoader
- ShadowMaterial
- Triangle
- WebGLAttributes
- Introduce usage of WeakMap. #13102 (@aardgoose)
- WebGLInfo
- WebGLProperties
- Introduce usage of WeakMap. #13102 (@aardgoose)
- Fixed weakmap usage in
update()
. #13406 (@mrdoob)
- WebGLRenderer
- Separate light entities shaders from light maps shaders. #13277 (@sunag)
- Split
normal_fragment
tonormal_fragment_begin
andnormal_fragment_maps
. #13360 (@sunag) - Add
renderer
parameter to.onBeforeCompile()
. #13362 (@sunag) - BasicDepthPacking: White nearest. #13480 (@WestLangley)
- Replace 8 with real maxMipLevel in
lights_fragment_maps.glsl
. #13501 (@takahirox) - Added support for
texSubImage2D
. #13512 (@Mugen87)
- WebGLTexture
- WebVRManager
- Fix camera transforms in VR. #13414 (@brianpeiris)
Documentation
- Clean up. #13352, #13387, #13391, #13441, #13471, #13496, #13502, #13509, #13527 (@MagnuzBinder, @szrharrison, @hellochenwang, @WJsjtu, @Glinkis, @jdanford, @Mugen87, @ivoelbert, @zouyang1230)
- Visible type information. #13308 (@donmccurdy)
- Improved
Lensflare
page. #13353 (@gadlol) - Improved
FileLoader
page. #13489 (@takahirox) - Improved
GLTFLoader
page. #13356, #13357, #13392, #13413, #13570 (@takahirox, @donmccurdy) - Improved
GLTFExporter
page. #13433, #13449, #13476 (@takahirox) - Improved
Useful-links
page. #13388, #13492 (@edwinwebb, @jfpferreira) - Improved
Material
page. #13436 (@Mugen87) - Improved
MeshPhysicalMaterial
page. #13564 (@Mugen87) - Improved
RectAreaLight
page. #13529 (@Mugen87) - Improved
SpriteMaterial
page. #13546 (@wcoebergh) - Improved
WebGLRenderer
page. #13442 (@servinlp) - Added
CSS3DRenderer
page. #13472 (@Mugen87) - Added
CSS2DRenderer
page. #13486 (@Mugen87)
Examples
- Clean up. #13348, #13491, #13522, #13543, #13547, #13582 (@WestLangley, @Mugen87)
- Added
linewidth
support andwebgl_lines_fat
example. #11349 (@WestLangley) - Improved
misc_controls_orbit
. #12742 (@WestLangley) - Added
webgl_curvature_estimation
example. #13120 (@sneha-belkhale) - Fixed
webgl_materials_compile
. #13328 (@sunag) - Delete old
cubecolors
folder. #13330 (@looeee) - Converted
QRCode.js
toQRCode.json
. #13331 (@looeee) - Added
THREE.Sky
towebgl_shaders_ocean
example. #13408 (@mrdoob) - Switch from
Geometry
toBufferGeometry
. #13421, #13423, #13427 (@WestLangley) - Clone defines in shader passes. #13422 (@WestLangley)
- Clean up
webgl_materials_modified
example. #13435 (@Mugen87) - Clean up redundant parameterization of WebGLRenderer. #13438 (@Mugen87)
- Improved 3DOF controllers examples. #13445 (@mrdoob)
- Test manually updating video texture in
webvr_video
example. #13470 (@mrdoob) - Reposition inset in
webgl_lines_fat
example. #13477 (@WestLangley) - Fix opacity bug in
UnpackDepthRGBAShader
. #13479 (@WestLangley) - Changed to white-nearest in
webgl_depth_texture
example. #13487 (@WestLangley) - Set
.quaternion
instead of.rotation
in loaders. #13488 (@WestLangley) - Change rotate speed
webgl_panorama_cube
example . #13551 (@WestLangley) - Add support for dashed fat lines. #13584 (@WestLangley)
- Combine
webgl_lines_splines
andwebgl_lines_colors
examples. #13563 (@XanderLuciano)
-
BufferGeometryUtils
- Add
.mergeBufferGeometries()
helper. #13241 (@donmccurdy)
- Add
-
ColladaLoader
-
DRACOLoader
- Move Draco libs and add readme. #13351 (@donmccurdy)
-
EXRLoader
- Add support for reading PIZ wavelet. #13346 (@richardmonette)
-
FBXLoader
-
GLTFExporter
- Export images as binary in GLB. #12877 (@donmccurdy)
- Fix Morph. #12967 (@takahirox)
- Add comment for empty strings name. #13359 (@takahirox)
- Support morph target names. #13366 (@takahirox)
- CubicSpline interpolation support. #13377 (@takahirox)
- GLB chunks 4-byte aligned #13395 (@fernandojsg)
- Fix
znear
andzfar
range for cameras. #13396 (@fernandojsg) - Add
OBJLoader
to the scene. #13401 (@fernandojsg) - Add support for
metallicRoughnessTexture
. #13415 (@takahirox) - Add support for texture cache. #13417 (@takahirox)
- Add forcePowerOfTwoTexture option. #13424 (@takahirox)
- Add forcePOT option on the example. #13426 (@fernandojsg)
- Compare
.name
with empty strings for the consistency. #13468 (@takahirox) - Use
Map
for cache. #13552 (@takahirox) - Support
KHR_materials_unlit
. #13566 (@donmccurdy) - Added Multi-material support. #13536 (@takahirox)
- Fix JSON chunk padding issue. #13542 (@takahirox)
- Use Map for nodeMap. #13562 (@takahirox)
-
GLTFLoader
- Add support for KHR_materials_unlit. #13136 (@robertlong)
- Add support for KHR_draco_mesh_compression. #13194 (@donmccurdy)
- Support morph target names. #13367 (@takahirox)
- Make
.setDRACOLoader()
chainable. #13495 (@takahirox) - Remove spec/gloss examples generated by COLLADA2GLTF. #13571 (@donmccurdy)
- Remove glTF Rigged Simple model. #13583 (@takahirox)
-
LegacyGLTFLoader
- Updated shader parsing. #13339 (@1d2d3d)
- Fix parsing textures in GLB files. #13589 (@donmccurdy)
-
Lensflare
-
MathUtils
- Added
MathUtils
and.setQuaternionFromProperEuler()
. #13538 (@thezwap) - Clean up. #13590 (@WestLangley)
- Added
-
MMDLoader
- Optimize BufferAttribute type for
skinIndex
. #13464 (@takahirox)
- Optimize BufferAttribute type for
-
OBJExporter
- Fix export without normals. #13409 (@fernandojsg)
-
OBJLoader
- Support files with empty uvs or normals. #13400 (@fernandojsg)
-
OBJLoader2
- V2.4.0: Parser polishing, ArrayBuffer handling, LoaderSupport clean-up. #13524 (@kaisalmen)
-
OrbitControls
- Add support for horizontal panning. #13242 (@WestLangley)
- Pans with inertia when damping is enabled. #13453 (@WestLangley)
- Added
.panSpeed
property. #13561 (@WestLangley)
-
PLYExporter
- Added exporter. #13507 (@gkjohnson)
-
SAOPass
-
SoftwareRenderer
-
TransformControls
-
Water2
Editor
- Focus will frame target in view. #13165 (@Adam4lexander)
- Add option to export GLB. #13390 (@mrdoob)
- Added edit for
.renderOrder
and.frustumCulled
. #13444 (@Mugen87) - Use
RGBFormat
when loading a jpg. #13451 (@mrdoob) - Fix edit of
.fogDensity
. #13517 (@Mugen87)
Exporters
Tests