Releases: mrdoob/three.js
r122
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r121--r122
https://github.com/mrdoob/three.js/milestone/35?closed=1
Source
- Global
- More usage of ES6 default parameters. #20472 (@linbingquan)
- AnimationObjectGroup
- Audio
- Copy filters array in
.setFilters()
. #20105 (@takahirox)
- Copy filters array in
- Camera
- Properly update world matrix prior to use. #20224 (@WestLangley)
- CubeCamera
- CubeTexture
- MaterialLoader
- Object3D
- Add
clear()
. #20478, 315d0fc (@Mugen87, @bianyunzhi95, @mrdoob)
- Add
- RectAreaLight
- Add half float support. #20477 (@yellowtailfan)
- VideoTexture
- Fix
clone()
in context ofrequestVideoFrameCallback()
. #20449 (@ianpurvis)
- Fix
- WebGLGeometries
- WebGLCubeMaps
- WebGLRenderer
Documentation
- Improved
Creating a Scene
page. #20468, #20525 (@montoyamoraga, @subtra3t) - Improved
Quaternion
page. #20396 (@FlorentMasson) - Improved
VideoTexture
page. #20476 (@Mugen87) - Improved constants page. #20488 (@linbingquan)
- Move to let/const. #20484, #20487, #20485 (@Mugen87, @linbingquan)
- Improved Chinese translation. #20533, #20532 (@SJoshua, @zhangyxyx)
- Remove obsolete
list.js
imports. #20545 (@Mugen87) - Make
list.js
to a JSON file. #20553 (@Mugen87)
TypeScript
- Add
is*
boolean to every texture type. #20483 (@DavidPeicho) - Export
TextGeometryParameters
. #20467 (@Methuselah96) - Remove
Scene.dispose()
definition. #20496 (@wal0x) - Add missing
DataTexture2DArray
declaration. #20526 (@djytw) - Add
mouseButtons
toTrackballControls
. #20551 (@markhog) - Fix parameter error of
AnimationClip.toJSON()
. #20569 (@beidongjiedeguang)
Examples
- Clean up. #20438, #20470, #20513, #20517, #20536, #20567, #20570, #20571, 39aca04 (@linbingquan, @Mugen87, @mrdoob)
- Remove
ExplodeModifier
. #20458 (@Mugen87) - Remove
Fire
. #20495 (@Mugen87) - Move HTML example code to let/const. #20500, #20501, #20503, #20505, #20507, #20509, #20510, #20512 (@Mugen87)
- Update name of face mesh in
webgl_animation_skinning_morph
example. #20504 (@donmccurdy) - Make
files.js
to JSON files. #20544 (@Mugen87) - Add 3D LUT color grading post processing pass. #20558, #20562 (@gkjohnson)
- Add
EdgeSplitModifier
. #20535 (@Mcgode) - Removed deprecation warning from
examples/js
files. #20568 (@mrdoob) - Fix toggle icon CSS issue. #20566 (@Mugen87)
- Added curve modifier examples. #20538 (@AdaRoseCannon)
-
GLTFLoader
-
OBJLoader
- Fix normal generation. #20498 (@gkjohnson)
-
OutlinePass
-
SelectionHelper
- Use Pointer Events API. #20514 (@tsaockham)
-
SSAOPass
-
STLExporter
-
WebGPURenderer
Editor
- Clean up. #20464 (@linbingquan)
- Support animation export with GLTFExporter. #20454 (@Mugen87)
- Improved Chinese translation. #20466, #20557 (@linbingquan)
- Fix
ViewHelper
with translated camera. #20524 (@Mugen87) - Change color picker to realtime. #20528 (@codedeep)
- Make playback speed of animations configurable. #20547 (@Mugen87)
Tests
- Fix ReferenceError in
check-coverage.js
. #20543 (@takahirox)
r121
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r120--r121
https://github.com/mrdoob/three.js/milestone/34?closed=1
(646,271 KB, gzip: 157,542 KB)
Source
- Global
- Move to ES6 classes. #20240, 853f445 (@mrdoob)
- Add
/*@__PURE__*/
to module scope variable assignments. #20236 (@ianpurvis)
- AnimationUtils
- BufferGeometry
- Chainable
setIndex()
method. #20413 (@takahirox)
- Chainable
- EdgesGeometry
- Move to
BufferGeometry
. #20327 (@gkjohnson)
- Move to
- Geometries
- ImageBitmapLoader
- Lights
- LightShadow
- Remove from public API. #20288 (@WestLangley)
- Line
- Loader
- Introduce
.setWithCredentials()
. #20355, #20364, #20374 (@amosbyon1224, @Mugen87)
- Introduce
- MeshPhysicalMaterial
- Improved transmission model. #20273 (@WestLangley)
- Added
.ior
property. #20322 (@WestLangley)
- Object3D
- Correctly update world matrix prior to use. #19969 (@WestLangley)
- Points
- PolyhedronGeometry
- More fine-tuned picking of level of detail. #20255, #20420 (@felixmariotto, @Mugen87)
- SpotLightShadow
- Added
.focus
property. #20218 (@WestLangley)
- Added
- WebGLCubeRenderTarget
- WebGLShadowMap
Documentation
- Clean up. #20263, #20378, #20379, #20383, #20382, #20381 (@mentaltoy, @ycw, @ACMCMC)
- Improved Arabic localization. #20190, #20377 (@hassanMuhamad)
- Improved
WebGLProgram
page. #20293 (@Adjective-Object) - Clarify loop unroll behavior. #20306 (@gkjohnson)
- Clarify behavior for Material
blendDst
,blendEquation
, andblendSrc
whennull
. #20344 (@gkjohnson) - Fixed WebGL Spec links. 1fae7ea (@mrdoob)
- Geometry UVs are
Vector2
s. #20406 (@TiraO) - Clarify
InstancedBufferAttribute.meshPerAttribute
. #20408 (@Mugen87) - Added
undefined
asMaterial.defines
type. #20356 (@ycw) - Improve
Object3D
page. #20386 (@mjurczyk)
TypeScript
- Clean up. #20285, #20337, #20338, #20339, #20342, #20343 (@linbingquan, @ycw)
- Improve
CondNode
constructor's type. #20232 (@martinRenou) - Add logical operators to
CondNode
. #20231 (@martinRenou) - Fix
Vector3.fromBufferAttribute()
type definition. #20235 (@Mike-Dax) - Add
InstancedMesh.setColorAt()
definition. #20250 (@ben-voss) - Fixed wide line typings. #20267 (@giulioz)
- Added definitions for CSM classes. #20270 (@Sean-Bradley)
- Make
ArrowHelper
's color parameter more permissive. #20282 (@deerob4) - Remove
mode
fromLineSegments
ctor. #20295 (@ycw) - Removed outdated
*IdCount
. #20341 (@ycw) - Fix inheritance of
WebXRManager
. #20352 (@Mugen87) - Fixed
load()
inCompressedTextureLoader
. #20373 (@linbingquan) - Added types for WebXR API. #20150 (@PalashBansal96)
- Added
setScaleSnap
type definition toTransformControls
. #20423 (@YoshihiroIto) - Clean up geometry generators. #20426 @klevron
- Fix
color
property type onLineBasicMaterial
. #20429 (@Methuselah96) - Fix
ExpressionNode
contructor's type definition. #20213 (@martinRenou)
Examples
- Clean up. #20233, #20246, #20360, #20405 (@SanjoSolutions, @Mugen87, @pschroen)
- Assign equirect env maps directly to
Scene.background
. #20189 (@Mugen87) - Properly handle EXR files on drag-and-drop in
webgl_materials_matcap
example. #20261 (@WestLangley) - Linearize sRGB material color in
webgl_materials_matcap
example. #20279 (@WestLangley) - Properly initialize helpers in
webgl_materials_envmaps_parallax
example. #20278 (@WestLangley) - Use
RectAreaLightHelper
inwebgl_lights_rectarealight
example. #20277 (@WestLangley) - Refactor controls in
webgl_geometry_spline_editor
example. #20312 (@Mugen87) - More usage of pointer events and terminology. #20316, #20353 (@Mugen87)
- Fix timing bug in
misc_controls_pointerlock
example. #20334 (@arodic) - Fixed broken pointer event handling when
pointerType
ispen
. #20336 (@arodic) - Removed
misc_animation_authoring
example. #20363 (@Mugen87) - Simplified
webgl_multiple_scenes_comparison
example. 65494f3, a72e73d (@mrdoob) - Improved
GridHelper
in black backgrounds. c39ede5 (@mrdoob) - Replaced all touch events usage. 0a1131f (@mrdoob)
- Update geometries in
webgl_lod
. c9b5020 (@mrdoob) - Remove
TypedGeometryExporter
. #20404 (@Mugen87) - Add jittering to reduce sampling artefacts in
webgl2_volume_cloud
example. #20222, b44e670 (@DavidPeicho, @mrdoob) - Added
misc_legacy
example. d2f0e5c (@mrdoob)
-
3DMLoader
-
BasicNodeMaterial
- Improve shaders. #19955 (@martinRenou)
-
DRACOLoader
- Improve performance with new
GetArray
methods. #20399 (@donmccurdy)
- Improve performance with new
-
GLTFLoader
- Modified spec/gloss shader to match the
glTF
spec. #20226 (@WestLangley) - Properly set defines for
GLTFMeshStandardSGMaterial
#20242 (@WestLangley) - Add node hookpoint and move the lights extension handler to the new system. #19892 (@takahirox)
- Fix alpha detection for
colorType=3,4
. #20376 (@donmccurdy) - Deduplicate node names. #16639 (@donmccurdy)
- Modified spec/gloss shader to match the
-
Line2
-
LineSegements2
- Add a
threshold
raycaster parameter. #20375 (@gkjohnson)
- Add a
-
RoughnessMipmapper
-
SVGLoader
- Implement
defs
anduse
nodes. #20209 (@yomboprime)
- Implement
-
TransformControls
-
VTKLoader
-
WebGPURenderer
- Added new renderer. #20254, #20257, #20268, #20274, #20272, #20275, #20281, #20284, #20283, #20330, #20298, #20390, 9618bc8, d4083dc, c3d8a89, 26472f8, 6e19f98, 9021c89, fe65eaf, 211d4c0, 33079a0, 5d72fec, 10bff9f, 8277a52, 63a0b7b, 317bd1c, 5029895, e1fde83, da64654, 2aca7c6, 7a096e8, 2519b47, 2876fcc, d82f89e, e103579, 329cb62, b166f40, 91e38e7, 1e36728, 3fd2561, b0f4546, 56d0b32, 00cabc4, 8e70942, 201e67b, b906fb3, 67ca362, 37ca608, 6f3e651, 1268b10, 3092ff9, 0200e03, 57fa67f, 0228293, 029877f, cf9822c, 839f462, 7551139, 1c7f4c9, 9676f7f, 29ec65b, 0229ebd, 9ee09d6, dfe538e, d5c3089, c95ea0b, cd3003f, 7bb3c2c, 16353c9, 3dcce7a, 7830fe3, 1893c9d, cd95aa4, 5e1417c, fcdfc8a, 6246c13, ade8cd9, b4d4566, 9a6f648, 3d8f432, e22c4ff, 932dc84, c9a8edc, 3056904, 551adcb, d4a3e62, fbea62b...
r120
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r119--r120
https://github.com/mrdoob/three.js/milestone/33?closed=1
(642,741 KB, gzip: 160,428 KB)
Source
- Global
- Move to ES6 classes. #19980, #19977, #19964, #19978, #19976, #19979, #19984, #19975, #19982, #19996, #19994, #20003, #20023, #19997, #20076, #20007, #20089, #20110 (@ianpurvis, @DefinitelyMaybe, @linbingquan, @Mugen87, @yomotsu, @marcofugaro)
- Preserve sourcemaps in rollup transforms. #19981 (@donmccurdy)
- Move some variables from
let
toconst
. #19970 (@DefinitelyMaybe) - Clean up. #19956, #19987, #20119, #20152, #20185, #20181, c056218, 8bb0572, d798868 (@linbingquan, @WestLangley, @mrdoob)
- AnimationUtils
- Audio
- Initialize
source
withnull
. #20073 (@takahirox) - Introduce
_connected
flag to fix.setFilters()
bug. #20093 (@takahirox)
- Initialize
- GLBufferAttribute
- InstancingMesh
- LightShadow
- MaterialLoader
- Quaternion
- RoughnessMipmapper
- Scene
- ShaderMaterial
- WebGLBindingStates
- Check if
cachedAttribute
isundefined
. #20056 (@greggman) - Add
index
to cache. #20045 (@shawn0326)
- Check if
- WebGLClipping
- WebGLExtension
- WebGLMaterials
- Added clearcoat maps to the uv offset/repeat priorities. #20178 (@WestLangley)
- WebGLPrograms
- WebGLProgram
- Make loop unrolling whitespace-insensitive. #20012, #20163 (@DavidPeicho, @yushijinhun)
- WebGLRenderer
- Add support for equirectangular to cube env map conversion. #19911, #20043, #20044, #20048, #20081, #20085, #20113 (@mrdoob, @WestLangley, @Mugen87)
- Make uniforms handling of
RectAreaLight
more consistent. #20078 (@Mugen87) - Remove superfluous program check in
setProgram()
. #20097 (@Mugen87) - Remove unused parameter when calling
getUniforms()
. #20123 (@Mugen87) - Remove obsolete code from
initMaterial()
. #20124, #20151 (@Mugen87)
- WebGLRenderTarget
- Disable stencil buffer by default. #19926, #20117, #20118 (@WestLangley)
- WebXRController
- Fix bug when updating joints without requesting a hand. #19983 (@fernandojsg)
Documentation
- Improved
Object3D
page. #19993 (@WestLangley) - Remove outdated examples of
ArrowHelper
. #20004 (@Methuselah96) - Add arabic localization. #20075, #20079, #20088, #20098, #20106, #20121, #20134, #20137, #20149, #20154, #20172, #20176, #20164, 717cb0d, 81bdcca (@hassanMuhamad, @mrdoob)
- Improved Chinese localization. #20040 (@gogoend)
- Fix broken links to transmission example. #20092 (@donmccurdy)
- Improved
DepthTexture
page. #20107 (@Mugen87) - Improved
Loading 3D models
guide. #19968 (@donmccurdy) - Improved
CubeCamera
page. #20169 (@martinRenou)
TypeScript
- Fix optional method arguments in
NodeBuilder
. #19963 (@martinRenou) - Fix optional material parameters in
MeshPhysicalMaterial.d.ts
. #20017 (@FishOrBear) - Added
@default
values. #20036 (@dmnsgn) - Extend object classes with generic types. #20133 (@Berthur)
- Use a variable instead of an interface for
DepthLimitedBlurShader.BlurShaderUtils
. #20173 (@twastvedt) - Fix types for
Line2
. #20165 (@giulioz)
Examples
- Clean up. #20015, #20077, a5c63ac, f119b45, 2199be4 (@linbingquan, @Mugen87, @mrdoob)
- Implemented instanced colors in
webgl_loader_vox
example. #19949 (@mrdoob) - Added
webgl2_volume_instancing
example. #19992 (@mrdoob) - Update
chevrotain
module. #20027 (@Mugen87) - Added
onWindowResize()
callback to CSS3D examples. #20068 (@WestLangley) - Properly specify texture
sRGB
encoding. #19800 (@WestLangley) - Disable alpha buffer when not required. #20116 (@WestLangley)
- Fix minor search bugs. #20122 (@Mugen87)
- Fixes controls in
webgl_materials_modified
example. #20162 (@gsimone) - Adds
change
event toDeviceOrientationControls
andFlyControls
. #19924 (@gsimone) - Improved
webgl_loader_3ds
example. b8898cc (@mrdoob) - Improved
webgl_materials_variations_toon
example. 062fa1b (@mrdoob) - Improved
webgl_instancing_raycast
example. b07f3df (@mrdoob) - Updated ammo.js. 9e2cea0 (@mrdoob)
- Removed
physics_cannon_instancing
. 23f40de (@mrdoob) - Added
onWindowResize()
tocss2d_label
example. #20175 (@WestLangley) - Added
webxr_vr_haptics
example. #20000 (@fernandojsg) - Added
webgl2_volume_cloud
example. 4020fd0 (@mrdoob) - Fixed controls in
webgl_materials_modified
example. #20162 (@gsimone) - Adds
EventDispatcher
andchange
event toDeviceOrientationControls
andFlyControls
. #19924 (@gsimone) - Fix controls in
webgl_decals
example. 2b477f0 (@mrdoob) - Fix controls in
webgl_multiple_scenes_comparison
. #20223 (@Mugen87)
-
AmmoPhysics
-
ColladaExporter
-
EXRLoader
-
FlyControls
- Removed unnecessary computation. #20186 (@WestLangley)
-
GLTFLoader
- Set
.format=RGBFormat
only when there is no alpha channel. #18843 (@donmccurdy) - Fix regression unnecessarily choosing
MeshPhysicalMaterial
. #20053 (@donmccurdy)
- Set
-
KTX2Loader
-
MMDLoader
-
NodeMaterial
-
OrbitControls
-
Rhino3dmLoader
-
TGALoader
-
TrackballControls
-
TransformControls
Editor
- Improved Chinese localization. #20103 (@linbingquan)
- Added
Slot
tostring.js
. #20104 (@linbingquan) - Added 3dm import. #20148 (@fraguada)
- Removed
Minify Shaders
option. 64f3162 (@mrdoob) - Fixed grid colors in dark mode. 14f4ae1 (@mrdoob)
- Implemented Pointer Events in
EditorControls
. e55b718, 675e990 (@mrdoob) - Remove usage of
glslprep
fromScript.js
. #20201 (@Mugen87) - Do not enforce sRGB color space for
DataTexture
. #20214 (@Mugen87)
Tests
- Minor cleanup of E2E setup. #20125 (@munrocket)
r119
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r118--r119
https://github.com/mrdoob/three.js/milestone/32?closed=1
(630,548 KB, gzip: 156,930 KB)
Source
- Global
- Clean up. #19737, #19910, #19929 (@theundebruijn, @linbingquan, @Mugen87)
- Add missing
/* glsl */
string template. #19751 (@yushijinhun) - Remove author comments. #19948, #19953, #19952, 4944e56 (@Mugen87, @mrdoob)
- Box3Helper
- Allow
0x000000
as color value. #19760 (@WestLangley)
- Allow
- CatmullRomCurve3
- Ensure zero is valid argument for
tension
. #19762 (@dskeithbuck)
- Ensure zero is valid argument for
- Helpers
- InterleavedBufferAttribute
- Loader
- MaterialLoader
- Added missing
transmission
check. #19818, #19860 (@lokiiarora)
- Added missing
- MathUtils
- Added
seededRandom()
method. #16655, #19848 (@WestLangley, @Mugen87)
- Added
- MeshPhysicalMaterial
- Rename
transparency
totransmission
. AddtransmissionMap
. #19690, #19868, #19869 (@donmccurdy, @WestLangley)
- Rename
- Object3D
- Copy
rotation.order
. #19789 (@luisfonsivevo)
- Copy
- PMREMGenerator
- Fixes alpha component for LDR outputs. #19765 (@sciecode)
- Clean up. #19773 (@WestLangley)
- Quaternion
- Added
.identity()
. #19806 (@WestLangley)
- Added
- Spherical
- Vector3
- VideoTexture
- WebGLBindingStates
- WebGLCubeRenderTarget
- Retain filter settings. #19795 (@WestLangley)
- Default to RGBA format in
.fromEquirectangularTexture()
. #19931 (@WestLangley)
- WebGLExtensions
- Add
.has( name )
method. #19756 (@donmccurdy)
- Add
- WebGLInfo
- WebGLMaterials
- WebGLProgram
- WebGLPrograms
- WebGLRenderer
- WebGLShadowMap
- Disable stencil buffer. #19927 (@WestLangley)
- WebXRManager
Documentation
- Added
.js
extension to path ofGLTFLoader
. #19767 (@parke) - Add
Import maps
section toInstallation
page. #19746 (@donmccurdy) - Update
CurvePath.getCurveLengths()
. #19788 (@aconz2) - Fixed typo in
GLTFLoader
. #19819 (@markstrefford) - Remove
fog
property fromSpriteMaterial
page. #19834 (@luisfonsivevo) - Update list of extensions in
GLTFLoader
page. #19858 (@donmccurdy) - Fixed wrong file paths in
ConvexHull
page. #19873 (@felixmariotto) - Improve
OrbitControls
page. #19925 (@WestLangley)
TypeScript
- Added missing
transmission
property toMeshPhysicalMaterial
. #19783 (@ManishJu) - Fixed
GridHelper
types. #19870 (@ycw) - Generalize
NodeMaterial
vertex/fragment types. #19897 (@martinRenou) - Add
Node Flow
interface. #19896 (@martinRenou) - Add type declaration file for
KTX2Loader
. #19915 (@Mugen87) - Missing property in
NodeBuilder
requires type definition. #19895 (@martinRenou)
Examples
- Clean up. #19777, #19829, #19867, #19913, #19942, cf85519 (@linbingquan, @Mugen87, @mrdoob)
- Fix
webgl_materials_video_webcam
example for iOS. #19750 (@munrocket) - Update
Zlib
, introducesDeflate
. #19748 (@sciecode) - Set
flipY
tofalse
inwebgl_buffergeometry_instancing_interleaved
example. #19794 (@WestLangley) - Fix link in modules warning. #19812 (@Mugen87)
- Fix controls in
webgl_loader_md2_control
example. #19825 (@Mugen87) - Update link to paper in
Sky.js
. #19823 (@jsantell) - Added toggle for thumbnails. #19881, f60dc5b, e5a6f37, d9dc3d0 (@ajflores1604, @mrdoob)
- Avoid NaN values in data textures in
webgl_gpgpu_birds_gltf
example. #19885 (@Mugen87) - Remove broken text geometries in
webgl_camera_logarithmicdepthbuffer
example. #19884 (@Mugen87) - Trim search terms. #19887 (@Mugen87)
- Fix NaN value in first frame in
webgl_shader
example. #19875, 56382ed (@greggman, @mrdoob) - Improve
webgl_loader_3mf
example. #19920 (@Mugen87) - Fix GPGPU examples for iPadOS Safari. #19944, 9006b83 (@jonobr1, @mrdoob)
- Removed
webgl2_sandbox
example. db276bf (@mrdoob) - Improvements to minimal list mode. 688117a (@mrdoob)
- Added
webgl2_volume_perlin
example. #19954 (@mrdoob)
-
3MFLoader
-
EXRLoader
-
FBXLoader
- Add version check for binary files. #19886 (@Mugen87)
- Add check before parsing UVs. #19898 (@johnmarinelli)
-
GLTFLoader
- Clone reused light and camera instances. #19799 (@donmccurdy)
- Implement
KHR_texture_basisu support
. #19791 (@zeux)
-
KTX2Loader
- Added new loader. #18490 (@donmccurdy)
- Cache loaded module promise. #19796 (@zeux)
- Fix transcode target choices for
UASTC
on iOS. AddBC7
. #19846 (@donmccurdy) - Fix
UASTC
toBC7
target format selection. #19916 (@lexaknyazev) - Rebuild basis transcoder. #19933 (@donmccurdy)
- Add
ZSTDDecoder
andZSTD
support. #19932 (@donmccurdy)
-
LineSegmentsGeometry
- Make use of
InterleavedBufferAttribute.needsUpdate
. #19890 (@WestLangley)
- Make use of
-
NodeMaterial
-
SVGRenderer
-
VolumeShader
-
VOXLoader
Editor
- Add view helper. #19769, #19785, 8bea5b8, f7b4210, 0fb397b (@Mugen87, @mrdoob)
- Introduce animated view presets. #19774 (@Mugen87)
- Make use of
TGALoader
. #19790 (@troy351) - Refactor usage of default camera. #19820 (@Mugen87)
- Don't overwrite editor camera in
Viewport
. #19826 (@Mugen87) - Only process files (not strings) during drag'n'drop. #19831 (@Mugen87)
- Avoid runtime error in outliner. #19835 (@Mugen87)
- Make
loadFile()
inUITexture
work correctly. #19838 (@troy351) - Add option for toggle rendering of helpers. #19849 (@Mugen87)
- Improve Chinese translation. #19859, #19857 (@linbingquan, @washstar)
- Add missing
DRACOLoader
for zipped glTF assets. #19930 (@Mugen87) sw.js
clean up. a23f432 (@mrdoob)- Allow negative scales. ce9863b (@mrdoob)
- Removed scale lock. 62dadd6 (@mrdoob)
Tests
- Add tests for
WebGLRenderLists
andWebGLRenderList
. #19346 (@gkjohnson)
r118
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r117--r118
https://github.com/mrdoob/three.js/milestone/31?closed=1
(626,280 KB, gzip: 156,063 KB)
Source
- Global
- More usage of
let
andconst
. #19490, #19499, #19503, #19504, d679268 (@Mugen87, @mrdoob) - Clean up. #19522, #19532, #19565, #19701, 85865bc (@linbingquan, @DigiTec, @mrdoob)
- Update contribution guide. #19520 (@DefinitelyMaybe)
- Introduced constructor default values in Euler/Quaternion/Vector classes. #19678 (@mrdoob)
- More usage of
- BufferAttribute
- BufferGeometry
- Retain interleaved data when using
.toJSON()
. #19528, #19536, #19538 (@Mugen87) - Retain interleaved data when using
.clone()
. #19539 (@Mugen87) - Add ability to read interleaved data in
.computeVertexNormals()
. #19600 (@Mugen87) - Use
Vector3.fromBufferAttribute()
in.normalizeNormals()
. #19610 (@Mugen87)
- Retain interleaved data when using
- Geometry
- ImageBitmapLoader
- ImageUtils
- LightShadow
- Material
- MeshToonMaterial
- Object3D
- PMREMGenerator
- Refactoring. #19607, #19705 (@WestLangley)
- Set
NoToneMapping
. #19651 (@WestLangley)
- Texture
- Remove
SphericalReflectionMapping
. #19517 (@WestLangley)
- Remove
- WebGLBackground
- WebGLProgram
- WebGLGeometries
- WebGLPrograms
- WebGLRenderer
- Removed
toneMappingWhitePoint
. #19601 (@mrdoob) - Removed
Uncharted2ToneMapping
. #19606 (@mrdoob) - Added
CustomToneMapping
. #19707 (@mrdoob) - Create WebGL 2 context by default. #19620, #19625, #19628, #19635, #19646, e6b297c, c5dc006 (@mrdoob, @Mugen87)
- Improve ACES Filmic tone mapping. #19621, #19631, #19696, da8dad4, #19704 (@WestLangley, @mrdoob)
- Add
WebGL1Renderer
. #19647 (@Mugen87) - Added VAO support. #16287, #19725 (@takahirox, @Mugen87)
- Accept
null
when using.setAnimationLoop()
. #19695 (@Mugen87) - Made render loop code simpler and more robust. 5288ed2, 5ddb4aa (@mrdoob)
- Honor
pixelStorei
properties in.copyTextureToTexture()
. #19710 (@felixpalmer)
- Removed
Documentation
- Clean up. #19544, #19543, #19553, #19612, #19664, #19668, #19655 (@ycw, @Mike-Dax, @Mugen87)
- Improve
How to run things locally
guide. #19505 (@Fasani) - Improve Chinese translation. #19514, #19680 (@linbingquan)
- Added
DataTexture2DArray
page. #19582 (@gero3) - Improve
Box3
page. #19572 (@evanharwin) - Improve
CatmullRomCurve3
page. #19516 (@rjanicek) - Improve
ExtrudeBufferGeometry
page. #19685 (@rjanicek) - Improve
Ray
page. #19497 (@Seprum) - Improve
Scene
page. #19515 (@nstringham) - Fix
combine
usage in material browser. #19594 (@rotoglup) - Improve styles of language selection. #19636, 06bbffe, 1af3252 (@linbingquan, @mrdoob)
- Update valid camera far range #19659 (@WestLangley)
- Added
AmbientLightProbe
page. #19675 (@gero3) - Added
HemisphereLightProbe
page. #19684 (@gero3) - Update
Material.stencilWrite
. #19692 (@gkjohnson) - Update
Installation
section for ES Module migration. #19622, #19728 (@donmccurdy)
TypeScript
- Clean up: #19512, #19529, #19552, #19577 (@linbingquan, @taphos)
- Remove obsolete definition in
Triangle.d.ts
. #19509 (@linbingquan) - Remove legacy parameters in math classes. #19519 (@linbingquan)
- Allow array of materials in
InstancedMesh
generics declaration. #19502 (@xawill) - Allow for 3 optional arguments when creating
Stats.Panel()
. #19573 (@marquizzo) - Accept
Object3D
as first argument inWebGLRenderer.render()
. #19564 (@martinRenou) - Add RoomEnvironment.d.ts. #19711 (@Mugen87)
- Change
Material
toShaderMaterial
in ShaderPass. #19721 (@jhlee4) - Add missing
WebGL1Renderer
to Typescript definitions. #19729 (@subblue)
Examples
- Clean up. #19537, #19687, b712a00, 3e56941, 0b248d1 (@Mugen87, @mrdoob)
- Fix CSS of start button for device orientation examples. #19530 (@marcofugaro)
- Implement
copy()
inCSS2DObject
andCSS3DObject
. #19587 (@Mugen87) - Use
ownerDocument
in controls classes. #19682 (@gero3) - Improve GUI in
webgl_animation_cloth
example. #19683 (@gero3) - Modularize
physics_cannon_instancing
example. #19686 (@Mugen87) - Improve CSS of multiple canvas examples. #19699 (@linbingquan)
- Improved
misc_uv_tests
example. b2eaf43 (@mrdoob) - Improved
webgl_shaders_ocean
example. d783da4 (@mrdoob) - Improved
webgl_materials_car
example. 7841862 (@mrdoob) - Improved
webgl_materials_car
example. 0b8e3d8 (@mrdoob) - Removed
webgl_performance_doublesided
example. bd487a8 (@mrdoob) - Set
.encoding
to matchWebGLRenderer.outputEncoding
forReflector
andRefractor
. 34fe461 (@mrdoob) - Removed
HelioWebXRPolyfill
. f60a0eb (@mrdoob) - Refactored
RoomEnvironment
. 56c1c01 (@mrdoob) - Avoid using linear tone mapping. #19712 (@WestLangley)
- Fix imports in
CameraControls
. #19747 (@yushijinhun)
-
BasisTextureLoader
-
EXRLoader
- Support
v3f
attribute type. #19591 (@WestLangley)
- Support
-
GLTFLoader
-
MeshSurfaceSampler
-
OrbitControls
- Set
screenSpacePanning
totrue
by default. #19602 (@WestLangley) - Support more flexible azimuthal limits. #19298 (@WestLangley)
- Set
-
PointerLockControls
- Add min/max polar angle. #19580 (@WestLangley)
-
Sky
-
TransformControls
-
Water
-
XRControllerModelFactory
Editor
- Clean up. ff1fc11, 330d29d, 92ad8c5, a539666, 6ce6848. a36f902, 8c5cfcb, a14f405 (@mrdoob)
- Fix usage of rendering settings. #19506 (@Mugen87)
- Update sidebar UI when camera changes. #19547 (@gero3)
- Improved toolbar. #19584, 38cbc99 (@mrdoob)
- Improved Chinese translation. #19590, #19671, #19679, #19708 (@linbingquan)
- Make sure to log an unsupported file extension. #19592 (@gero3)
- Implemented collapsable outliner items. #19642, 53c8f13 (@mrdoob)
- Refactored background/environment code. #19693 (@mrdoob)
- Fixed project title input size. 7199af9 (@mrdoob)
- Refactored
Sidebar.Project
. 94ac6fb, e37cb98, 851dd14 (@mrdoob) - Fixed map slots alignment. d126788 (@mrdoob)
- Added Depth Test/Write in Material panel. 9bd4460 (@mrdoob)
- Temporarily comment out
Sidebar.Scene
'sobjectChanged
code. 5057626 (@mrdoob) - Added
normalBias
support. 6ed6494 (@mrdoob) - Disable
EditorControls
when camera is noteditor.camera
. 521a8ca (@mrdoob) - Improved
shadow.bias
input. 06c3353 (@mrdoob) - Added draco/gltf to
sw.js
. 26179df (@mrdoob) - Improved prefers-color-scheme handling. 2f3976c (@...
r117
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r116--r117
https://github.com/mrdoob/three.js/milestone/30?closed=1
(620,827 KB, gzip: 153,912 KB)
Source
- Global
- AnimationMixer
- Restore original binding states in
stopAllAction()
. #19329 (@DsRQuicke)
- Restore original binding states in
- BufferGeometry
- Honor
.normalized
property in.toNonIndexed()
. #19464 (@bergden-resonai)
- Honor
- CubeCamera
- ImmediateRenderObject
- InstancedBufferGeometry
- Rename
maxInstancedCount
toinstanceCount
. #19135 (@WestLangley)
- Rename
- InterleavedBufferAttribute
- Line
- PMREMGenerator
- PropertyBinding
- Use
.morphTargetDictionary
, notattribute.name
for morph target bindings. #19362 (@donmccurdy)
- Use
- PropertyMixer
- ShaderMaterial
- Vector2/3/4
- WebGLMaterials
- WebGLRenderer
Documentation
- Clean up. #19307, #19432 (@Mugen87, @linbingquan)
- Fix typos. #19272, #19264, #19294, #19344 (@you-create, @rvadhavk, @Antony74, @kevlened)
- Fix dead links. #19320 (@sergiubucur)
- Improved
Matrix4
page. #19335 (@cjbailey) - Add
SphericalHarmonics
page. #19365 (@Mugen87) - Add page for
LightProbe
andLightProbeGenerator
. #19372, #19376 (@Mugen87, @WestLangley) - Improved
OrbitControls
page. #19448 (@Mugen87) - Improved
SceneUtils
page. #19452, #19454 (@aknoerig)
TypeScript
- Fix mipmaps property type for cube textures. #19277 (@sirxemic)
- Fix type declarations of renderer classes. #19263 (@taphos)
- Define uniforms type in
ShaderPass
. #19323 (@KoltesDigital) - Added missing
encoding
parameter inWebGLRenderTargetOptions
type. #19252 (@SBRK) - Added
matrix
andmatrixAutoUpdate
toTexture.d.ts
. #19360 (@sadstag) - Fixed type definitions for strict mode. #19391 (@tmkn)
- Fix uniforms in
ShaderMaterialParameters
. #19398 (@Talon1024) - Prefer union arguments to overloads for simple cases. #19403 (@willstott101)
- Change link syntax. #19412 (@linbingquan)
- Add missing
isImmediateRenderObject
flag. #19413 (@linbingquan) - Fix material type of
GPUComputationRenderer
. #19423 (@Hajime-san) - Use generics for 3D objects declarations. #19299 (@pailhead)
- Add
updateMatrix()
toTexture.d.ts
. #19489 (@frading)
Examples
- Clean up. #19270, #19300, #19315, #19349, #19370, #19474, 59861de, 146ec4d (@linbingquan, @WestLangley, @Mugen87, @mrdoob)
- Make
webgl_loader_vrml
example more configurable. #19316 (@Mugen87) - Adding more tags to search. #19245 (@munrocket)
- Added
webgl_gpgpu_birds_gltf
example. #19318 (@santi-grau) - Force background color on
webgl_effects_ascii
example. #19352 (@sciecode) - Fixed
Xbot.glb
normals. #19354 (@c-morten) - Adding source Blender file for
Xbot.glb
. #19355 (@c-morten) - Removed
webgl_panorama_dualfisheye
example. #19369 (@WestLangley) - Add images to example page. #19375, #19392, #19396, #19427, 46d340f, d6f668f (@callumprentice, @marcofugaro, @munrocket, @mrdoob)
- Fix panning direction in
webgl_video_panorama_equirectangular
example. #19380, e301388 (@WestLangley, @mrdoob) - Fix implementation of
webgl_postprocessing_godrays
example. #19400 (@Mugen87) - Replace
Promise.finally()
. #19416 (@sciecode) - More usage of
main.css
. #19424, #19491 (@linbingquan) - Simplified
webxr_vr_dragging
example. 2c73923 (@mrdoob) - Deprecate
examples/js
. #18749, #19473, 8880636 (@Mugen87, @donmccurdy, @mrdoob) - Added iOS workaround to
webaudio_virualizer
example. 1c07c8a (@mrdoob) - Simplified/beautified
startButton
. bc20838 (@mrdoob) - Removed
webgl_loader_json_claraio
example. 075b95f (@mrdoob) - Improved
webgl_materials_car
example. 586eea1 (@mrdoob)
-
BokehShader
-
ColladaLoader
-
DragControls
-
EffectComposer
- Call
.setSize()
in.insertPass()
. #19281 (@KoltesDigital)
- Call
-
EXRLoader
-
FBXLoader
-
GCodeLoader
- Optimize array management. #19393, 927ba8a (@Spaceman007, @mrdoob)
-
GLTFExporter
-
GLTFLoader
-
LWOLoader
-
OBJLoader
-
OBJLoader2
- Fix parsing of last line. #19278 (@kaisalmen)
-
RoughnessMipmapper
-
SelectionBox
-
TransformControls
-
VRMLoader
-
VRMLLoader
- Add support for
ElevationGrid
. #19287 (@Mugen87) - Add support for
WorldInfo
node. #19283 (@Mugen87) - Allow node names as identifiers. #19291 (@Mugen87)
- Basic support for
Extrusion
. #19312 (@Mugen87) - Improve version check. #19417 (@Mugen87)
- Handle
Collision
node like other grouping nodes. #19420 (@Mugen87)
- Add support for
Editor
- Fix update of renderer settings. #19434 (@linbingquan)
- Fix toolbar width. #19476 (@Mugen87)
Tests
r116
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r115--r116
https://github.com/mrdoob/three.js/milestone/29?closed=1
(618,895 KB, gzip: 153,509 KB)
Source
- AnimationMixer
- Audio
- Curve
- Earcut
- Helpers
- Properly specify the
type
property. #18987 (@WestLangley)
- Properly specify the
- InstancedMesh
- LightProbe
- Loader
- Math
- Use
switch
statements instead ofif-else
. #19127 (@WestLangley)
- Use
- MeshBasicMaterial
- Support dithering. #18997 (@gkjohnson)
- MeshLambertMaterial
- Add support for
LightProbe
. #19014 (@WestLangley)
- Add support for
- MeshMatcapMaterial
- Support dithering. #18998 (@WestLangley)
- PMREMGenerator
- SkinnedMesh
- Apply skinning while raycasting. #19178 (@donmccurdy, @cpollard1001)
- Sphere
- Vector2/3/4
- Added
.random()
. #19034, 346528e (@EthanHermsey, @mrdoob)
- Added
- WebGLProgram
- WebGLRenderer
- Support nested render calls in
Scene.onBeforeRender()
. #18626 (@wizgrav) - Add support for integer attributes with WebGL 2. #19019 (@Mugen87)
- Add mipmap & compressed texture handling to
.copyTextureToTexture()
. #18681 (@frankolivier) - Revert forcing of context loss in
dispose()
. #19022 (@mrdoob) - Optimize switching of
Scene.environment
. #19027, 4744272 (@Oletus, @mrdoob) - Fix default uniform values of
metalness
androughness
. #19132 (@marcofugaro) - Save correct encoding after rendering to render target. #19129 (@sciecode)
- Fixed vertex attributes update with
InstancedMesh
. #19015 (@Mugen87) - Change default value of
.toneMapping
toNoToneMapping
. #19197 (@WestLangley)
- Support nested render calls in
- WebGLShadowMap
- WebXRManager
- Introduce
WebXRController
. #19099 (@Mugen87) - Clarify parameter of
.getController()
and.getControllerGrip()
. #19090 (@Mugen87) - Improve feedback of
.setReferenceSpaceType()
. #19180, 2ca9050 (@Mugen87, @mrdoob) - Dynamically update camera list. #19217 (@Mugen87)
- Fix call of
.setProjectionFromUnion()
. #19241 (@Mugen87)
- Introduce
Documentation
- Clean up. #18983, #19006, #19032, #19103, #19141, #19190, #19194, #19205, #19213 (@scottbedard, @Mugen87, @timgates42, @LucianoInfanti, @linbingquan)
- Fix formatting in
WebGLCubeRenderTarget
page. #18972 (@willstott101) - Improve
InstancedMesh
page. #18977 (@Mugen87) - Improve
Vector2/3/4
pages. #19048 (@EthanHermsey) - Removed
DeprecatedList
. #19062 (@WestLangley) - Improve description of
Vector*.random()
. #19055 (@linbingquan) - Added page for
WebXRManager
. #19108 (@Mugen87) - Add
WebXR
emulator extension tools and clean up. #19123 (@linbingquan) - Added
WebXRManager.setFramebufferScaleFactor()
. #19167 (@Mugen87) - Document
outputEncoding
override fromRenderTarget
behavior. #19130 (@gkjohnson) - Clarify data space of
Curve.computeFrenetFrames()
. #19176 (@Mugen87) - Fixed
Quaternion.lengthSq()
description. #19218, #19227 (@goechsler, @linbingquan) - Improved Chinese translation. #19228 (@linbingquan)
TypeScript
- Clean up
Curve
type declarations. #18991 (@Mugen87) - Fix
ArrowHelper
constructor types. #19029 (@rectalogic) - Parameters of
Matrix4.decompose()
is not optional. #19068 (@fms-cat) - Add
samples
toWebGLMultisampleRenderTarget.d.ts
. #19095 (@twastvedt) - Fix
AnimationClip.parseAnimation()
. #19232 (@Kurogoma4D)
Examples
- Clean up. #18981, #18995, #18993, #19117, #19119, #19187, #19186, #19231, #19240, #19247, #19265 (@Mugen87, @WestLangley, @linbingquan)
- Fix remaining
lgtm.com
alerts. #19033, #19039, #19036, #19044, #19046, #19064, #19259 (@Mugen87, @kaisalmen, @yomboprime) - Refactor
webgl_multiple_elements
example. #19035 (@Mugen87) - Refactor
webgl_loader_gcode
example. #19050 (@WestLangley) - Use
scope
instead ofself
. #19049 (@WestLangley) - Remove module version of
AWDLoader
. #19051 (@Mugen87) - Improve
OrbitControls
settings in examples. #19052 (@Mugen87) - Add
webgl2_buffergeometry_attributes_integer
example. #19024 (@Mugen87) - Fix wrong key code in
misc_controls_transform
example. #19069 (@Gllloria) - Remove remaining usage of
VertexColors
. #19125 (@frading) - Fix winding order in
webgl_buffergeometry_instancing_interleaved
example. #19145 (@WestLangley) - Refactor and rename
webgl_materials_translucency
towebgl_materials_subsurface_scattering
andTranslucentShader
toSubsurfaceScatteringShader
. #19156, #19157 (@marcofugaro) - Refactor
index.html
. #19172 (@munrocket) - Make box geometry generation more flexible in
webgl_lines_dashed
. #19188 (@linbingquan) - Added
ACESFilmicTonemappingShader
. #19196 (@WestLangley) - Modularize
JSZip
. #19201 (@Mugen87) - Use ACES Filmic tone mapping. #19222 (@WestLangley)
- Removed linewidth parameter from
VertexNormalsHelper
andVertexTangentsHelper
. 15dd802, df2af2a (@mrdoob) - Modified
webgl_materials_envmaps_hdr
example. #19238 (@WestLangley) - Fix compression artifacts of normal map. #19249 (@Mugen87)
- Rename
molecules
directory topdb
. #19246 (@Mugen87) - Make examples searchable by tags. #18779, e78da33, ba98f1d (@makc, @mrdoob)
-
BufferGeometryUtils
- Add descriptive error logs when method fails. #19192 (@marquizzo)
- Show error if number of attributes is inconsistent. #19208 (@marquizzo)
-
ColladaExporter
- Add support for light maps. #19013, 30f511b (@rogangriffin, @mrdoob)
-
CSS3DRenderer
-
EXRLoader
-
FBXLoader
-
GLTFExporter
- Ensure correct track name with morph targets animation. #19042 (@Bug-Reaper)
- Remove
forceIndices
. #19113 (@mrdoob) - Added
accessor.normalized
support. #19154 (@LeonYuanYao)
-
GLTFLoader
- Fix for interleaved UVs. #19162 (@WestLangley)
- Correct width/height of orthographic cameras. #19221 (@donmccurdy)
-
PCDLoader
-
PDBLoader
-
LineMaterial
- Add support for
opacity
. #19058 (@LouisBrunner)
- Add support for
-
LineSegmentsGeometry
- Fix
LineSegmentsGeometry.fromLineSegments()
andLineGeometry.fromLine()
. #18974 (@webglzhang)
- Fix
-
OBJLoader
-
Reflector
-
SVGLoader
-
TransformControls
-
TTFLoader
-
Volume
-
VRButton
-
Water
Editor
- Support loading of
3MF
files. #19107 (@Mugen87) - Improve Chinese translation. #19122, #19229 (@linbingquan)
- Improve French translation. #19215 (@flocou)
- Make
LightShadow.bias
configurable. #19202 (@Mugen87) - Make outliner resizable. #19207 (@jespertheend)
- Added Show Vertex Normals button in
Sidebar.Geometry
. 4d943ef, ea4c91c (@mrdoob)
Tests
r115
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r114--r115
https://github.com/mrdoob/three.js/milestone/28?closed=1
(611,773 KB, gzip: 151,867 KB)
Source
- EventDispatcher
- Add comment about defensive copy in
dispatchEvent()
. #18948 (@donmccurdy)
- Add comment about defensive copy in
- Helpers
- LineDashedMaterial
- Matrix3/4
- MeshMatcapMaterial:
- Add support for vertex colors. #18832 (@WestLangley)
- MeshPhysicalMaterial
- Add
clearcoatMap
andclearcoatRoughnessMap
. #18769, #18798 (@donmccurdy)
- Add
- ObjectLoader
- Quaternion
- Add
.fromBufferAttribute()
. #18947 (@donmccurdy)
- Add
- Skeleton
- SphericalHarmonics3
- Add
.addScaledSH()
method. #18962 (@donmccurdy)
- Add
- WebGLRenderer
- Force context loss in
dispose()
. #17588 (@mourner) - Add #pragma unroll_loop_start/end syntax. #18804, #18833 (@gkjohnson)
- Remove extraneous
+
in shadowmap fragment shader chunk. #18874 (@gkjohnson) - Assign the clipping shader chunk its own varying. #18891 (@WestLangley)
- Refactored PMREM blur shader due to apparent compiler bug. #18935 (@stevesan)
- Force context loss in
- WebGLTextures
- Add WebGL2 framebuffer
RGBFormat
fallback. #18859 (@sciecode) - Ensure correct FBO state in
updateMultisampleRenderTarget()
. #18906 (@kvholm) - Fix
DepthTexture
withWebGLMultisampleRenderTarget
. #18904 (@Mugen87) - Fixed
DepthStencilFormat
with WebGL2. #18939 (@Mugen87) - Fix disposal of
WebGLMultisampleRenderTarget
. #18941 (@Mugen87)
- Add WebGL2 framebuffer
Documentation
- Clean up. #18867, #18899 (@Mugen87)
- Add note about material sharing with
InstancedMesh
. #18793 (@Mugen87) - Fix markup. #18816, #18835 (@Mugen87)
- Consolidate examples section. #18825 (@Mugen87)
- Improve docs and TS file of
LineDashedMaterial
. #18850 (@Mugen87) - Fix URL for moved
MMD
website. #18869 (@rdrgn) - Improve
WebGLProgram
page. #18882 (@Mugen87) - Improve
Uniform
page. #18916 (@Mugen87) - Improve
CurvePath
page. #18921, #18923 (@Mugen87) - Fix docs for
WebGLRenderer.renderBufferImmediate()
. #18827 (@martinRenou)
TypeScript
- Improve
SVGLoader
declaration file. #18788 (@soadzoor) - Improve
TextGeometry
declaration file. #18794 (@soadzoor) - Update types of nullable bounding boxes and spheres. #18813 (@flostellbrink)
ARButton.createButton()
must havesessionInit
as 2nd argument. #18810 (@fms-cat)- Make
offset
parameter ofBufferGeometry.merge()
optional. #18826 (@soadzoor) - Clean up
PointsMaterial
. #18848 (@Mugen87) - Fixed name of
KeyframeTrack.getValueSize()
. #18875 (@minzhi3) - Ensure
AnimationMixer
acceptsAnimationObjectGroup
. #18855 (@Longi94) - Fix
TessellateModifier
definition. #18963 (@windkomo)
Examples
- Clean up. #18786, #18917, #18856, #18864, #18952, 629cfbc (@makc, @WestLangley, @Mugen87, @mrdoob)
- Removed
webgl_buffergeometry_instancing_lambert
example. #18806 (@WestLangley) - Release hit test source when session ends in
webxr_ar_hittest
example. #18811 (@takahirox) - Remove
webgl_lightshafts
example and respectiveglTF
asset. #18808 (@Mugen87) - Optimized
webgl_buffergeometry_compression
example. #18799 (@LeonYuanYao) - Added
webgl_shadow_contact
example. #18787 (@mrdoob, @marcofugaro) - Fix rendering of visualization planes in
weblg_clipping_advanced
example. #18888 (@WestLangley) - Module worker support in
OBJLoader2Parallel
andwebgl_loader_obj2_options
example. #18886 (@kaisalmen) - Add more configuration options in
webgl_depth_texture
example. #18940 (@Mugen87) - Only call
WebGLRenderer.clear()
if necessary. #18971 (@Mugen87)
-
BasisTextureLoader
-
ColladaExporter
-
CSM
- Remove unnecessary logic in
update()
. #18789 (@gkjohnson) - Add
CSMHelper
class with more visualizations. #18790 (@gkjohnson) - Fix
dispose()
crash. #18820 (@nipmarsh)
- Remove unnecessary logic in
-
GammaCorrectionShader
- Clean up. #18890 (@WestLangley)
-
GLTFExporter
-
GLTFLoader
- Use a smaller bounding box for morph targets. #18907 (@zeux)
- Use
self
instead ofwindow
. #18945 (@thomas-oxbotica) - Implement
KHR_materials_clearcoat
. #18682 (@donmccurdy)
-
MDDLoader
-
OrbitControls
-
PLYExporter
- Add little endian support. #18954 (@bianyunzhi95, @Mugen87)
-
SelectionBox
- Add support for
OrthographicCamera
. #18911 (@bianyunzhi95, @Mugen87)
- Add support for
-
Sky
-
Water
-
Water2
Editor
- Implemented
DataTransferItemList
support. #18792, 5c2fed0 (@mrdoob) - Added French language support. #18902 (@selmen2004)
- Add Chinese translation for sidebar. #18922 (@linbingquan)
- Ensure to correctly configure
GLTFLoader
withDRACOLoader
. #18931 (@Mugen87) - Added File/Export DRC #18946 (@mrdoob)
Tests
r114
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r113--r114
https://github.com/mrdoob/three.js/milestone/27?closed=1
(608,430 KB, gzip: 151,306 KB)
Source
- Global
- Audio
- Box3
- Use
.union()
in.expandFromObject()
. #18744 (@WestLangley)
- Use
- CompressedTexture
- Support
ETC2
/EAC
. #18581 (@donmccurdy) - Add more
ASTC
formats. #18771 (@Mugen87)
- Support
- InstancedMesh
- Improve normal matrix calculation. #18595 (@WestLangley)
- KeyframeTrack
- LOD
- Introduce
.getCurrentLevel()
. #18538 (@donutcoffee) - Honor camera zoom. #18557 (@donutcoffee)
- Introduce
- Material
- MaterialLoader
- Remove transparent based on
alphaMap
. #18706 (@meliharvey)
- Remove transparent based on
- Matrix3
- MeshDepthMaterial
- MeshToonMaterial
- ObjectLoader
- PropertyBinding
- Raycaster
- Vector2
- WebGLClipping
- Reset
numIntersection
inprojectPlanes()
. #18691 (@ricardoreiter)
- Reset
- WebGLLights
- Removed unused properties. #18499 (@OndrejSpanel)
- WebGLObjects
- Introduce usage of WeakMap. #18688 (@fms-cat, @OndrejSpanel)
- WebGLProgram
- WebGLPrograms
- Fix extension names in
getParameters()
. #18577, #18592 (@dragly, @OndrejSpanel)
- Fix extension names in
- WebGLRenderer
- WebGLRenderLists
- Avoid possible memory leak when managing render items. #18411, 6265608 (@takahirox, @OndrejSpanel, @mrdoob)
- WebXRManager
Documentation
- Clean up. #18552, #18573, #18580, #18591, #18644, #18685, #18716 (@vhawk, @valette, @marquizzo, @Mugen87, @bergden-resonai)
- Fixing
Creating-Text
link. #18529 (@SaFrMo) - Improve
Face3
page. #18531 (@feilin-flexcompute) - Improve
Matrix4
page. #18767 (@sam6321) - Improve
MeshPhysicalMaterial
page. #18684, #18695 (@Mugen87, @WestLangley) - Improve
Quaternion
page. #18587, e0e541b (@OmarShehata, @mrdoob) - Improve
UniformUtils
page. #18726 (@Mugen87) - Fix default values for
CurvePath.getPoints()
andCurvePath.getSpacedPoints()
. #18593 (@gonnavis) - Add
ShaderMaterial.uniformsNeedUpdate
. #18596 (@Mugen87) - Improve formatting. #18600, #18602 (@Mugen87)
- Extend node server list in
How-to-run-things-locally
guide. #18424 (@greggman) - Add
WebGLRenderer.setFramebuffer()
. #18640 (@Mugen87) - Fix description of
PCFSoftShadowMap
. #18641 (@Mugen87) - Fix overflow in iOS and code example in
FAQ
page. #18689 (@munrocket) - Improved Chinese translation. #18739 (@xia-st)
TypeScript
- Add
instanceId
toIntersection
interface. #18570 (@Mugen87) - Remove redundant definitions inherited from
Curve
. #18620 (@marquizzo) - Fix types of
SSAOPass
parameters. #18645 (@Sowed) - Fixes passing
PositionalAudio
toAudioAnalyser
. #18632 (@PaulHax) - Fix
SpotLight.d.ts
. #18674 (@Mugen87) - Fix ctor of
BoxHelper
. #18701 (@upisfree) - Add missing
OutlinePass.patternTexture
definition. #18721 (@chabb)
Examples
- Clean up. #18605, #18615, #18687, #18731, #18753, #18756, #18775 241cfca, e908bb4, bfaffdc (@Mugen87, @linbingquan, @mrdoob, @WestLangley)
- Fix and document normal map handedness. #18522 (@Oletus)
- Remove unnecessary texture parameters. #18656 (@Mugen87)
- Rename
webgl_materials_reflectivity
. #18686 (@Mugen87) - Updated
webxr_ar_hittest
to latest version of the spec. ad2606b (@mrdoob) - Added
FlakeTexture
generator. b80a91a (@mrdoob) - Add possibility to set encoding for
Reflector
/Refractor
. #18709 (@Mugen87) - Move
webgl_worker_offscreencanvas
to modules. #18747 (@Mugen87) - Set
.depthWrite
tofalse
for transparent materials. #18754 (@WestLangley) - Added
physics_cannon_instancing
example. 270823f(@mrdoob) - Renamed physics examples. a0a27e8 (@mrdoob)
-
BokehShader
-
CSM
- Added Cascaded Shadow Mapping implementation. #18481 (@vhawk)
- Remove redundant
toRad()
function. #18704 (@gkjohnson) - Use named imports and add author attribution. #18707 (@gkjohnson)
- Replace
FrustumVertex
withVector3
. #18713 (@gkjohnson) - Add support for
OrthographicCamera
. #18722 (@gkjohnson) - Make use of cache objects. #18723, #18724, #18735 (@gkjohnson)
- Replace
FrustumBoundingBox
withBox3
. #18755 (@gkjohnson) - Add fade. #18761, #18770 (@gkjohnson)
- Miscellaneous fixes. #18768 (@gkjohnson)
- Remove pixel swimming in shadows. #18777 (@gkjohnson)
-
DragControls
-
GLTFExporter
-
GLTFLoader
- Better handling of empty node names. #18585 (@drcmda)
- Return
Group
, notScene
. #18601, #18604 (@donmccurdy) - Use
depthWrite=false
for transparent materials. #18235 (@donmccurdy)
-
NodeMaterial
- Allow leading whitespace in declaration regexp in
FunctionNode
. #18555 (@hellochar)
- Allow leading whitespace in declaration regexp in
-
OBB
-
OrbitControls
-
RenderPass
-
SceneUtils
-
TransformControls
-
XRControllerModelFactory
Editor
- Use
PMREMGenerator
andScene.environment
. #18535 (@Mugen87) - Fix call of
SkeletonHelper.update()
. #18539 (@Mugen87) - Fixed
History.fromJSON()
. #18536, #18544 (@Mugen87) - Add
physicallyCorrectLights
project settings. #18547 (@Mugen87) - Remove
linewidth
option for wireframes. #18551 (@Mugen87) - Fix black textures when loading JSON scenes. #18545, 9c9d05a (@Mugen87, @mrdoob)
- Improved Chinese translation. #18556, #18649 (@linbingquan)
- Fix drag&drop in
UIOutliner
. #18558 (@Mugen87) - Fix material number input fields. #18562 (@Mugen87)
- Only rebuild geometry sidebar if type has changed. #18561, #18717 (@Mugen87)
- Make changing of
Object3D.receiveShadow
more robust. #18559 (@Mugen87) - Ensure material browser shows correct material name. #18575 (@Mugen87)
- Allow to fine-tune numeric inputs with arrow keys. #18571 (@Mugen87)
- Make
Minify Shaders
option more robust. #18578 (@Mugen87) - Add support for
MeshStandardMaterial.vertexTangents
. #18624 (@Mugen87) - Add option for shadow type configuration. #18636, #18651 (@Mugen87)
- Refactor project panel. ab48a75 (@mrdoob)
- Make decimal precision on export configurable. #18718 (@Mugen87)
- Bring back VR support. #18630, 814b447 (@wolfgangmeyers, @mrdoob)
Tests
- Fix wrong parameters in
Matrix4
andPlane
unit tests. #18598 (@OndrejSpanel) - Clean up tests on
BufferGeometryUtils
andGLTFExporter
. #18611 (@donmccurdy) - Introduce automatic regression testing with CI. #18574, #18708, #18732, #18745, #18776, #18782, #18784 (@munrocket)
- Honor code style in regression testing files. #18710 (@Mugen87)
- Move converters to modules. #18728 (@Mugen87)
r113
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r112--r113
https://github.com/mrdoob/three.js/milestone/26?closed=1
(609,407 KB, gzip: 151,804 KB)
Source
- Global
- Replace non-breaking with regular space. #18247, #18261, #18260 (@chrisrenner, @Mugen87, @FunFetched)
- Deprecate
Matrix*.applyToBufferAttribute()
methods. #18264 (@WestLangley) - Always use white as default color for
Mesh
,Points
andLine
. #18325 (@Mugen87) - Rename
.applyMatrix()
to.applyMatrix4()
. #18449, #18456, #18466 (@WestLangley)
- BufferAttribute
- Update deprecated
.setDynamic()
warnings. #18391 (@WestLangley)
- Update deprecated
- Camera
- Update
.matrixWorldInverse
in.updateWorldMatrix()
. #18351 (@DavidPeicho)
- Update
- Font
- Frustum
- Rename
.setFromMatrix()
to.setFromProjectionMatrix()
. #18457 (@WestLangley)
- Rename
- InstancedMesh
- KeyframeTrack
- Don't overwrite times/values in
.optimize()
. #18469 (@donmccurdy)
- Don't overwrite times/values in
- Math
- OrthographicCamera
- ParametricGeometry
- PMREMGenerator
- ShadowMaterial
- Support tone mapping and output encoding. #18374 (@WestLangley)
- Vector3
- Added
.setFromMatrix3Column()
. #18343 (@WestLangley) - Support the zero vector in projections. #18510 (@WestLangley)
- Added
- WebGLAttributes
- Reduce heap allocations when using WebGL2 and partial buffer updates. #18418, ce45cc3 (@aardgoose, @mrdoob)
- WebGLBackground
- Improve compilation of background material. #18378, #18420 (@WestLangley)
- WebGLPrograms
- WebGLRenderer
- Use single parameter object for program acquisition. #18279, #18403, #18365 (@Mugen87, @gero3, @WestLangley)
- Fixed shader compile error. #18299, #18379 (@elalish, @WestLangley)
- Clarified limitations of
inverseTransformDirection()
. #18317 (@WestLangley) - Simplified soft shadow shader. #18328 (@elalish)
- Refactor invocation of
initMaterial()
. #18395 (@Mugen87) - Removed outdated
flipEnvMap
comments. #18438 (@WestLangley) - Remove envMap flipping for
CUBE_UV
textures. #18441 (@WestLangley) - Avoid duplicate initialization of materials in
.compile()
. #18415, 03d741d (@EliasHasle, @mrdoob)
- WebGLRenderTarget
- Pass optional mapping property to Texture constructor. #18432 (@WestLangley)
- WebGLRenderTargetCube
- Renamed to
WebGLCubeRenderTarget
. #18286, #18294, #18306 (@WestLangley) - Simplify constructor signature. #18300 (@WestLangley)
- Renamed to
- WebGLTextures
- WebGLUniforms
- Add new mapping to uniform setter for WebGL2 samplers. #18336 (@DavidPeicho)
- Support
uint
uniform type. #18436 (@Mugen87)
- WebXRManager
- Don't double-invert view matrix. #18345, 5e3b159 (@willcassella, @mrdoob)
- Improve timing when
.isPresenting
is changed. #18375 (@Mugen87) - Allows near and far clipping to be set. #18320, ca9c14a (@DougReeder, @mrdoob)
- Expose the
XRInputSource.gripSpace
for XR controllers. #18362, 0a67f08 (@toji, @mrdoob)
Documentation
- Update link to
glTF
Blender addon. #18288 (@donmccurdy) - Improve formatting. #18290, #18295, #18493 (@Mugen87)
- Fix type of
EffectComposer.passes
. #18291 (@takahirox) - Use
BufferGeometry
inPointsMaterial
code example. #18296 (@Mugen87) - Add
MathUtils.setQuaternionFromProperEuler()
. #18305 (@WestLangley) - Remove wrong inheritance in
ShapePath
. #18313 (@gonnavis) - Clarify
Box2
/Box3
descriptions and code example. #18396 (@Mugen87) - Clean up
Skeleton.d.ts
. #18398 (@Mugen87) - Fix typo in
Raycaster
. #18434 (@ligaofeng0901) - Improve CSS in
Creating a scene
guide. #18444 (@Mugen87) - Use
BufferGeometry
inDrawing lines
guide. #18453 (@Mugen87) - Fix method name of
ShapeUtils.isClockWise()
. #18458 (@Mugen87) - Add missing pages for
ImageUtils
andPMREMGenerator
. #18480 (@Mugen87) - Simplify
Creating-a-scene
guide. #18492 (@Mugen87) - Clarify
Vector3.project()
andVector3.unproject()
. #18488 (@WestLangley) - Fix typo in
How to run things locally
guide. #18516 (@skyclo)
TypeScript
- Clean up. #18275, #18478 (@Mugen87, @Mike-Dax)
- Fix material and geometry declaration of Sky. #18250 (@Mugen87)
- Fix signatures for
.setCrossOrigin()
and.transformUv()
. #18257 (@OndrejSpanel) - Fix class name of
TypedGeometryExporter
. #18266 (@terrierscript) - Add missing
.is***
types. #18259 (@yomotsu) - Added
MeshSurfaceSampler.d.ts
. #18276 (@Mugen87) - Add
.uniformsNeedUpdate
toShaderMaterial
. #18289 (@rhuitl) - Add TypeScript setup guide. #18337 (@DavidPeicho)
- Fixed missing export of
PMREMGenerator
. #18358 (@SBRK) - Fixed some math method signatures. #18366 (@OndrejSpanel)
- Added
Box3.setFromBufferAttribute()
. #18370 (@mcharytoniuk) - Fix
WebGLShadowMap
constructor. #18372 (@OndrejSpanel) - Fix
WebGLRenderer.renderBufferImmediate() and
WebGLRenderer.renderBufferDirect()`. #18369 (@OndrejSpanel) - Remove
PixelType
, useTextureDataType
instead. #18383 (@Mugen87) - Fix return type of
Matrix4.decompose()
. #18394 (@OndrejSpanel) - Fix interface of
WebXRManager
. #18426 (@j-devel) - Expose
AnimationAction
again, addedMaterial.shadowSide
. #18475 (@elalish) - Move
Event
definition to the right place. #18505 (@Mugen87) - Fix
WebGLRendererParameters.alpha
docs. #18514 (@yushijinhun)
Examples
- Clean up. #18251, #18252, #18278, #18353, #18331, #18428, #18443, 6126da9, 3e221c2, 58f5a2f (@Mugen87, @takahirox, @WestLangley, @aardgoose, @mrdoob)
- Make CSS renderers respect
Scene.autoUpdate
. #18244 (@donutcoffee) - Added
instancing_modified
example. #18256 (@WestLangley) - Refactor
instancing_interactive
→instancing_performance
. #18254 (@donmccurdy) - Set
DynamicDrawUsage
on dynamic instancing examples. #18271 (@donmccurdy) - Removed
RaytracingRenderer
. #18283 (@mrdoob) - Removed
WebGLDeferredRenderer
. #18284 (@mrdoob) - Avoid creating instances of
LightShadow
. #18309 (@Mugen87) - Fix vertex color settings. #18357 (@Mugen87)
- Ensure
CodeSerializer
works with uglified code. #18356 (@kaisalmen) - Maintain consistency in shader chunk order. #18373 (@WestLangley)
- Ensure HTTPS project links. #18384 (@Mugen87)
- Add comment regarding the use of
RoughnessMipmapper
. #18429 (@WestLangley) - New implementation of
webgl_tonemapping
. #18407 (@WestLangley) - Fix use of removed
GeometryUtils
method. #18442 (@donmccurdy) - Add
XRControllerModelFactory
class. #18450 (@toji) - Use sRGB transfer function in
GammaCorrectionShader
. #18477 (@WestLangley) - Added
webgl_buffergeometry_compression
example. #18208, d3bb317, 60d0738 (@LeonYuanYao, @mrdoob) - Stop logging time values in loaders. #18506 (@Mugen87)
-
BufferGeometryUtils
- Improve readability of
.computeTangents()
. #18248 (@WestLangley)
- Improve readability of
-
CSS2D/CSS3DRenderer
-
EXRLoader
-
GLTFExporter
- Add null check for skeleton while processing skinned mesh. #18397 (@soccer1mt)
-
GLTFLoader
-
LightProbeHelper
- Honor
WebGLRenderer.outputEncoding
. #18274 (@WestLangley)
- Honor
-
NodeMaterial
-
OBJLoader
-
OrbitControls
-
OutlinePass
- Avoid unnecessary instantiation of objects. #18425 (@WestLangley)
- Add support for skinning/morph targets. #18427 (@Mugen87)
-
PCDLoader
-
STLLoader
-
SVGLoader
- Implement units. #18321 (@yomboprime)
-
SVGRenderer
-
VTKLoader
- Fix
POLYDATA
comparison failing with unicode character. #18292 (@DavidPeicho) - Fix float reading too greedy. #18297 (@DavidPeicho)
- Fix
-
Water
Editor