Three.js Versions Save

JavaScript 3D Library.

r134

2 years ago

https://github.com/mrdoob/three.js/wiki/Migration-Guide#r133--r134 https://github.com/mrdoob/three.js/milestone/47?closed=1

  • FileLoader
    • Use fetch API. #22510 (@DefinitelyMaybe, @gkjohnson)
  • ImageLoader
    • Clean up. #22666 (@linbingquan)
  • LoaderUtils
    • Add resolveURL(). #22707 (@robertlong)
  • MeshPhysicalMaterial
    • Added sheen textures. #22687 (@Mugen87)
    • Renamed *Tint to *Color. #22748 (@mrdoob)
  • PMREMGenerator
    • Fixed using compressed cubemaps. #22699 (@Mugen87)
  • Texture
    • Add userData property. #22698 (@Mugen87)
  • WebGLRenderer
    • Remove support for ImmediateRenderObject. #22643 (@Mugen87)
    • Lighter getProgramCacheKey() when using RawShaderMaterial. #22650 (@dbuck)
  • WebGLShadowMap
    • Make VSM samples a GLSL define. #22708 (@Mugen87)

Documentation

  • Clean up. #22672 (@raghav-wd)
  • Improved Curve page. #22747 (@Mugen87)
  • Improved InstancedMesh page. #22639 (@Mugen87)
  • Improved WebGLRenderer page. #22706 (@Mugen87)
  • Fix redirect condition for *BufferGeometry. #22680 (@inokawa)
  • Improved Chinese translation. #22746 (@obf1313)

Examples

  • Clean up. #22617, #22629, #22739 (@linbingquan, @Mugen87)
  • Improved webgl_geometry_spline_editor example. #22616 (@linbingquan)
  • Add possibility to pass in the HTML container of CSS renderers. #22635 (@pimdewit)
  • Use loop unroll in webgl_shadowmap_pcss example. #22646 (@Mugen87)
  • Removed DeviceOrientationControls. #22654 (@Mugen87)
  • Fix tile glitch in webgl_geometry_minecraft example. #22657 (@Mugen87)
  • Fix clipping in webgl2_materials_texture3d example. #22649 (@rlschuller)
  • Added webgpu_skinning_points example. #22695 (@sunag)
  • Use phong material in webxr_ar_lighting example. #22724 (@Mugen87)
  • Simplified webgl_marchingcubes example. 296e07f2d367549a62efcd189da4d3384135534b (@mrdoob)

  • 3MFLoader

    • Fixed multiple build items referring to the same object. #22663 (@soaresrl)
  • ArcballControls

    • Rename _tbCenter property to target. #22678 (@Mugen87)
    • Add getRaycaster(). #22719 (@Tirzono)
    • Derive from EventDispatcher. #22737 (@Mugen87)
    • Allow setting the gizmos radius factor. #22721 (@Tirzono)
  • ColladaLoader

    • Re-added normal map parsing. #22647, 418d19b82b4c235edba22b8cffb285a0a87661c2 (@jbaicoianu, @mrdoob)
    • Set material opacity when transparent.opaque is null or undefined. #22679 (@BSpolantis)
  • FBXLoader

    • Don’t fail when no pose nodes found for a node. #22744 (@kovacsv)
  • GLTFLoader

    • Add basic KHR_materials_sheen support and example. #22677 (@Mugen87)
  • KTX2Loader

    • Warn when multiple instances in use. #22621 (@donmccurdy)
  • LineMaterial

    • Refactor GLSL. #22726 (@Mugen87)
  • MarchingCubes

    • Migrate to Mesh. #22642 (@Mugen87)
  • NodeMaterial

    • Refactor usage of ShaderNode. #22612 (@sunag)
    • Enhance ShaderNode. #22644 (@sunag)
    • Introduce NodeParser and GLSLNodeParser. #22641 (@sunag)
    • Refactor SkinningNode and introduce ArrayElementNode. #22662 (@sunag)
  • OrbitControls

    • Disallow zoom via mouse wheel while rotating. #22660 (@Mugen87)
  • RoughnessMipmapper

    • Fix export with USDZExporter. #22741 (@elalish)
  • TDSLoader

    • Refactor readString() method. #22651 (@tomsoftware)
  • TrackballControls

    • Fix pinch to zoom with ortho cams. #22709 (@Mugen87)
  • USDZExporter

    • Add support for interleaved data. #22633 (@Mugen87)
  • WebGPURenderer

    • Add support for skinned meshes. #22610 (@sunag, @Mugen87)
    • Introduce WGSL. #22653, #22688 (@sunag)
    • Use attributes location defined by node material. #22665 (@sunag)
    • Fix stencilLoadValue in WebGPUBackground. #22668 (@takahirox)
    • WGSL FunctionNode support. #22715 (@sunag)

r133

2 years ago

https://github.com/mrdoob/three.js/wiki/Migration-Guide#r132--r133 https://github.com/mrdoob/three.js/milestone/46?closed=1

  • Global
    • Create createElementNS() helper in utils.js. #22488 (@linbingquan)
    • Move TextGeometry, FontLoader and Font to examples. #22560 (@Mugen87)
    • Introduce generators to make vector classes iterable. #22548 (@B3epBo0p)
  • BufferGeometry
    • Fix clone(). #22566, #22571 (@Mugen87)
  • Curve
    • Remove unneeded .normalize(). #22503 (@ycw)
  • CurvePath
    • getPoint() honors optionalTarget now. #22533 (@ycw)
  • DataUtils
    • Clamp parameter of toHalfFloat(). #22444 (@Mugen87)
  • ExtrudeGeometry
    • Make all parameters optional. #22536 (@Mugen87)
  • Frustum
    • Fix wrong test in split(). #22496 (@OndrejSpanel)
  • LatheGeometry
    • Make all parameters optional. #22499 (@Mugen87)
  • MathUtils
    • Use crypto.randomUUID() when available. #22556 (@mrdoob)
  • Mesh
    • Prevent infinite loop in raycast(). #22068 (@artificial-jon)
  • MeshPhysicalMaterial
    • Refactored sheen BRDF. #22455 (@WestLangley)
    • Use roughness-squared in sheen BRDF #22456 (@WestLangley)
    • Added sheenRoughness property. #22457 (@WestLangley)
    • Implement sheen as a layer on top of the base later. #22463 (@WestLangley)
    • Remove duplicate transmission property. #22464 (@WestLangley)
    • Added sheen property. #22466 (@WestLangley)
    • Modulate transmission.a with transmissionFactor. #22473 (@mrdoob)
  • Object3D
    • Clean up. #22602 (@linbingquan)
  • ParametricGeometry
    • Make all parameters optional. #22539 (@Mugen87)
    • Remove from core. #22559 (@Mugen87)
  • Quaternion
    • Added random(). #22494 (@brianpeiris)
  • Raycaster
    • Set recursive default value to true. #22460, #22500 (@WestLangley)
  • ShadowMaterial
    • Add missing shader chunks. #22481 (@Mugen87)
  • ShapeGeometry
    • Make all parameters optional. #22513 (@Mugen87)
  • SkinnedMesh
    • Fix raycasting with morph targets.#22581 (@makc)
  • Triangle
    • Add setFromAttributeAndIndices(). #22404 (@Mugen87)
  • TubeGeometry
    • Make all parameters optional. #22540 (@Mugen87)
  • Vector3
    • Added randomDirection(). #22494 (@brianpeiris)
  • WebGLRenderer
    • Refactoring GLSL. #22471, #22475 (@WestLangley)
    • Unified glsl.js files. #22493 (@mrdoob)
    • Support more than eight morph targets with WebGL 2. #22293, #22516, #22573, #22624 (@Mugen87)
    • Add support for SRGB8_ALPHA8 with WebGL 2. #22551 (@Mugen87)
    • Compute vertexTangents consistently. #22564 (@donmccurdy)

Documentation

  • Clarify vector equal() methods. #22446 (@Mugen87)
  • Improve HemisphereLight page. #22450 (@Mugen87)
  • Improve Material page. #22459 (@Mugen87)
  • Improved ShapeUtils page. #22547 (@wolzenbug)
  • Retain filter when switching between docs and examples. #22507 (@octopoulos)
  • Fixed broken links in Korean manual. #22587 (@gandis0713)
  • Improved Chinese translation. #22599 (@peiyu7921)

Examples

  • Clean up. #22521, #22526, #22570 (@Mugen87)
  • Honor 16 bit limit in webgpu_compute. #22440 (@sunag)
  • Improved games_fps example. #22506 (@octopoulos)
  • Added ArcballControls and misc_controls_arcball example. #21989 (@danielefornari, @cignoni)
  • Added webgl_materials_instance_uniform_nodes example. #22504 (@sunag)
  • Added webgl_morphtargets_face example. #22514 (@looeee)
  • Fix broken PackedPhongMaterial. #22569 (@Mugen87)

  • GLTFLoader

    • Allow multiple associations. #21737 (@takahirox)
    • Fix missing associations. #22583 (@timmmeh)
    • Clean up normalScale workaround. #22584 (@donmccurdy)
  • KTX2Loader

    • Add examples/js build. #22485 (@donmccurdy)
    • Warn on missing call to detectSupport(). #22519 (@donmccurdy)
  • NodeBuilder

    • Fix missing LinearEncoding #22439. (@sunag)
    • Adding new features to WebGLNodeBuilder. #22474 (@sunag)
  • NodeMaterial

    • Add support for arrays of uniforms. #22497 (@sunag)
    • Add Material.onBeforeRender(). #22417 (@sunag)
    • Rename SwitchNode to SplitNode #22509 (@sunag)
    • Introduce new material classes. #22518 (@sunag)
    • Added classes to enable particle effects. #22538 (@sunag)
    • Accessing modules from Node lib. #22554 (@sunag)
    • Enhance TimerNode. #22567 (@sunag)
    • Rename Node.type to Node.nodeType and introduce Node.type with new semantics. #22572 (@sunag)
    • Fix sRGBEncoding map using WebGL2. #22585 (@sunag)
    • Static and dynamic output type for extended nodes. #22590 (@sunag)
    • Add CheckerNode. #22592 (@sunag)
    • Add ShaderNode. #22603 (@sunag)
  • RGBELoader

    • Clamp prior to converting to half float. #22451 (@WestLangley)
  • RGBMLoader

    • Fix alerts in UPNG.js. #22578 (@Mugen87)
  • SAOPass

    • Fix depthTexture initialization. #22502 (@twastvedt)
  • SVGLoader

    • Honor fill-rule. #22597 (@qeeqez)
  • TextureNode

    • Support to sampler and texture property output. #22501 (@sunag)
  • TransformControls

    • Remove snap on pointerdown. #22491 (@Mugen87)
  • USDZExporter

    • Add support for Material.alphaMap. #22591 (@sunag)
    • Fix alpha output. #22596 (@sunag)
  • WebGPURenderer

    • Add check for adapter creation failure. #22482 (@sunag)
    • Add WebGPUUniformBuffer. #22486 (@sunag)
    • Remove unnecessary import in WebGPUUniformsGroup. #22487 (@sunag)

Editor

  • Use pointer events for ViewHelper. #22480 (@Mugen87)
  • Upgrade codemirror to 5.63.0. #22568 (@linbingquan)
  • Optimize drag range for resizer. #22576 (@linbingquan)
  • Support resizer for script/player panels. #22593 (@Mugen87)
  • Limit the min-width style for .Panels and .Tabs #22600 (@linbingquan)
  • Fix CRLF problem #22601 (@linbingquan)

r132

2 years ago

https://github.com/mrdoob/three.js/wiki/Migration-Guide#r131--r132 https://github.com/mrdoob/three.js/milestone/45?closed=1

  • BufferGeometry
    • Remove computeFaceNormals() stub. #22366, 0e2a67b7c9b803a23d09199d866fc0a797a6a866 (@Mugen87, @mrdoob)
  • EdgesGeometry
    • Revert removal of rounding from hash computation. (@Mugen87)
  • Lights
    • Add power() getter/setters. #22298 (@WestLangley)
  • MeshLambertMaterial
    • Honor physicallyCorrectLights when using a light map. #22397 (@WestLangley)
  • MeshMatcapMaterial
    • Add support for vertex tangents. #22248 (@WestLangley)
  • MeshNormalMaterial
    • Rename vertex and fragment shaders. #22277 (@WestLangley)
  • MeshPhongMaterial
    • Added vertex tangent support. #22264 (@WestLangley)
  • MeshPhysicalMaterial
    • Promote ior to a material property. #22238 (@WestLangley)
    • Move transmission uniforms into shader chunk. #22278 (@WestLangley)
    • Remove duplicated varying. #22279 (@WestLangley)
    • Support specular attenuation of environment maps. #22319 (@WestLangley)
    • Fix double application of transmission factor. #22331 (@WestLangley)
    • Properly compute specular attenuation of transmission. #22336 (@WestLangley)
    • Rename .sheen to .sheenTint. #22381, #22385 (@WestLangley)
    • Improve clearcoat energy conservation. #22389 (@WestLangley)
    • Update version for certain transmission changes. #22379, #22443 (@Mugen87, @mrdoob)
  • MeshStandardMaterial
    • Remove roughness-dependent Fresnel from environment lighting. #22308 (@WestLangley)
  • PMREMGenerator
    • Clean up. #22274 (@Mugen87)
    • Correctly reset the background. #22311 (@gkjohnson)
    • Remove calls of convertSRGBToLinear(). #22318 (@Mugen87)
    • Remove extra conversion to RGBE color. #22327 (@gkjohnson)
    • Properly dispose of background material. #22338 (@WestLangley)
  • PropertyBinding
    • Fix _getValue_direct(). #22290 (@Mugen87)
  • WebGLCubeUVMaps
    • Fix onTextureDispose(). #22386 (@OndrejSpanel)
  • WebGLMaterials
    • Only update transmission uniforms when material.transmission > 0. #22427 (@mrdoob)
  • WebGLProgram
    • Improved console error. #22307 (@mrdoob)
    • Fix transmission checks. #22377, #22387 (@Mugen87, @OndrejSpanel)
  • WebGLRenderer
    • Clean up shaders and better naming conventions. #22234, #22263, #22288, #22296, #22313, #22361, #22363, #22367, #22372, #22373, #22374, #22375, #22391, #22415 (@WestLangley)
    • Simplify envmap encoding logic. #22233 (@WestLangley)
    • Removed unused MAXIMUM_SPECULAR_COEFFICIENT constant. #22240, #22250 (@mrdoob, @sunag)
    • Added new shader chunks for tangent support. #22269, #22271 (@WestLangley)
    • Fixed transmission shader crash in WebGL1 and no EXT_shader_texture_lod. #22309 (@mrdoob)
    • Update the Schlick formula signature. #22316 (@WestLangley)
    • Add uv transform support for transmission and thickness maps. #22364 (@zeux)
    • Enable mat2/3/4 attribute in shader. #16141 (@takahirox)
    • Remove artist-friendly factor of PI from shaders. #22393 (@WestLangley)
    • Reset current material in .setRenderTarget(). #22395 (@Mugen87, @takahirox)
    • Only use clearcoat chunks when clearcoat > 0. #22405 (@mrdoob)
    • Turn alphaTest into a uniform. #22409 (@mrdoob)
    • Ignore alpha in output_fragment when using NoBlending. #22424 (@mrdoob)
    • Refactored render loop and fix transmission in VR. #22426 (@mrdoob)
    • Add support for GLTF opaque alpha_mode. #22428 (@mrdoob)
    • Added transmission alpha support. #22425 (@mrdoob)
  • WebGLRenderTarget
    • Ensure internalFormat is set on texture. #22344, 814b851d835c1d5c3356a8c080b20c98968a354b (@gkjohnson, @mrdoob)
  • WebGLTextures
    • Unbind textures with dedicated method. #22394 (@Mugen87)
  • WebGLShadowMap
    • Add support for setting the number of VSM blur samples. #22272 (@gkjohnson)
    • Add support for rendering shadows with displacement maps. #22287 (@gkjohnson)
    • Add support for rendering shadows with alpha maps and alpha test. #22410 (@mrdoob)
  • WebXRManager
    • Switch to native MSAA. #22230 (@cabanier)
    • Clear state and added some accessor functions. #22260 (@cabanier)

Documentation

  • Improved Chinese translation. #22291, #22328, #22358 (@puxiao, @linbingquan)
  • Improved Box3 and Sphere page. #22317 (@puxiao)
  • Improved Plane page. #22329 (@puxiao)
  • Improved Matrix4 page. #22310 (@puxiao)
  • Improved WebGLRenderer page. 4f41e1250ba67fb5112bb633e757c08c7a8618e0 (@mrdoob)
  • Update dispose() return type. #22237 (@servinlp)
  • Improve description of light intensity and power units. #22299 (@WestLangley)
  • Fix typos. #22433 (@saintmalik)

Examples

  • Removed webgl_materials_envmas_parallax example. #22369 (@mrdoob)
  • Removed webgl_materials_parallaxmap example. #22370 (@mrdoob
  • Removed webgl_materials_shaders_fresnel example. #22215 (@mrdoob)
  • Removed webgl_loader_gltf_extensions example. #22276 (@mrdoob)
  • Removed webxr_vr_lorenzattractor example. #22315 (@mrdoob)
  • Convert utils files to esmodules. #22284, #22270, #22305, #22306 (@marcofugaro)
  • Added transmission to webgl_furnace_test example. #22335. #22349 (@WestLangley)
  • Fixes and cleanup in webxr_vr_layers example. #22325 (@felixmariotto)
  • Improved webgl_postprocessing_crossfade example. b834b5569bed1a854e4266c58bece76b60cb8f1e (@mrdoob)
  • Improved webgl_loader_lwo example. f4601f33b222c34dedb4b2d4d5dd554894fab251 (@mrdoob)
  • Improved webgl_shadowmap_vsm example. 74bf45ae3309661b976052a3b4c54f9de28c3c8f (@mrdoob)
  • Improved webgl_animation_multiple example. #22429 (@samueldg)

  • BufferGeometryUtils

    • Allow tree-shaking. #22267, #22304 (@marcofugaro)
  • CSS3DRenderer

    • Add support for CSS3DSprite with parent scale. #22235 (@GiuseppeRaso)
  • FBXLoader

    • Clean up. f2eb381d5c8c61f494cdeefdf5949599e49562fe (@mrdoob)
    • Check for null textures. #22239 (@camnewnham)
    • Can't check image until loaded. #22289 (@camnewnham)
  • GeometryCompressionUtils

    • Removed unused code. 9e30cb42a9f8c0c720e8da57b3b20bdc17650d98 (@mrdoob)
  • GLTFLoader

    • Fix cubicspline interpolation for quaternions. #22347 (@Mugen87)
  • IFCLoader

    • Various improvements and fixes. #22352 (@agviegas)
  • KTX2Loader

    • Enable zstddec decode in web worker. (@deepkolos) #21984
    • Warn on outdated Basis library. (@donmccurdy) #22314
  • LDrawLoader

    • Improve smooth normal generation performance. #22231, #22228, #22247 (@gkjohnson)
    • Improve parts library ergonomics, improve normal smoothing functionality. #22249 (@gkjohnson)
    • Parallelize parts library downloads to improve load times. #22253 (@gkjohnson)
    • Fix scenario where geometry was not getting smoothed. #22261 (@gkjohnson)
  • NodeMaterial

    • Update BSDFs from the last updates. #22301 (@sunag)
    • Basic BSDFs of MeshStandardMaterial and NodeBuilder simplification. #22398 (@sunag)
  • RGBELoader

    • Fix numElements loop. #22390, 3a2f592fd5c29cf0e0a09d1be71faaced32396ae (@OndrejSpanel, @mrdoob)
  • SelectionBox

    • Add support for InstancedMesh. #22399, b88cb7f8e2209abb8c31fe6fe15dcebea46e50af (@Steviebaa, @mrdoob)
  • TGALoader

    • Fix blue component handling for 16-bit (RGBA5551) images. #22360 (@Ithamar)
  • WebGPURenderer

    • Replace deprecated constant. #22330 (@Mugen87)
    • Removed Blinn Phong Support. #22413, #22420 (@sunag, @Mugen87)
    • Support interleaved buffer data. #22421 (@Mugen87)

Editor

  • Fix const assignment. #22225 (@Mugen87)
  • Fix userData textarea. #22419 (@Mugen87, @ostatni5)

Tests

  • Improved readability in ci.yml. #22384 (@GmBodhi)

r131

2 years ago

https://github.com/mrdoob/three.js/wiki/Migration-Guide#r130--r131 https://github.com/mrdoob/three.js/milestone/44?closed=1

  • EdgesGeometry
    • Remove rounding from hash computation. #22099 (@Mugen87)
  • InstancedMesh
    • Fix color attribute initialization. #22171 (@FoolHen)
  • Material
    • Remove morphTargets and morphNormals properties. #22169, #22244 (@Mugen87)
  • MeshBasicMaterial
    • Clean up vertex shader. #22053 (@WestLangley)
  • MeshMatcapMaterial
    • Add support for vertex tangents. #22248 (@WestLangley)
  • MeshPhysicalMaterial
    • Ensure thicknessMap is correctly used in the shader. #22116 (@takahirox)
    • Fix refraction shader code. #22224 (@takahirox)
    • Fixed overblown color in transmission_fragment. #22125 (@mrdoob)
    • Add specular support and KHR_materials_specular support to GLTFLoader. #22156 (@takahirox)
    • Renamed attenuationColor to attenuationTint. #22206, #22211 (@mrdoob)
  • MeshStandardMaterial
    • Remove vertexTangents property. #22146, #22182, #22189, b421217222f3b3fd550a91d43054f3e50174eabc, 0304b4b2ad924e37b1d7b63bde6a4d560385434d (@donmccurdy, @mrdoob, @Mugen87)
  • SphereGeometry
    • Increased default widthSegments to 32 and heightSegment to 16. #22141 (@mrdoob)
  • WebGLRenderer
    • Rearrange logic in renderObjects() to reduce CPU-side draw cost for multi-camera setups. #22123 (@davehill00)
    • Integrate PMREM. #22178, #22199 (@Mugen87)
    • Fix render state management in compile(). #22220 (@Mugen87)
  • WebXRManager
    • Use classic WebGLLayer to support anti-aliased output for layers. #22127 (@cabanier)
    • Add support for foveation. #22162 (@cabanier)
  • WireframeGeometry
    • Prevent duplicate edges. #22097 (@Mugen87)

Documentation

  • Improve AnimationUtils page. #22213 (@Mugen87)
  • Improve InstancedBufferGeometry page. #22152 (@Mugen87)
  • Improve Libraries and Plugins page. #22200 (@gkjohnson)
  • Improve Lut page. #22148 (@Mugen87)
  • Improve Material Constants page. #22136 (@gkjohnson)
  • Improve OrbitControls page. #22101 (@vsh)
  • Improve SphereGeometry page. #22142, #22193 (@Mugen87)
  • Prevent HTML markup in filter result. #22108 (@Mugen87)
  • Remove browser support page. #22140 (@Mugen87)
  • Fix redirect for geometry generators. #22153, 35bdc42a8115c7404997b9ef9b9e7fdb832a5099, ec5fb63a0b557474844f458065e5b26a22667e4e (@Mugen87, @mrdoob)
  • Improve Chinese translation. #22155, #22184 (@moshuying, @puxiao)
  • Add BufferAttribute usage constants page. #22173 (@gkjohnson)

Examples

  • Clean up. #22221, #22222, b5014ca71d3f1b3bf771d1b8a93813578b250b93 (@WestLangley, @mrdoob)
  • Use ImageLoader in webgl_panorama_cube example. #22065 (@puxiao)
  • Enhance GUI of webgl_materials_physical_transmission example. #22111 (@takahirox)
  • Make use of setPointerCapture() in controls. #22118 (@Mugen87)
  • Fix webaudio_sandbox example in Safari. #22149 (@brianpeiris)
  • Simplify webgl_morphtargets_sphere example. bb484d616955e2bf1c3329383c3c0cc3543ccf71 (@mrdoob)
  • Simplify webgl_loader_ldraw example. 2f09982f44bd613a9478ab3bb1ff210db27d92d2, 00d65845df4fef6d1ebb476ada18158c118b24cb (@mrdoob)
  • Increase the scale limit in webgl_materials_parallaxmap example. #22112 (@Calinou)
  • Improve lighting in webgl_loader_ldraw example. #22188 #22191 (@mrdoob, @gkjohnson)
  • Enhance webxr_vr_layers example. #22144 (@sigmaxipi)

  • ColladaExporter

    • Enable configuration of up axis. #22143 (@Oletus)
  • CSSRenderers

    • Prevent selection and dragging of CSS objects. #22106 (@Mugen87)
  • FBXLoader

    • Check null textures before assignment. #22114 (@camnewnham)
    • Increase sampling for nurbs geometries. #22202 (@Mugen87, @WestLangley)
  • GLTFExporter

    • Added KHR_materials_transmission and KHR_materials_volume support. #22214 (@mrdoob)
  • GLTFLoader

    • Add KHR_materials_volume and KHR_materials_ior extensions support. #22117 (@takahirox)
  • HTMLMesh

    • Reuse <canvas> instance. #22098 (@mrdoob)
  • IFCLoader

    • Update to latest IFC.js. #22113 (@agviegas)
  • LDrawLoader

    • Wrap conditonal line material, remove canHaveEnvMap field. #22183 (@gkjohnson)
    • Fix slanted normals. #22181 (@gkjohnson)
  • LineMaterial

    • Fixed alpha-to-coverage bug. #22135 (@WestLangley)
  • OrbitControls

    • Add getDistance(). #22126 (@marcofugaro)
  • RGBELoader

    • Use HalfFloatType as default texture type. #22190, #22265 (@Mugen87)
  • SVGLoader

    • Fix round rects when only rx or ry is specified. #22124 (@nkrkv)
    • Improve round rect corners approximation. #22132 (@nkrkv)
  • TrackballControls

    • Fix scale finished rotate on mobile. #22100 (@leoshenhh)
  • TransformControls

    • Expose raycaster. #22070 (@Experiment5X)
  • USDZExporter

    • Only include metalnessMap/roughnessMap when metalness/roughness is 1. #22201 (@mrdoob)
  • WebGPURenderer

    • Fix broken resize. #22128 (@Mugen87)
    • Replace outdated context type argument. #22210 (@Mugen87)

Editor

  • Add support for PLY point clouds. #22138 (@Mugen87)
  • Turn off autocomplete of input elements. #22157 (@Mugen87)
  • Add manual link. #22175 (@Mugen87)
  • Make only visible objects Viewport selectable. 4c99322347be26e2449b35f6e4fe690d06f22cbd (@mrdoob)
  • Fix equirectangular getting lost when changing antialias. #22186 (@mrdoob)
  • Store equirectangular environment. #22187 (@mrdoob)
  • Refactored SidebarMaterial. #22194 (@mrdoob)
  • Added attenuationTint, attenuationDistance and thickness to SidebarMaterial. #22208 (@mrdoob)
  • Improve Chinese translation. #22219 (@linbingquan)

Tests

  • Remove installation checking for E2E. #22168 (@munrocket)

r130

2 years ago

https://github.com/mrdoob/three.js/wiki/Migration-Guide#r129--r130 https://github.com/mrdoob/three.js/milestone/43?closed=1

  • Global
    • Clean up. #21955, #21961, #21971, 268aeae388716c838a73351af5a4312a59624168, 65e6b4835ae52ea6136392b12ee7114bccefc35a, 8ff5d832eedfd7bc698301febb60920173770899 (@linbingquan, @mrdoob)
    • Remove checks for mandatory target parameters. #21990 (@Mugen87)
  • AxesHelper
    • Added setColors(). #22046 (@WestLangley)
  • BufferGeometry
    • Support interleaved data in toNonIndexed(). #21999 (@xawill)
  • MeshPhysicalMaterial
    • Improve transmission support. #21918, #21975 (@takahirox)
  • ObjectLoader
    • Support textures for Scene.background and Scene.environment. #18834 (@meliharvey)
    • Add async API. #22031 (@Mugen87, @mrdoob)
    • Moved JSON handling to geometries #22040 (@mrdoob)
  • WebGLMorphtargets
    • Allow changing number of morph targets. #20845 (@zach-capalbo)
  • WebGLMultisampleRenderTarget
    • Fix mipmap generation. #22064 (@takahirox)
  • WebGLRenderer
    • Improve variable names in BSDF shader chunk. #21927 (@ManitoYu)
    • Render transparent doublesided in two calls. #21967 (@mrdoob)
    • Support Texture and CompressedTexture in copyTextureToTexture3D(). #21942 (@mbredif)
    • Added note about workaround in copyFramebufferToTexture(). a816aafeeb331b4e72138775028fd2e3fd042980 (@mrdoob)
  • WebXRManager
    • Decompose cameraVR.matrixWorld. #21964 (@mrdoob)
    • Add preliminary support for WebXR Layers. #22060 (@cabanier)
  • WebGLTextures
    • Fix mips gen for 3D render targets. #22072 (@Mugen87)

Documentation

  • Improved Creating A Scene page. #21970, #22021 (@induratized, @lukeingalls)
  • Improved Matrix4 page. #22059 (@yomotsu)
  • Improved Object3D page. #21953, 56688256adcb24fcc43ca86309991fe03cbcae95 (@makc, @mrdoob)
  • Improved PointLightShadow page. #21917 (@makc)
  • Improved Uniform page. #22050 (@inokawa)
  • Improved VertexTangentsHelper page. #21952 (@makc)
  • Improved WebGLRenderer page. #22049 (@RenaudRohlinger)
  • Improve Chinese translation. #21931, #21946 (@1993heqiang, @javaLuo)
  • Fixed dark theme on empty location hash. #21929 (@felixmariotto)
  • Ensure navigation links are properly selected. #22057 (@Mugen87)
  • Improved AnimationMixer page. #22076 (@Mugen87)

Examples

  • Clean up. #21904, #21947, #22051, 80e1a0afdf92e6a5474288ff169d898faa93064b, 95df9f8bbc3a7aa9e3d67951d353f14f6143c87c (@Mugen87, @mrdoob, @WestLangley)
  • Add tags for example with GPU stats panel. #21908 (@gkjohnson)
  • Improved webgl_refraction example. #21938 (@Mugen87)
  • Fix dark theme on empty location hash. #21932, #21943, 4f4c845c5cc127f3c90b77417c0462d2e4813bc4 (@felixmariotto, @mrdoob)
  • Fix collision detection in games_fps example. #21925 (@felixmariotto)
  • Remove preventDefault() from control mouse handlers. #21935, #21957 (@Mugen87)
  • Remove usage of changedTouches in all controls. #21959 (@Mugen87)
  • Improved webgl_materials_physical_transmission example. #21969, #22029, #22054, #22062 (@mrdoob, @WestLangley)
  • Refactor webgl_loader_pcd example. #22019 (@WestLangley)
  • Update WebXR Layers example to compare quality. #22083 (@sigmaxipi)

  • DRACOExporter

    • Fix error message. #21978 (@1993heqiang)
  • DragControls

    • Fully migrate to pointer events. #21958 (@Mugen87)
  • GLTFExporter

    • Use clamped Material.emissiveIntensity. #22007 (@SBRK)
  • GLTFLoader

    • Use Texture instead of CanvasTexture for ImageBitmaps. #21976 (@mrdoob)
    • Return null when failing to load textures. #21977 (@mrdoob)
  • IFCLoader

    • Geometry optimization, select, hide and property fetch. #21905 (@agviegas)
  • MMDLoader

    • Implement MMDToonMaterial. #21922 (@bill42362)
  • NRRDLoader

    • Handling of coronal and sagittal oriented scans. #21962 2f6358dd55956e4f3595f304b2b2c925551228d3 (@developers-mirrorme3d, @mrdoob)
  • OrbitControls

    • Fully migrate to pointer events. #21972 (@Mugen87)
  • Reflector

    • Add support for logarithmic depth buffer. #21983 (@Mugen87)
  • SimplifyModifier

    • Cache vertex indices to speed face generation. #22042 (@NNskelly)
  • TrackballControls

    • Fully migrate to pointer events. #22006 (@Mugen87)
  • TransformControls

    • Improved highlight colors. #22048 (@mrdoob)
    • Redesigned translation/scale modes and increased line thickness. #22061 (@mrdoob)
  • USDZExporter

    • Support MeshPhysicalMaterial. #21901 (@qeeqez)
  • Log a warning when matrixWorld has a negative scale. a40bb1ae1d384c039d5311462404c93b0acef6ba (@mrdoob)

  • Added map transparency support. #22086 (@mrdoob)

  • WebGPURenderer

    • Update to latest API. #22034 (@Mugen87)

Editor

  • Improve Chinese translation. #21919 (@1993heqiang)
  • Fix usage of IFCLoader. #21993, 2272eaecf181ab2486392a4cb8e7f77b8cab72ad (@xawill, @mrdoob)
  • Added vertex colors support to DRACO export. #22001 (@mrdoob)
  • Removed export precision setting. #22002 (@mrdoob)
  • Added equirect option to environment. #22010 (@mrdoob)
  • Store scene background in IndexedDB. #22023 (@mrdoob)
  • Simplified fog handling. 64c69901c01ea8b7ca0f7a0b54d3d950d72a9331 (@mrdoob)

r129

3 years ago

https://github.com/mrdoob/three.js/wiki/Migration-Guide#r128--r129 https://github.com/mrdoob/three.js/milestone/42?closed=1

  • Global
    • Clean up. #21710, #21899 (@linbingquan, @Mugen87)
  • BufferAttribute
    • Move onUploadCallback() back to prototype scope. #21770 (@kaisalmen)
  • BufferGeometry
    • Add applyQuaternion() method. #21835 (@WestLangley)
  • ExtrudeGeometry
    • Improve default uv generator. #21875 (@codrakai)
  • InstancedInterleavedBuffer
    • Fix incorrect clone result. #21781 (@gkjohnson)
  • Material
    • Remove skinning. #21788 (@Mugen87)
    • Convert to class syntax. #21804 (@Mugen87)
  • Matrix4
    • Generalize makeShear() method. #21822 (@WestLangley)
  • MeshPhysicalMaterial
    • Improve transmission support. #21884, #21894, #21897, 00147d9d6be4e333a672e22212332dcbb4881c60, 90abd4f8131fb5728f9c3a4583dd014cbac5a9c8, 090982dd228d21a22add8a4e1a9d39a54a0497d6 (@takahirox, @mrdoob, @whatisor)
  • Object3D
    • Add removeFromParent(). #21826 (@Mugen87)
  • RectAreaLightHelper
    • Ignore inherited scale factors. #21848 (@WestLangley)
  • Skeleton
    • Add computeBoneTexture(). #21829 (@Mugen87)
  • UniformsLib
    • Default color uniforms to white. #21803 (@gkjohnson)
  • WebGLAttributes
    • Check for Uint8ClampedArray. #21876 (@0X-JonMichaelGalindo)
  • WebGLRenderer
    • Remove deprecated parameters check of render(). #21777 (@takahirox)
    • Added MRT support. #16390, #21792, #21810, #21811 (@takahirox, @mattdesl, @edankwan, @mrdoob, @Mugen87)
    • Add workaround for copyTexImage2D in WebGL2. #21893 (@mrdoob)
  • WebGLRenderTarget
    • Clone texture image data when cloning render target. #21719 (@gkjohnson)
  • WebGLState
    • Use getParameter() to detect current scissor/viewport. #21831 (@Mugen87, @gkjohnson)
  • WebXRManager
    • Update to latest WebXR Hands API. #21712, a92265f02be7c5b4f7abdbe05b1f21908485a845, 9bbd837deb3e1d43d5c6c7054211eda5864bea06, 2c9b14387fb40d4ef1dc7aa06fa39d1515cc8433, 571347f504dec332f6905bb3d8ef43f1b405d45c, 9b222612d162b3e39bc3e54ef637461561d31fdb, 729deaf63374912511727025ea814ceab8fc749e, a8517eec7b9725f85f4fd06e4b553447c19fee46, e9d5ba5f47223cd8f0a4e5c31f2a2990feb4f6a1, 4926b0755466ffb63929c13b454088f256757fc3, 9db9ac8716bd0321e1ad4cbad90d9c9a75756ec2 (@fe1ixz, @mrdoob)
    • Introduce updateCamera() and refactor getCamera(). #21886 (@Mugen87)

Documentation

  • Improve Installation page. #21711 (@donmccurdy)
  • Improve Creating text page. #21708, #21725 (@lojjic)
  • Improve MeshPhysicalMaterial page. #21845 (@Mugen87)
  • Improve PlaneGeometry page. #21854 (@FMS-Cat)
  • Improve Shape page. #21862 (@Mugen87)
  • Improved VideoTexture page. #21746, #21866 (@jlivak, @Inklingboiii)
  • Improve WebXRManager page. #21880 (@Mugen87)
  • Improve Chinese translation. #21729, #21873 (@puxiao)
  • Improve Korean translation. #21791, #21807 (@hareha)
  • Improve [link:] handling. 86faacade3ea99116d8af19360bb7839fbc8b620 (@mrdoob)

Examples

  • Clean up. #21767, #21783, #21794, #21796, #21827, #21842, #21856, #21864, #21895 (@Mugen87, @fraguada)
  • Fix GUI in webgl_postprocessing_unreal_bloom_selective example. #21722 (@gonnavis)
  • Add fog tag to webgl_geometry_terrain example. #21736 (@makc)
  • Add webgpu_lights_custom example. #21706 (@sunag)
  • Add license for kenpixel.ttf. #21778 (@Mugen87, @hrieke)
  • Slightly refactor webgl_postprocessing_fxaa example. #21785 (@Mugen87)
  • More ES6 usage in webgl_animation_cloth example. #21787 (@Mugen87)
  • Move jsm/nodes to ES6. #21801 (@Mugen87)
  • Improve CSS in various examples. #21808, #21809 (@Mugen87)
  • More usage of template strings. #21816 (@Mugen87)
  • Add package.json indicating jsm examples are modules. #21838 (@gkjohnson)
  • Add GPU stats panel. #21509 (@gkjohnson)

  • 3DMLoader

    • Fix bug in texture type checking. #21784 (@fraguada)
    • Returning conversion warnings. #21639 (@karimi)
  • CameraUtils

    • Added frameCorners(). #21825, e87bfebbadff63e5208cbb9dffb6418a05f6fc01 (@zalo, @mrdoob)
  • CSS3DRenderer

    • Support CSS3DSprite screen-space rotation. #21823 (@WestLangley)
  • FBXLoader

    • Configure TGALoader with the correct path. #21863 (@Mugen87)
  • GLTFExporter

    • Fix value of emissiveFactor. #21855, #21858 (@Mugen87, @mrdoob)
    • Fix support for RGBA textures. #21888 (@Mugen87)
  • GLTFLoader

    • Clean up JSDoc. #21820 (@donmccurdy)
    • Ignore redundant KHR_texture_transform extensions and textures entries. #21821 (@donmccurdy)
    • Set RGBFormat for jpg with no mimeType. #21892 (@mrdoob)
  • LineSegments2

    • Fix typo in raycast(). #21760 (@amosbyon1224)
  • LineSegmentsGeometry

    • Fix name of fromLineSegments(). #21726 (@Mugen87)
  • LineGeometry

    • Remove copy() function override. #21782 (@gkjohnson)
  • LineMaterial

    • Automatically adjust the USE_DASH define when setting dashed. #21797 (@gkjohnson)
  • MD2Loader

    • Clear previous frame's name. #21766 (@AssassinForReal)
  • MMDLoader

    • Skip transparency check for CompressedTexture. #21878 (@bill42362)
  • NodeMaterial

    • Add RemapNode. #21793 (@donmccurdy)
    • Fix shader code in BasicNode. #21818 (@Mugen87)
    • Add Noise2DNode, Noise3DNode, Fractal3DNode. #21800 (@donmccurdy)
  • Octree

    • Fix and optimize fromGraphNode(). #21834 (@Mugen87)
  • OutlinePass

    • Fix shader code of mask material. #21836 (@codrakai)
  • SSAARenderPass

    • Honor original camera view offset. #21740 (@msimpson)
  • SVGLoader

    • Remove paths with a length less than two points. #21752 (@Ttommeke)
  • TiltLoader

    • Refactor shaders setup. #21721 (@Mugen87)
  • TransformControls

    • Fix gizmo transform. #21732 (@Mugen87)
  • USDZExporter

    • Support transparency. #21747 (@qeeqez)
    • Improve handling of geometries. #21749, #21775 (@qeeqez)
    • Export only visible objects. #21846 (@mrdoob)
    • Store only objects with PBR materials. #21847 (@qeeqez)
    • Added Texture.offset and Texture.repeat support. #21852 (@kolodi)
    • Modulate diffuse map. #21872, afb032b20e5116c921bc40d0095190ef2bcb82f8, a09a70474aa41f8445595e2232d7fc01e45c4a3d (@kolodi, @mrdoob)
    • Clean up. ad868b3b73177c95575b0f8037eac37f5d903bd2, 14fab092b66c9956f3f9f41d515a654a863dd3ca, 73eedf069b21d966938314a1b6c5ff81eeafc067 (@mrdoob)
  • WebGPURenderer

    • Add pipeline cache. #21741, #21751 (@Mugen87)
    • Add WebGPUProgrammableStage. #21750, #21757 (@Mugen87)
    • Avoid memory leak in WebGPURenderPipelines. #21768 (@Mugen87)
    • Clean up WebGPUBindings. #21779, #21780 (@Mugen87)
    • Add support for alphaTest. #21868 (@Mugen87)
    • Support more vertex formats. #21879 (@Mugen87)

Editor

  • Improve Chinese translation. #21761, #21900 (@1993heqiang, @linbingquan)
  • MoveObjectCommand should dispatch added event. #21812 (@carstenschwede)
  • Added transmission support. #21896 (@mrdoob)

Tests

  • Fix GLTFExporter unit test. #21728 (@takahirox)
  • Fix Clock unit test under latest node.js. #21730 (@Mugen87)
  • Removed gimbalLocalQuat from Euler unit test. #21844 (@mrdoob)

r128

3 years ago

https://github.com/mrdoob/three.js/wiki/Migration-Guide#r127--r128 https://github.com/mrdoob/three.js/milestone/41?closed=1

  • Global
    • More usage of ES6 features. #21546, #21622, #21623, #21624, #21625, #20016, #21628, #21635, #21643, #21646, #21648, #21662 (@linbingquan, @Mugen87, @ianpurvis, @john-keith)
    • Add build-examples script. #21584, #21587, #21588, #21591, #21677 (@marcofugaro, @gkjohnson)
    • Remove more deprecated methods to improve tree-shaking. #21649 (@marcofugaro)
    • Improve ES6 toolchain. #21650, #21657, #21678 (@marcofugaro)
    • Rename test-lint npm script to lint. #21652 (@marcofugaro)
  • Color
    • Support color names using uppercase. #21687 (@puxiao)
  • DataTexture2DArray/3D
    • Set unpackAlignment to 1 by default. #21633 (@mrdoob)
  • Helpers
    • Add missing dispose() methods. #21577 (@acu192)
  • Material
    • Fix serialization of certain envMap properties. #21701 (@jimi75)
  • MathUtils
    • Refactor code to allow for tree-shaking. #21651, a7b8ed26d088bd12c9ba304eac5874dbefaa3079 (@marcofugaro, @mrdoob)
  • WebGLRenderer
    • Improve docs of packing shader chunk. #21557 (@gonnavis)
    • Fix ImmediateRenderObject with vertex colors. #21602 (@Mugen87)
  • WebGLTexture
    • Fix updateMultisampleRenderTarget(). #21570 (@Mugen87)
  • WebXRController
    • Dispatch move event when moving. a63ff05a8c5a0663a39ddc7fa599bb27d74ce0e7, 979d8f284cffe9bbf9d618e67462b69e5e9d430d (@mrdoob)
  • WebXRManager
    • Get linear/angular velocity for targetRay and grip poses if available. #21524, b82d7bd874f6aae093ee2708ddb91dd6d45a597c (@davehill00, @mrdoob)
  • XRHandPrimitiveModel
    • Use InstancedMesh. #21702, 8e50d5c8365c8693065a349994692fdeb5efa97b, c1790135ceee7a57bbd33ac47f1338d7bdafa012, b3df09a0d04b06a6cd1cfe9a8ab960a20c3a00cd (@zalo, @mrdoob)

Documentation

  • Improved SkinnedMesh page. #21561 (@prominentdetail)
  • Improved TrackballControls page. #21703 (@mrdoob)
  • Improved WebGLRenderer page. #21637 (@yomboprime)
  • Added five-server to the docs. #21550 (@yandeu)

Examples

  • Clean up. #21552, #21566, #21664, #21671, #21684, #21688, #21704, 96971a631669975baba0fcf77060dd9644987ed5, 1912046996da5a7085fa15db76a18bcfadb7bd9c (@Mugen87, @marcofugaro, @mrdoob)
  • Convert codebase to ES6. #21563, #21583, #21585, #21586, #21589, #21592, #21593, #21597, #21596, #21598, #21599, #21600, #21601, #21604, #21605, #21611, #21610, #21612, #21614, #21616, #21618, #21619, #21621, #21620, #21629, #21632, #21630, #21645, #21644, #21653, #21658, #21660, #21680 (@Mugen87, @yomboprime, @tentone, @fraguada)
  • Fix param use2DLut in webgl_postprocessing_3dlut example. #21613 (@kchapelier)
  • Removed XLoader. #21617 (@Mugen87)
  • Mark certain event listeners in controls as non-passive. #21642 (@puxiao, @WestLangley)
  • Removed onmousewheel attribute in index.html. #21647 (@puxiao)
  • Update fflate version. #21669 (@gkjohnson)
  • Convert jsm files to use bare three import before npm publish. #21654 (@gkjohnson)
  • Refactor Sky usage. #21681, #21575 (@Mugen87, @sirxemic)
  • Fix webgl_gpgpu_birds references error. #20675 (@gonnavis)
  • Bring dat.gui inside VR. #21700 (@mrdoob)
  • Use RoomEnvironment in webgl_animation_keyframes example. fe12f87c15b29d75a569e66b09e74f510119c651 (@mrdoob)
  • Use allow="" attribute in <iframe>. e041a2f6be2d57617c8b8a06498a3e29f1a2a47a (@mrdoob)
  • Removed #webxr-hands flag message. 5ed5390e040c3856543f4a74ed8988009186e86a (@mrdoob)

  • AmmoPhysics

    • Moved drawUsage logic to example. 1da44f66f1189c273cbc85d40c27523e73a65efc (@mrdoob)
  • GLTFLoader

    • Fix incorrect boundingBox for normalized attributes. #21554 (@donmccurdy)
    • Add createNodeMesh() hook. #21458 (@takahirox)
  • IFCLoader

    • Make WASM path configurable and update IFC library. #21683 (@agviegas)
  • KTX2Loader

    • Update ktx-parse dependency, import enums. #21567 (@donmccurdy)
  • NodeMaterial

    • Integrate new node material into WebGLRenderer. #21117 (@sunag)
    • Fix expected behavior of .colorNode property. #21692 (@sunag)
    • Add selective lights support for WebGPURenderer. #21322 (@sunag)
    • Fix warnings in WebGLNodeBuilder. #21705 (@sunag)
  • OBB

    • Use Matrix4.setFromMatrix3(). #21562 (@Mugen87)
  • SSRPass

    • Reflector use clipping plane. #21574 (@gonnavis)
    • Change surfDist and infiniteThick behavior. #21539, #21668 (@gonnavis)
  • VRMLLoader

    • Upgrade chevrotain to latest version. #21694 (@Mugen87)
  • WebGPURenderer

    • Update to latest WebGPU API. #21699 (@Mugen87)

Editor

  • Use class syntax in ViewHelper. #21631 (@Mugen87)
  • Remove the default color value of SpotLightHelper. #21675 (@1993heqiang)
  • Fix equirect backgrounds. #21690 (@Mugen87)
  • Use networkFirst in sw.js. 0b608ec69ab413eb17eb9b93a2e780e9ab072f53 (@mrdoob)
  • Only display video renderer when SharedArrayBuffer is available. 71ffae30b3c75407d87696f726392215885dd8f9 (@mrdoob)
  • Signal clean up. 0f418c7f6eaa7c062f2bd3824be64e92b0d318ac (@mrdoob)
  • Save renderer changes automatically. 7c3d2f44fd34796b038b74190d64cf4fbd3574cf (@mrdoob)
  • Empty project title on clear. e07eca4c0b773689cd32f9c8cef30714c3a8e550 (@mrdoob)

r127

3 years ago

https://github.com/mrdoob/three.js/wiki/Migration-Guide#r126--r127 https://github.com/mrdoob/three.js/milestone/40?closed=1

  • Core
    • More usage of ES6 features. #21407, #21545 (@beginor, @linbingquan)
    • Add test-treeshake script. #21437 (@marcofugaro)
    • Remove some deprecated methods. #21450 (@marcofugaro)
  • BufferAttribute
    • Add .name, .usage, .updateRange serialization. #21279 (@takahirox)
  • BufferGeometry
    • Clarify serialization of buffer attributes. #21464 (@Mugen87)
  • EventDispatcher
    • Remove target references after event dispatch. #18564 (@aardgoose)
  • ImageUtils
    • Added warning when saving image as jpg in getDataURL(). #21386 (@mrdoob)
  • InstancedMesh
    • Honor instanceColor in .toJSON() and ObjectLoader. #21486, 2f1fa4ea6ba68700a16eabfbc4bc681f929ea089 (@Michael4d45, @mrdoob)
  • InterleavedBufferAttribute
    • Add applyNormalMatrix() and transformDirection(). #21434 (@devnev)
  • Line/Points
    • Avoid raw array access in .raycast(). #21475 (@Mugen87)
    • Support drawRange in .raycast(). #21481 (@Mugen87)
  • Material
    • Add alphaToCoverage. #21383 (@Mugen87)
    • Honor missing properties in .toJSON() and MaterialLoader. #21428 (@frading)
    • Add vertex color alpha support. #20975, #21530 (@chubei, @mrdoob)
  • MathUtils
    • Added .inverseLerp(). #21544, #21547 (@Hoodgail, @Mugen87)
  • PointLightShadow
    • Use PointLight.distance for far value if set. #21526 (@Mugen87)
  • Plane
    • Return null instead of undefined in .intersectLine(). #21468 (@Mugen87)
  • Quaternion
    • Use Number.EPSILON in .setFromUnitVectors(). #21484 (@Mugen87, @WestLangley)
    • Add .slerpQuaternions(), deprecate static .slerp(). #21532 (@Mugen87)
  • RoughnessMipmapper
    • Preserve texture UV transform. #21511 (@zeux)
  • Sphere
    • Add .expandByPoint() and .union(). #21493 (@Mugen87)
  • SpotLightShadow
    • Add missing .copy() method. #21527 (@Mugen87)
  • WebGLBackground
    • Remove support for WebGLCubeRenderTarget. #21360 (@Mugen87)
  • WebGLRenderer
    • Move invocation of Scene.onAfterRender(). #21362 (@Mugen87)
    • Add support for multiple programs per material. #20135 (@Mugen87)
    • Refactor framebuffer state management. #21447, #21442, #21518 (@Mugen87)
    • Release cache at the end of .render(). #14946 (@takahirox, @Mugen87)
    • Remove morph target properties. #21522 (@Mugen87)
    • Do not run window.rAF when in XR. #21529 (@Mugen87)
  • WebGLShadowMap
    • Ensure to use the latest reference to WebGLObjects. #21452 (@Mugen87)
  • WebGLState
    • Improve viewport and scissor setup. #21440 (@Mugen87)
  • WebGLTextures
    • Fix render texture re-uploaded on first use. #21455 (@DavidPeicho)
  • WebGLUniforms
    • Add unsigned vector array support for uniform. #21316 (@SuperSodaSea)
  • WebXRController
    • Make targetRay available in hands mode. #21368 (@fe1ixz)

Documentation

  • Clean up. #21354, #21408, #21429, #21478, #21491 (@jj-plane, @Mugen87, @mcharytoniuk, @Vyse12138)
  • Added ?q= support. #21460 (@mrdoob)
  • Call updateFilter() only when ?q= is set. #21462 (@mrdoob)
  • Clarify restrictions of Texture.offset and repeat. #21473 (@Mugen87)
  • Started with Japanese translation. #21474 (@na2shell)
  • Use AudioNode as type for Audio.filters. #21523 (@Mugen87)
  • Improved material browser. 5a51f73e7bdf5b89d58af9b12914bbb16602032a, f9a36387326dcb22a2eef2d1946a3a20523c894e, ec5926a7ce8af6124820fc391a7f01296dd6ac6b, e5e3f069abafa0b0823d09307c0d92de036f2610, e93bffad7a138a3b66d47b7dcb6395bdc71ecf0d, 9fb402cfe8a774fa88254d52aa464c16d40873bd, b50ebc8f742e39b721233f491da5abed0c99b306 (@mrdoob)

Examples

  • Clean up. #21432, #21449, #21471, #21482, #21499, #21513, #21541, #21549, 160344f3ebdea316ccf9411c88083a12dc1ae077, 024cfe8759d2ecd025d8e7445c65e9d09a57c4e7, 98c06041e28fa1cf7011d5b0a79ef83fd7428173, 795a26d1b35884bbd01b9744dd890e2e74d304b1, 0e8e04305a1d9c47997e6e85773dc6c8be3dc79a, 02f4dff06e26304ce67b98f0777786f3ca9428a6 (@Mugen87, @Dvvarf, @yomboprime, @mrdoob)
  • Remove calls of stopPropagation(). #21348 (@Mugen87)
  • Adopt importmaps in WebGPU examples. #21364 (@mrdoob)
  • Move type flags back to prototype. #21378 (@linbingquan)
  • Improved webgl_materials_wireframe demo. #21389, #21390, #21402, #21410 (@gkjohnson, @Mugen87, @mrdoob, @WestLangley)
  • Remove alpha option from webgl_shaders_ocean.html example. #21393 (@Mugen87)
  • Bump MMDParser lib to the latest one. #21397 (@takahirox)
  • Better show WebGL2 error messages. #21400 (@Mugen87)
  • Removed misc_legacy example. #21417 (@mrdoob)
  • Add webgl_shadowmap_progressive example. #21435 (@zalo)
  • Remove AssimpLoader. #21459 (@Mugen87)
  • Fix color values in webgl_materials_envmaps_parallax example. #21363 (@1993heqiang)
  • Introduced DebugEnvironment. 34519f5073c32eca2cf8b571ce03d44a5a80476a (@mrdoob)
  • More usage of Pointer Events. #21494, #21504 (@Oletus, @Mugen87)
  • Fix pixel trails in webgl_gpgpu_protoplanet example. #21510 (@yomboprime)
  • Simplify webgl2_rendertarget_texture2darray example. #21520 (@Mugen87)
  • Replace Event.keyCode with Event.code. #21409 (@puxiao)
  • Add post processing fullscreen triangle optimization. #21358 (@trinketmage)

  • CSS2DRenderer

    • Round values used for translation (Safari-only). #21416 (@simondate)
  • DeviceOrientationControls

    • Add isSecureContext check. #21528 (@Mugen87, @mrdoob)
  • DragControls

    • Ensure hoveroff is fired correctly. #21376 (@tb2k)
  • FunctionNode

    • Improve regex. #21356 (@Mugen87)
  • IFCLoader

    • Added new loader. #20598 (@agviegas)
  • Line2

    • Add support for Alpha To Coverage. #21451 (@gkjohnson)
  • LineSegments2

    • Check bounding box and bounding sphere when raycasting. #21496 (@gkjohnson)
  • LUTPass

    • Fix usage with WebGL1. #21531 (@gkjohnson)
  • MMDLoader

    • Improve animation system for PMX. #21395, #21398 (@takahirox, @ingbunga)
  • OutlinePass

    • Ensure renderTargetDepthBuffer is resized correctly. #21436 (@Julianouyang)
  • ReflectorForSSRPass

    • Fixed feedback and improved robustness. #21385 (@ycw)
    • Expose color. #21506 (@ycw)
  • SSRPass

    • Fixed MAX_STEP. #21384 (@ycw)
    • Correct reflector depth. #21403, #21537 (@gonnavis)
  • SSRrPass

    • Add new pass for screen space refraction. #21420 (@gonnavis)
  • SVGLoader

    • Apply default values when using getAttribute(). #21469 (@Mugen87)
    • Implement custom createShapes() method. #21380 (@Ttommeke)
    • Fix parsing of flags in compressed definitions. #21485 (@Mugen87)
  • TGALoader

    • Derive from DataTextureLoader. #21377 (@deepkolos)
  • Water

    • Removed outputEncoding and toneMapping checks. #21418 (@mrdoob)
  • WebGPURenderer

    • Clean up. #21367 (@Mugen87)
    • Update .requestDevice() descriptor to the latest API. #21366 (@Mugen87)
    • Update to latest vertex formats. #21381 (@Mugen87)
    • Fix rendering of line segments. #21443 (@Mugen87)
    • Follow the latest GPURenderPipelineDescriptor format. #21472 (@takahirox)

Editor

  • Clean up. c45fd2036cce74c24ed31c1d907f888e01050fb6 (@mrdoob)
  • Improved Chinese translation. #21374 (@linbingquan)
  • Improved i18n. #21454 (@1993heqiang)
  • Fixed size and sizeAttenuation UI visibility handling. #21422 (@mrdoob)
  • Improved ShaderMaterial panel. #21423 (@mrdoob)
  • Fixed grid depth glitches. #21430 (@mrdoob)
  • Changed ffmpeg video quality setting. 3e79ce410e9b9dd219a2b2a4dd85ffc7c8ffb504 (@mrdoob)
  • Reset time in app.js’s .start() function. e4c5838786df988d13a3d3b44559c92e68b9f14f (@mrdoob)
  • Added modelviewer environment. b2dde2945663dadbeee2e3e64f17ebd6c73a8eee (@mrdoob)
  • Added XRControllerModelFactory to sw.js. 84c4a6dcb417f2562c4597ea687f4cd342d884d1 (@mrdoob)
  • Improved video progress bar. 27def9d26a56e80fd3cb2739598e9716bab123b0 (@mrdoob)
  • Implement cache per update. 412b99a7f26e117ea97f40eb53d010ab81aa3279 (@mrdoob)
  • Removed 3* extensions from Loader. ca5f932340864a73918edc6d85410c24e26a070f (@mrdoob)
  • Added IFC files support. #21551 (@mrdoob)

Tests

  • Add unit test for Mesh.raycast(). #21399 (@Mugen87)

r126

3 years ago

https://github.com/mrdoob/three.js/wiki/Migration-Guide#r125--r126 https://github.com/mrdoob/three.js/milestone/39?closed=1

Source

  • Global
    • More usage of ES6 classes. #21206, #19985, #21229, #21235, #21232, #21231, #21266, #21285, #21293, #20013, #20100, #20102, #20014, #20009, #21319, #21327, #21342, e7ba1550cd07204d64d86e8913a8103a0c8fb516, 5df56b849f7433d3d6fedbcddb5599a2b38ce47c, 6100437b3e4d83c176e8ec82bf764e71df32f308, 330b18605ae145604f4168cf70802621f11ea2a1, 81487f294d8f69966f575716aae632f1ad9584ac, e9e9bcda18d9f85f5d3ce932e4cffb66f717cad6 (@mrdoob, @Mugen87, @DefinitelyMaybe, @linbingquan, @ianpurvis)
    • Remove TypeScript type declaration files. #21174, #21197 (@mrdoob, @Mugen87)
    • Remove obsolete code in Three.Legacy.js. #21181, #21219, #21310 (@Mugen87, @mrdoob)
    • Added "sideEffects": false in package.json. #21313 (@mrdoob)
    • Removed polyfills.js. #21314, 0c815022849389cbe6de14a93e1c2fc7e4b21c18 (@mrdoob)
    • Stop IE support. #21344, b4b24e310cbb825b8caf1eb7536513c4c33d21b9, d401181625d49b86cc910ed1fec8745c07b97579, 676115e5c72f66182a423eda5befd4922d5f9359 (@mrdoob, @Mugen87)
  • CubeCamera
    • Simplify update(). #21331 (@linbingquan)
  • Face3
    • Remove from core. #21164, #21161, #21394 (@Mugen87, @elisee)
  • ImageBitmapLoader
    • Add support for request headers. #21283 (@gkjohnson)
  • Material
    • Honor lightMapIntensity in .toJSON(). #21166 (@Mugen87)
    • Move flatShading to supported materials. #21200 (@Mugen87)
  • Matrix3
    • Remove superfluous copy in .getNormalMatrix(). #21311 (@Mugen87)
  • Mesh
    • Check Matrial.skinning before applying bone transform in raycast(). #20830 (@zach-capalbo)
  • Object3D
    • Fix world matrix update bug in .attach(). #20759 (@takahirox)
  • Quaternion
    • Add early out in slerpFlat(). #21183 (@jure)
  • Raycaster
    • Simplify code. #21280 (@Mugen87)
  • SkinnedMesh
    • Remove legacy warning. #21193 (@Mugen87)
  • UniformUtils
    • Honor quaternions in cloneUniforms(). #21268 (@jure)
  • WebGLCubeRenderTarget
    • Add missing texture configuration. #21309 (@Mugen87)
  • WebGLRenderer
    • Add workaround for Adreno GPUs gl_FrontFacing bug. #21205, #21307 (@mrdoob)
    • Fix extension warnings. #21204 (@Mugen87)
    • Add possibility to bind 3D textures and 2D textures array as color attachment to framebuffer. #20111, #21243, dfaed955ea446793cdd93641cb8bed65f6575608, 341aa569e4eed79ee34be34e27e35b941a0a7983, effe04bb474904aa136fa5e79c75eca1a29782ac (@DavidPeicho, @mrdoob)
    • Add .copyTextureToTexture3D(). #21244 (@DavidPeicho)
    • Replace perturbNormal() implementation with a more robust version. #21299 (@zeux)
    • Stop default color space conversion. #21336 (@takahirox)
  • WebGLRenderLists
    • Use stack approach. #21254, af07e8ad159a7106da5d2984813e3a282a8e4b75 (@Mugen87, @mrdoob)
  • WebGLState
    • Implement true reset. #21281, #21295 (@Mugen87)

Documentation

  • Improved Chinese translation. #21163, #21215, #21226 (@1993heqiang, @arthur7921, @buglas)
  • Improved Creating a scene page. #21216 (@bukzor)
  • Improved GLTFLoader and GLTFExporter pages. #21261, #21262, #21275, #21277 (@takahirox, @eltociear)
  • Improved Installation page. #21258 (@Mugen87)
  • Improved SpriteMaterial page. #21176 (@Cloud9c)
  • Improved WebGLRenderTarget page. #21306, #21308 (@gsimone, @Mugen87)
  • Improved Useful links page. #21218 (@leonsbuddydave)
  • Fix broken example links. #21180 (@Mugen87)
  • Fix broken link to ImageBitmap MDN documentation. #21291 (@gonnavis)

Examples

  • Clean up. #21184, #21191, #21296, #21335, #21349, 39601236e150caf0dc73e3acf1c89821f51a7c2e (@Mugen87, @schmijos, @mrdoob)
  • Regenerate RGBM textures. #21173 (@Mugen87)
  • Fix toJSON() methods for certain node material classes. #21211 (@Mugen87)
  • Added misc_exporter_usdz example. #21251 (@mrdoob)
  • Simplify webgl_instancing_scatter example. #21250 (@Mugen87)
  • Removed some not so useful examples. #21252, 2dbcb41d02ef3e7457dab2b3353d5c73f11ba793 (@mrdoob)
  • Fix copyright link in webgl_loader_gltf_variants example. #21276 (@takahirox)
  • Make mirror examples resizable. #21297, 1880f08b992a302956021bfb1d08fdc689285924 (@gonnavis, @mrdoob)
  • Remove superfluous texture settings in (S)SAO pass. #21329 (@gonnavis)
  • Updated fflate to 0.6.2 and removed fflate-deflate. 388d9090ce05b0c022bae74c60c4ce42943c500e (@mrdoob)
  • Add SSRPass and webgl_postprocessing_ssr example. #20156 (@gonnavis)
  • Add webxr_ar_lighting example. #20876, c63bdaf8cabb347c3ab7188924890a7452453d75 (@toji, @mrdoob)

  • 3DMLoader

    • Adding updates. #21248, #21347 (@fraguada)
  • AnaglyphEffect

    • Use Dubois matrices. #21302 (@Mugen87)
  • BufferGeometryUtils

    • Fix assignment bug in .computeMorphedAttributes(). #21303 (@Mugen87)
  • CSS2DRenderer/CSS3DRenderer

    • Removed IE support. #21317 (@Mugen87)
    • Remove old css prefixes. #21321 (@yomotsu)
  • GLTFExporter

    • Add plugin system for extensibility. #20842 (@takahirox)
    • Fixed supported material check. 9ea6a221c4ec99ec9a2d932e881cbbf6c8282ba9 (@mrdoob)
    • Fixed accessor reference. 9d8ed2778efdc6d71221865d03dec7d83d281ff3 (@mrdoob)
  • GLTFLoader

    • Make error when loading textures with no data clear. #21177 (@zeux)
    • Revert usage of .computeTangents(). #21186 (@Mugen87)
    • Add before/afterRoot hook points. #21207 (@takahirox)
    • Remove support for MSFT_texture_dds. #21271 (@donmccurdy)
    • Fix bug when loading external WebP texture #21282 (@gkjohnson)
  • NRRDLoader

    • Improved gzip detection code. #21213 (@IsseiMori)
  • SVGLoader

    • New parseFloats() implementation. #21195 (@Mugen87)
  • USDZExporter

    • Added textures support. #21245, #21247, b3974180cde63d86ebab3faed839dfe3ae422df0 (@mrdoob)
    • Reduce vector precision. e35432aab63846ff6269a818fb3666dd6b4d3957 (@mrdoob)
    • Added uv2 warning. 4ad0d3c476d358207b9b319279fd4622a673b970 (@mrdoob)
    • Removed unnecessary lines. d92ea73c3cba8aa756ee7295946e00f86b3bdf7c (@mrdoob)
    • Improved resizing code. 1e210ac8f57d43dd2039b962394c181ef5c25bdc (@mrdoob)
    • Implemented 64byte alignment. 8000053e53fa3167d0d7d836808c54fd0f5f6975 (@mrdoob)
    • Define emissiveColor only when required. ec7718144d9b4e8fd7f912627cd00550faba983b (@mrdoob)
    • Clean up. ff0e2e1b1b3b97358f71a271070039a896abdab1 (@mrdoob)
    • Resize textures to 1024 by default. aa5bb104d2e74a007d19e2f08dcec3a05b134004 (@mrdoob)
    • Improved material parameter nodes. d5326ca5048ec0f37b40f4db833197d172770756 (@mrdoob)
    • Fixed exporting Xforms with duplicated names. ac377cf530fbd03d1bf50bc84aa839801d803919 (@mrdoob)
    • Added material.emissive support. d1de1f019723c58e5eadc14ebec4adcfc554bf05 (@mrdoob)
    • Fixed normals. ddc530d9d0602094ba6af7fb0df9f7bdb246f099 (@mrdoob)
  • VOXLoader

    • Fixed chunk parsing. a36141f54a4cdf278ac1ddd29a14bc17e7a28b4b (@mrdoob)
    • Added VOXDataTexture3D. c460b28646ee6b1ecd6efa6bcb5d6d26976d4114 (@mrdoob)
    • Clean up VOXMesh. 9fa202c2354e6621855d4f6d44e19674ab533aa9 (@mrdoob)
  • VRMLLoader

    • Apply DEF-name to node names. #21217 (@Mugen87)
  • WebGPURenderer

    • Fix uniform updateVector4(). #21160 (@sunag)
    • All UBOs and varyings are generated by node material now. #21170 (@sunag)
    • Update to latest WebGPU API. #21194, #21345 (@Mugen87)
    • More node classes and bug fixes. #21208 (@sunag)
    • Rename ModelViewProjectionMatrixNode to ModelViewProjectionNode. #21253 (@sunag)
    • Set material dispose listener only once. #21346 (@Mugen87)
    • Fix material compile per object and new instance uniform example. #21350 (@sunag)

Editor

  • Clean up. #21325 (@1993heqiang)
  • Call .dispose() on textures. #21159 (@Mugen87)
  • Refactor UI classes. 794af189a146acdbc23507f10bec6d65112e8224, 76ac160f07f80ef3500e1b8e2db4f4eb84122272, 2f30e75cc9055af3c91f3f14acc1691902565c5f, c513508c179d258a0be03552991beee24f82cdf2, a501950082d00f063507e0913ae623408981a2e1, 4885b4c2238d832430495464cdb999262ad0ab77, e5139eb6d699c7e17dab669771007eb971d6a0a4, 6b3b9d608077ec58430c38dcd24885744e91c1a7 (@mrdoob)
  • Allow negative light intensity. f1fb6ee23b3784bca85acd82c232efdf0148c149 (@mrdoob)
  • Added ffmpeg.wasm video renderer. #21221 (@mrdoob)
  • Add center option. #21340 (@Mugen87)
  • Rescued VR mode. #21351, 292e51c58f47eadd3c20329e0bee64bcb5009fa7, 292e51c58f47eadd3c20329e0bee64bcb5009fa7 (@mrdoob)

Tests

  • Add BufferAttribute.toJSON() unit test. #21225 (@takahirox)

r125

3 years ago

https://github.com/mrdoob/three.js/wiki/Migration-Guide#r124--r125 https://github.com/mrdoob/three.js/milestone/38?closed=1

Source

  • Global
    • Log a warning when importing multiple instances of the library. #21128, 2a853ac822aa396f8cafedb30b6693b9a87cd848, 87e6d9ee726afe240856d699e026fdcf55127138 (@mrdoob, @Mugen87)
  • Color
    • Added .lerpColors(). #21061 (@mrdoob)
    • Fix ReDoS in .setStyle(). #21143 (@yetingli)
  • Font
    • Convert to ES6 class. #21050 (@linbingquan)
  • Geometry
    • Remove from core. #21031, #21012, #21015, #21022, #21018, #21033, #21038, #21044, #21046, #21077, #21078, #21082, #21116 (@mrdoob, @Mugen87)
  • InstancedMesh
    • Honor instanceColor in copy(). #21028 (@Mugen87)
  • KeyframeTrack
    • Fix typo in .optimize(). #21071 (@donmccurdy)
  • MathUtils
    • Add .pingpong(). #21091 (@marcofugaro)
    • Add .damp() for framerate independent lerping. #21102 (@marcofugaro)
  • Matrix4
    • Add .setFromMatrix3(). #20991 (@gkjohnson)
  • PMREMGenerator
    • Improve handling of background and clear color. #20983 (@gkjohnson)
    • Make background result independent of premultipliedAlpha setting. #21034 (@gkjohnson)
  • Vector4
    • Add multiply(). #21065 (@marcofugaro)
  • WebGLExtensions
    • Introduce .init(). #21080 (@Mugen87)
  • WebGLRenderer
    • Fix updating some material properties in initMaterial(). #21020, #21043 (@Oletus)
    • Fix getting float render target extensions. #21069, #21073 (@Oletus, @Mugen87)
  • WebGLRenderTarget
    • Convert to ES6 class. #21053 (@alexfriesen)
  • WebGLTextures
    • Set all pixel storage modes for CubeTexture. #20961 (@11zouzouzou)
  • WebXRManager
    • Use async/await in setSession(). #20754 (@Mugen87)
    • Updated WebXR Hand implementation to the new API. #20938 (@cabanier)
    • Update camera's local matrix and transform properties. #19085 (@Mugen87)
    • Reset _currentDepthNear/_currentDepthFar in onSessionEnd(). #21146 (@chpatrick)

Documentation

  • Clean up. #21104 (@Mugen87)
  • Improved Chinese translation. #20976, #20993, #21025, #21066, #21079 (@puxiao, @jiangxiaoxin, @ilzhi, @linbingquan)
  • Improved Korean translation. #20940, #20952 (@hareha)
  • Improved Creating Text page. #20817 (@gonnavis)
  • Improved DRACOLoader page. #20973 (@gkjohnson)
  • Improved GLTFLoader page. #21155 (@donmccurdy)
  • Improved Object3D page. #21124 (@Mugen87)
  • Improved ObjectLoader page. #20988, #20989 (@Cloud9c, @Mugen87)
  • Improved OrbitControls page. #21134 (@1993heqiang)
  • Improved Vector3 page. #21154 (@j13ag0)
  • Add plugins and libraries page. #21010, #21093 (@gkjohnson)
  • Refactor geometry browser. #21030 (@Mugen87)
  • Added docs for KTX2Loader. #21169 (@elalish)

TypeScript

  • Clean up. #21049 (@linbingquan)
  • Improved declaration of clone() methods. #20947 (@Tonvey)
  • Fix KeyframeTrack constructor types. #20994 (@vickyliin)
  • Add loadAsync() typings. #21001 (@mjurczyk)
  • Added Curve.computeFrenetFrames(). #21036 (@ycw)
  • Improved types for AudioContext. #21048 (@linbingquan)
  • Add uuid as a type to Shape. #21058 (@joshuaellis)
  • Add userData to SVGResult.paths. #21059 (@joshuaellis)
  • Improved Skeleton and SkeletonUtils types. #21051 (@maccesch)
  • Added types for XRHandModel and its methods. #21109 (@CodyJasonBennett)
  • Fix typings for CurveModifier and TessellateModifier. #21112 (@cgauld)
  • The canvas parameter of CanvasTexture now accepts ImageBitmap. #21120 (@AlexandrosGounis)
  • Add failIfMajorPerformanceCaveat. #21157 (@Mugen87)

Examples

  • Clean up. #20966, #21115, #21158 (@vvanghelue, @takahirox, @Mugen87)
  • Replace zip libraries with fflate. #20959, #20965, #20970 (@Mugen87, @101arrowz)
  • Refactor webgl_simple_gi. #20996 (@Mugen87)
  • Move example code to BufferGeometry. #20999, #21004, #21006, #21005, #21007, #21013, #21021 (@Mugen87)
  • Consolidate morph target examples. #20998 (@Mugen87)
  • Remove Geometry support from exporters, geometries and modifiers. #21008, #21009, #21026, #21062, #21067, #21060, #21081, #21087, #21090 (@Mugen87, @mrdoob)
  • Removed OBJLoader2 and OBJLoader2Parallel. #21014 (@mrdoob)
  • Simplified and improved RectAreaLight example. #21016 (@mrdoob)
  • Removed FaceNormalsHelper. #21017 (@mrdoob)
  • Fix contact shadow example. #21063 (@marcofugaro)
  • Use event.code instead of instead of event.keyCode. #21055, #21056 (@felixmariotto)
  • Removed SubdivisionModifier. #21072 (@Mugen87)
  • Add photosensitive epilepsy warning to webgl_postprocessing_glitch. #20978 (@FrodoLuo)
  • Remove useCapture parameter from event listeners. #21101, #21110, #21125 (@marcofugaro)
  • Add webgl_loader_gltf_compressed example. #21114, 067cf15b815150f24b0ba072fa688b40d37dc6f5 (@zeux, @mrdoob)

  • 3DMLoader

    • Improved point cloud and NURBS support. #21095 (@fraguada)
  • BasisTextureLoader

    • Update Basis library. #21094 (@donmccurdy)
    • Refactor. #21131, #21144 (@donmccurdy)
  • BufferGeometryUtils

    • Added .computeMorphedAttributes(). #21064, #21086, f21ecafb48030ef61ce7b0abeefe607d6df901b0 (@SntsDev, @mrdoob)
  • CubeTexturePass

    • Clone uniforms and properly configure flipEnvMap. #21130 (@Mugen87)
  • FBXLoader

    • Fix transform inheritance, convert back to local. #20932 (@DVLP)
  • GLTFLoader

    • Respect file contents length defined in header. #21122 (@gkjohnson)
    • Fixed variants normal map scale. #21148, #21168 (@elalish)
  • GLTFExporter

    • Support textures using OffscreenCanvas. #21074 (@TechnologicNick)
  • KTX2Loader

    • Fix calculation of level dimensions for NPOT textures. #20888 (@donmccurdy)
    • Improve parsing and transcoding process. #21137 (@donmccurdy)
  • Line2

    • Fix missed intersections when segment extends behind camera near plane. #21041 (@gkjohnson)
  • LUTPass

    • Improve LUT Sampling. #21040 (@gkjohnson)
  • OrbitControls

    • Introduce listenToKeyEvents(). #21054 (@Mugen87)
  • RGBMLoader

    • Added new loader. #21145 (@Mugen87)
  • TrackballControls

    • Fix middle mouse button. #20990 (@Mugen87)
  • USDZExporter

    • Added new class. #21096, 2ceee29ece712e5a906fc3028d0e9056d390b397 (@mrdoob)
  • WebGPURenderer

    • Clean up. #21118 (@Mugen87)
    • Add initial version of a node based material system. #20421 (@sunag)
    • Move glslang to lib directory. #21139 (@sunag)
    • Refactor glslang import. #21149 (@Mugen87)

Editor

  • Clean up. #21057 (@1993heqiang)
  • Added pen support to EditorControls. #20951 (@arodic)
  • Improve initial parameters of new orthogonal cameras. #20948 (@1993heqiang)
  • Move to fflate. #20971, #20977, #20987 (@Mugen87)
  • Fix remove function of UIPoints. #21011 (@Mugen87)
  • Remove remaining dependencies to Geometry. #21085 (@Mugen87)
  • Fix reference in Sidebar.Material.js. #21105 (@Mugen87)

Tests

  • Add Object3D.DefaultMatrixAutoUpdate unit test. #20963 (@takahirox)
  • Add Object3D.DefaultUp unit test. #20982 (@takahirox)

Utils

  • Fix objectPath formatting to support Windows PC in packLDrawModel. #20964 (@lk-lkaz)