three.js - r149


https://github.com/mrdoob/three.js/wiki/Migration-Guide#r148--r149
https://github.com/mrdoob/three.js/milestone/62?closed=1

  • Global
  • Remove JS syntax > ECMA 2018. #25172, #25181, #25183, #25192 (@Mugen87)
  • Improve linting. #25251, #25276, #25312 (@LeviPesin)
  • Remove deprecated code. #25279, #25293 (@LeviPesin)
  • Euler
  • Updated static class properties to ALL_CAPS. #25104 (@WestLangley)
  • GLBufferAttribute
  • Add name property. #25219, #25220 (@mikkom, @Mugen87)
  • Material
  • Replace TwoPassDoubleSide with Material.forceSinglePass. #25239 (@mrdoob)
  • Mesh
  • Maintain consistent nomenclature. #25178 (@WestLangley)
  • Object3D
  • Updated static class properties to ALL_CAPS. #25188 (@WestLangley)
  • PMREMGenerator
  • Fix replacing render targets with different heights. #25301 (@JordyvanDortmont)
  • Scene
  • Fix serialization of background properties. #25213 (@Mugen87)
  • WebGLClipping
  • Project global clipping planes per camera. #25272 (@mrxz)
  • WebGLRenderer
  • Add support for RGTC(ATI1/ATI2/BC4/BC5) compressed textures. #25180 (@djytw)
  • WebGLShadowmap
  • Clean up. #25228 (@LeviPesin)
  • Handle TwoPassDoubleSide case. #25221 (@WestLangley)
  • Fix shadow map shader regression. #25270 (@Mugen87)
  • WebXRManager
  • Allow early set of foveation. #25282 (@saitonakamura)

Documentation

  • Improve CameraHelper page. #25205 (@Mugen87)
  • Improve CameraUtils page. #25302 (@ma1ted)
  • Improves Libraries and Plugins page. #25319, #25322 (@Alchemist0823, @Mugen87)
  • Improve Material page. #25289 (@Mugen87)
  • Improve Object3D page. #25324, #25328 (@0b5vr, @Mugen87)
  • Improve SkinnedMesh page. #25189 (@WestLangley)
  • Remove IE11 references. #25209 (@Mugen87)
  • Keep focus when clear search input. #25194 (@abernier)

Manual

  • Improve Chinese translation. #25199 (@Housz)
  • Improve French translation. #25300 (@Lecrapouille)

Examples

  • Clean up. #25184, #25195 (@Mugen87)
  • Use TwoPassDoubleSide in webgl_geometry_convex example. #25175 (@WestLangley)
  • Add note about AVIF in webgl_materials_matcap example. #25176 (@WestLangley)
  • Simplified webgl_lines_fat_raycasting example. #25191 (@WestLangley)
  • Bump pathtracer, BVH versions. #25237 (@gkjohnson)
  • Remove use of LoaderUtils.decodeText() in loaders. #25236 (@aardgoose)
  • Add external three-bvh-csg example. #25299, #25311 (@gkjohnson)


  • ArcballControls
  • Refactor class structure. #25182 (@Mugen87)

  • CSM

  • Avoid circular dependency in camera computations. #25265 (@OndrejSpanel)

  • DRACOLoader

  • Revoke workerSourceURL. #25174 (@Mugen87)

  • FBXLoader

  • Remove workaround for Safari 9. #25241 (@aardgoose)

  • GLTFExporter

  • Added IOR and specular support. #25335 (@elalish)

  • GLTFLoader

  • Remove redundant toTrianglesDrawMode() function. #25316 (@gkjohnson)

  • LWOLoader

  • Remove workaround for Safari 9. #25245 (@aardgoose)

  • MMDLoader

  • Use matcap instead of envMap. #25226 (@takahirox)

  • MMDToonMaterial

  • Removed unnecessary envMap shader chunks. #25128 (@WestLangley)

  • NodeMaterial

  • Revision of lighting model system. #25170 (@sunag)
  • Tone mapping backward compatibility and fixes. #25215 (@sunag)
  • IES SpotLight Node-Based. #25238 (@sunag)
  • Fix texture reference. #25259 (@sunag)

  • PLYExporter

  • Export points normals and colors. #25235 (@WestLangley)

  • PLYLoader

  • Improve parsing performance. #25210, #25248, #25261 (@aardgoose)

  • SVGLoader

  • Fix parsing of points attribute. #25206 (@ozekik)

  • ViewHelper

  • Clean up. #25200 (@Mugen87)
  • Remove dependency to EditorControls. #25202 (@Mugen87)

  • WebGPURenderer

  • Add Material.wireframe support. #25204 (@sunag)
  • Fix bytesPerRow computation in WebGPUTextures. #25249 (@LeviPesin)
  • Remove return on lines 258 and 626. #25258 (@LeviPesin)
  • Rename getArrayFromBuffer() to getArrayBuffer(), fix return type. #25257 (@LeviPesin)

Editor

  • Add support for Scene.backgroundIntensity. #25216 (@Mugen87)
  • Specify value range for emissive intensity. #25225 (@WestLangley)
  • Specify value range for aoMap intensity. #25244 (@WestLangley)
  • Call dispose() when using DRACOLoader. #25283 (@Mugen87)
  • Remove glTF1 alert. #25284 (@Mugen87)
  • Set ColorManagement.legacyMode = false. #25222 (@donmccurdy)

Tests

  • Display percentage of pixels failed. #25305 (@gkjohnson)
  • Enable WebGPU in Puppeteer. #25304 (@mrdoob)
  • Upgrade Puppeteer to 19.4.0 (Chromium 109.0.5412.0). #25313 (@mrdoob)

Details

date
Jan. 26, 2023, 2:35 p.m.
name
r149
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