three.js - r160


https://github.com/mrdoob/three.js/wiki/Migration-Guide#r159--r160
https://github.com/mrdoob/three.js/milestone/73?closed=1

  • Global
  • Clarify warning messages. #27288 (@WestLangley)
  • Remove deprecated code. #27341 (@Mugen87)
  • ImageBitmapLoader
  • Cache promises to deduplicate requests. #27270 (@Archimagus)
  • Quaternion
  • Add missing call of _onChangeCallback() to fromBufferAttribute(). #27363 (@Mugen87)
  • Add default parameter to setFromEuler(). #27364 (@Mugen87)
  • Remove redundant _onChangeCallback() in slerp(). #27365 (@Mugen87)
  • RectAreaLight
  • Only use float textures if linear interpolation is supported. #27315 (@gkjohnson)
  • Shaders
  • Remove unused defines. #27346 (@sunag)
  • Sphere
  • Add isSphere flag. #27395 (@Mugen87)
  • Triangle
  • Return null in getBarycoord() if triangle is degenerated. #27311 (@gkjohnson)
  • Return nulll in getInterpolation() if triangle is degenerate. #27331 (@gkjohnson)
  • WebGLRenderer
  • Fix level mipmap and support CompressedArrayTexture in copyTextureToTexture3D(). #27313 (@RenaudRohlinger)
  • Add WEBGL_clip_cull_distance support. #27371 (@RenaudRohlinger, @Mugen87)
  • Add support for AgX Tone Mapping. #27366, #27403, #27409 (@gkjohnson, @donmccurdy, @Mugen87)
  • WebGLShadowMap
  • Dispose of unique depth/distance materials. #27326 (@Mugen87)
  • WebGLTextures
  • Directly evaluate capabilities. #27340 (@Mugen87)
  • WebGLUniformsGroups
  • Correct 3x3 to 3x4 matrix conversion in UBO. #27284 (@RenaudRohlinger)
  • UBO Boolean support and fix cache on number. #27285 (@RenaudRohlinger)
  • Add array support in UBOs. #27293, #27374 (@RenaudRohlinger)

Documentation

  • Improve Chinese translation. #27298, #27408 (@puxiao, @SADYX)
  • Improve Material page. #27416 (@LR17)
  • Improve SceneUtils page. #27372 (@linbingquan)
  • Improve SkinnedMesh page. #27303 (@Mugen87)
  • Add Jolt to physics list. #27335 (@josephrocca)

Examples

  • Clean up. #27322, fc292ae64b32c0411816b2908c9a6b7b4677cb0d (@Methuselah96, @mrdoob)
  • Fix RTT coord Y in webgpu_compute_particles_rain example. #27286 (@sunag)
  • Update 3DMLoader docs and example CDN script. #27289 (@ianpetrarca)
  • Add webgpu_backdrop_water example. #27397, #27404, caf8c1f40161a419ae8c88b0706d94002684289f (@sunag, @mrdoob)
  • Add webgpu_compute_particles_snow example. #27400, #27404, de3d5ff3d0451f94d545210e8532a74d7eae067e (@sunag, @mrdoob)
  • Use relative references inside examples/jsm. #27381 (@hybridherbst)
  • Change default tone mapping in webgl_tonemapping example. 3a5de8c8b8b03e39a7c5f6343f4d4884a9a7a71d (@mrdoob)
  • Improve webgpu_compute_particles example. b7ebd00a51717dfd8e01b21989a4e84c23fbce03 (@mrdoob)


  • CSM
  • Fix lights when shadow maps are disabled. #27358 (@OndrejSpanel)

  • CurveModifier

  • Add multiple material support. #27324 (@sheepdragon)

  • DracoLoader

  • Fix not calling onError(). #27306, #27308 (@Benjythebee)

  • GTAOPass

  • Add new AO post processing pass (replaces HBAOPass). #27317 (@Rabbid76)
  • Improve shaders and example. #27318, #27319, #27320, #27321, #27348, #27370 (@Mugen87, @Rabbid76)

  • LineMaterial

  • Fix clipping at edge artifacts. #27349 (@gkjohnson)

  • MaterialXLoader

  • Add normalNode and emissiveNode. #27356 (@hybridherbst)

  • NodeMaterial

  • Log warnings instead of throwing on redefinitions of node types. #27357 (@hybridherbst)
  • Mark directory as effectful for Webpack/Vite. #27376 (@CodyJasonBennett)

  • OrbitControls

  • zoom-to-cursor with touch events. #27384 (@sciecode)
  • Pointers list only used for identification. #27420 (@sciecode)
  • Use scroll event delta to modulate zoom speed. #27418 (@sciecode)

  • StorageTexture

  • Add mipmaps support. #27332 (@sunag)

  • Timer

  • Add Clock alternative. #17912, #27394, #27421, #27423 (@Mugen87, @vanruesc, @mrdoob)

  • TSL

  • Fix texture_depth_2d in wgslFn. #27323 (@sunag)

  • USDZExporter

  • Export from compressed texture data. #27382 (@jeffbeene)
  • Only import required modules. #27383 (@jeffbeene)

  • WebGPURenderer

  • Add initial support of MaterialX. #27294 (@sunag)
  • Support getArrayBufferAsync() for WebGL backend. #27355 (@aardgoose)
  • Initial support for PostProcessing, GaussianBlurNode and QuadMesh. #27369 (@sunag)
  • Fix use of same material with different skeleton. #27398 (@sunag)
  • Bug fixes for WebGLBackend. #27410 (@aardgoose)

  • XRButton

  • Add support for offerSession(). #27359, #27368 (@cabanier)

Editor

  • Fix multi-material support. #27265 (@Mugen87)
  • Add missing manager to GLTFLoader. #27336, #27337 (@Mugen87)
  • Added AgXToneMapping support. edb0af355799bb48c18e9bcdaa113cf6fdebc7dd (@mrdoob)

Details

date
Dec. 22, 2023, 12:35 p.m.
name
r160
type
Major
👇
Register or login to:
  • 🔍View and search all three.js releases.
  • 🛠️Create and share lists to track your tools.
  • 🚨Setup notifications for major, security, feature or patch updates.
  • 🚀Much more coming soon!
Continue with GitHub
Continue with Google
or