three.js - r155


https://github.com/mrdoob/three.js/wiki/Migration-Guide#r154--r155
https://github.com/mrdoob/three.js/milestone/68?closed=1

  • BufferAttribute
  • Add generic vector component getter / setter. #24515 (@gkjohnson)
  • CapsuleGeometry
  • Use correct length property name in parameters. #26405 (@tdanlin)
  • CompressedCubeTexture
  • Added. #26369 (@donmccurdy)
  • CubeCamera
  • Remove tone mapping related code. #26435 (@Mugen87)
  • DataTextureLoader
  • Fix promise never rejected on error. #26412 (@ashconnell)
  • InstancedMesh
  • Add support for async color definitions. #26430 (@CodyJasonBennett)
  • Object3D
  • Shallow copy animations in copy(). #26416 (@luisfonsivevo)
  • PropertyBinding
  • Change error to warning and reword. #26386 (@hybridherbst)
  • WebGLMultipleRenderTargets
  • Return undefined in setSize(). #26418 (@CodyJasonBennett)
  • WebGLRenderer
  • Use inline tone mapping only when rendering to screen. #26371 (@Mugen87)
  • Deprecate useLegacyLights, change default to false. #26392 (@Mugen87)
  • Fix activeMipmapLevel parameter in setRenderTarget(). #26347 (@makovkins)
  • Fix runtime error when rendering wireframe with empty geometry. #26465 (@Mugen87)
  • WebGLRenderTarget
  • Extend from new RenderTarget class. #26468 (@sunag)
  • WebGLTextures
  • Improve RED_INTEGER texture support. #26450 (@RenaudRohlinger)

Documentation

  • Improve BufferAttribute page. #26365 (@Mugen87)
  • Improve BufferGeometryUtils page. #26454 (@gkjohnson)
  • Improve OrbitControls page. #26404 (@Mugen87)
  • Improve ShapePath page. #26401 (@atul-mourya)
  • Improve TrackballControls page. #26459 (@vaughnrichard)
  • Improve post processing guide. #26359 (@Mugen87)
  • Improve Arabic translation. #26362 (@afilahkle)
  • Clarify reuse of disposed objects. #26498 (@Mugen87)

Manual

  • Honor latest API changes. #26353, #26354, #26355, #26358 (@Mugen87)

Examples

  • Fix color space in webgl_materials_video_webcam. #26364 (@Mugen87)
  • Improve webgpu_tsl_editor example. #26368 (@sunag)
  • Remove usages of FirstPersonControls.noFly. #26374 (@Methuselah96)
  • Remove obsolete tone mapping settings. #26377 (@Mugen87)
  • Fix linter issues. #26388 (@hybridherbst)
  • Add backgroundIntensity GUI to webgl_tonemapping example. #26411 (@vis-prime)
  • Fix GUI title in different examples. #26421, #26439 (@Methuselah96)
  • Simplify resize in webgl_postprocessing_procedural example. #26434 (@Methuselah96)
  • Fix typo in webgl_postprocessing_ssaa example. #26433 (@Methuselah96)
  • Remove usage of Group.material in webgl_postprocessing_godraysexample. #26431 (@Methuselah96)
  • Correctly invoke requestAnimationFrame() in webgl_postprocessing_godrays example. #26432 (@Methuselah96)
  • Correctly call setSize() in webgl_raymarching_reflect example. #26438 (@Methuselah96)
  • Use the right return type for customProgramCacheKey() in webgl_materials_modified example. #26437 (@Methuselah96)
  • Directly set uniforms in webgl_gpgpu_water example. #26436 (@Methuselah96)
  • Remove outdated settings of focal length. #26460 (@Methuselah96)
  • Remove unnecessary use of OrbitControls change event listeners. #26475 (@WestLangley)


  • BufferGeometryUtils
  • Call toNonIndexed() for indexed geometries only in toCreasedNormals() . #26379 (@kpvhn)

  • GLTFLoader

  • Fix loadAnimation() refactor. #26477 (@hybridherbst)

  • MaskPass

  • Make sure depth and color buffers are writeable. #26382 (@Mugen87)

  • NodeMaterial

  • Fix deprecation text to match code for tslFn(). #26383 (@aardgoose)
  • Add unlit property. #26429 (@sunag)
  • Fix construct() call in HemisphereLightNode. #26441 (@sunag)
  • Add specularStrength to MaterialNode. #26444 (@sunag)
  • Add fog and colorSpace properties. #26440 (@sunag)
  • Add backgroundIntensity to SceneNode. #26447 (@sunag)
  • Add MeshLambertNodeMaterial. #26448 (@sunag)
  • Add BumpMapNode. #26449 (@sunag)
  • Add getTextureMatrix() to TextureNode. #26461 (@sunag)
  • Add isToneMappingState to RendererNodes. #26463 (@sunag)
  • New class structure for LightingModel. #26486 (@sunag)
  • Cache equirectangular textures in EnvironmentNode. #26491 (@sunag)

  • OculusHandPointerModel

  • Make _onDisconnected() more robust. #26387 (@hybridherbst)

  • OrbitControls

  • Add zoom to cursor #26165 (@gkjohnson)

  • OutputPass

  • Extract renderer settings. #26380 (@Mugen87)

  • SelectionHelper

  • Add enabled property. #26483 (@puxiao)

  • TGALoader

  • Bubble parsing errors. #26497 (@Mugen87)

  • TSL

  • Add output and material.outputNode. #26419 (@sunag)

  • UnrealBloomPass

  • Improve performance by pre-calculating gaussian coefficients. #26356 (@keaukraine)

  • USDZExporter

  • Add defaultPrim to make usdchecker happy. #26495 (@hybridherbst)

  • WebGPUBackend

  • Fix depth buffer. #26395 (@sunag)

  • WebGPUPipelines

  • Improve reuse pipeline and ComputeNode dispose. #26361 (@sunag)

  • WebGPURenderer

  • Remove duplication of interleaved attribute buffers. #26351 (@aardgoose)
  • Add missing Texture.onUpdate() callback. #26375 (@aardgoose)
  • Avoid render pass/pipeline attachment mismatches. #26376 (@aardgoose)
  • Fix Node.updateBefore() sequence call. #26391 (@sunag)
  • Rename getArrayBuffer() to getArrayBufferAsync(). #26393 (@sunag)
  • Support Object3D as parameter in render(). #26400 (@sunag)
  • Fix updateBefore(). #26417, #26422 (@sunag)
  • Not crash if texture is not supported. #26423 (@sunag)
  • Fix fog ColorSpace. #26424 (@sunag)
  • Add DepthTexture.compareFunction. #26420 (@sunag)
  • Blending revision part 1. #26455 (@sunag)
  • Support MSAA for texture render targets. #26451 (@aardgoose)
  • Add iridescence support. #26489, #26492 (@sunag)
  • Fix background. #26493 (@sunag)

Editor

  • Always configure GLTFLoader with KTX2 and Meshopt. #26414 (@Mugen87)

Details

date
July 27, 2023, 4:13 p.m.
name
r155
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