three.js - r161


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

  • Global
  • Remove deprecated code. #27480, #27467 (@CodyJasonBennett, @Mugen87)
  • Remove deprecated build files. #27507 (@gkjohnson)
  • Audio
  • Make setDetune() more robust. #27479 (@Mugen87)
  • BatchedMesh
  • Fix active not being accounted for, bounding box functions returning incorrect fields. #27484 (@gkjohnson)
  • BufferAttribute
  • Use warnOnce() for deprecated methods. #27595 (@hybridherbst)
  • InterleavedBufferAttribute
  • Add get / set component methods. #27590 (@gkjohnson)
  • Material
  • Add alpha to coverage define, add clipping & alpha test anti aliasing. #22172 (@gkjohnson)
  • PerspectiveCamera
  • Add getViewBounds() and getViewSize(). #27574, #27605 (@Bug-Reaper, @WestLangley)
  • Source
  • Add dataReady flag. #27649 (@Mugen87)
  • WebGLAttributes
  • Add .updateRange deprecation comment. #27550 (@LeviPesin)
  • WebGLCubeMaps
  • Increase size of internal cube maps. #27530 (@Mugen87)
  • WebGLProgram
  • Show which shader caused compilation error. #27553, #27565 (@hybridherbst, @Mugen87)
  • WebGLPrograms
  • Fix fogExp2 parameter. #27430 (@vanruesc)
  • UV attributes now depend on used channels, not geometry attributes. #27608 (@Mugen87)
  • WebGLRenderer
  • Add required gamut mapping for AgXToneMapping. #27413 (@WestLangley)
  • Explicitly specify precision for all sampler types. #27482 (@StrandedKitty)
  • Option to enable multi_draw / gl_DrawID in vertex shader. #27630 (@vegarringdal)
  • WebGLTextures
  • Add filter check for float textures. #27460 (@Mugen87)

Documentation

  • Clean up. #27652 (@Mugen87)
  • Improve Chinese translation. #27441, #27443 (@newstart0514, @puxiao)
  • Improve DirectionalLightShadow page. #27519 (@zsombok)
  • Improve Installation page. #27499 (@a0m0rajab)
  • Improve Libraries and Plugins page. #27646 (@ASproson)
  • Improve LOD page. #27554 (@tomhsiao1260)
  • Improve RingGeometry page. #27495 (@xxhls)
  • Improve WebGLRenderer page. #27532 (@aardgoose)

Manual

  • Improve Fundamentals guide. #27521 (@susiwen8)
  • Improve Chinese translation. #27594, #27648 (@nmsn, @1Rone11)
  • Refactor canvas width and height computation. #27606 (@herobank110)
  • Improve code example. #27640 (@1Rone11)

Examples

  • Clean up. #27457, #27459, #27469, #27531, #27614 (@hybridherbst, @CodyJasonBennett, @ycw, @Mugen87, @linbingquan)
  • Add support for FloatType and add docs to LUT loaders. #27431 (@vanruesc)
  • Add extra blue to webgpu_backdrop_water example. #27455 (@sunag)
  • Fix webgpu_morphtargets_face example. #27489 (@RenaudRohlinger)
  • Add optional onLoad() callback when loading hands or controllers for WebXR. #27544 (@hybridherbst)
  • Update external library dependencies. #27584 (@gkjohnson)
  • Add webgpu_custom_fog example and TriNoise3D. #27599 (@sunag)
  • Add webgpu_postprocessing_anamorphic example and AnamorphicNode. #27621 (@sunag)
  • Add scissor configuration in webgl_camera example. #27644 (@WestLangley)


  • 3DMLoader
  • Fix typos and reorder imports alphabetically. #27631 (@GitHubDragonFly)

  • AfterImageNode

  • New FX class for after image effects. #27451 (@RenaudRohlinger)

  • BufferGeometryUtils

  • Add support for interleaved buffers in mergeAttributes(). #27591 (@gkjohnson)

  • CameraNode

  • Add missing cameraProjectionMatrixInverse. #27578, #27579 (@RenaudRohlinger)

  • GaussianBlurNode:

  • Add alpha channel support. #27444 (@RenaudRohlinger)
  • Reduce overhead. #27447 (@aardgoose)

  • GroundedSkybox

  • Replacement for GroundProjectedSkybox. #27448 (@elalish)
  • Fix UVs being flipped. #27500 (@hybridherbst)

  • GTAOPass

  • Fix setting of PERSPECTIVE_CAMERA define. #27436 (@Rabbid76)

  • Line2NodeMaterial

  • Honor changes from original source. #27474 (@aardgoose)

  • MaterialXLoader

  • Improve onError handling. #27433 (@hybridherbst)
  • Respect handlers attached to manager when loading textures. #27432 (@hybridherbst)
  • Add normal, tangent, texcoord, geomcolor, position space support. #27456 (@hybridherbst)
  • Optional parameter. #27462 (@sunag)
  • Unlit material. #27575 (@sunag)

  • MathNode

  • New cbrt function for easy cube root calculations. #27497 (@RenaudRohlinger)
  • Add lengthSq. #27568 (@RenaudRohlinger)

  • MathUtilsNode

  • Rename to MathUtils. #27629 (@sunag)

  • MeshPostProcessingMaterial

  • Add new material for more physically correct AO effects. #27475 (@Rabbid76)

  • MeshSSSNodeMaterial

  • Implement node material supporting SSS. #27488, #27506 (@sunag)

  • NodeBuilder

  • Remove duplicate code. #27412 (@aardgoose)
  • Simplify createNodeMaterial() usage. #27580 (@sunag)
  • getComponentType() instead of getPrimitiveType(). #27617 (@sunag)

  • NURBSVolume

  • Add new class for volumetric NURBS. #27601 (@mmoelle1)

  • OperatorNode

  • Add unary operator support. #27641 (@RenaudRohlinger)

  • OrbitControls

  • Fix orthographic change event. #27424 (@sciecode)
  • Update state on pointer up. #27425 (@sciecode)
  • Fix onPointerUp(). #27445 (@sciecode)
  • Fix pinch zoom behavior. #27446 (@sciecode)
  • Fix offscreen canvas support and cleanup. #27522 (@RenaudRohlinger)

  • ReflectorNode

  • New node class for planar realtime reflections. #27611 (@sunag)

  • Renderer

  • Fix dispose(). #27471 (@RenaudRohlinger)

  • RotateNode

  • Add new node and remapping functions. #27525 (@RenaudRohlinger)

  • ShaderNode

  • Fix .isArrayInput. #27428 (@sunag)

  • SVGLoader

  • Update vertices according uv.y when linecap is square. #27429 (@nieyuyao)
  • Fix triangle segment uv coordinates. #27485 (@Rabbid76)

  • Timer

  • Only update delta and elapsed time when document is visible. #27651 (@mrxz)

  • TSL

  • Better support for the mod method. #27517 (@sunag)

  • ToneMappingNode

  • Ass support for AgXToneMapping. #27549 (@RenaudRohlinger)

  • USDZExporter

  • Add maxTextureSize option. #27528 (@Sov3rain)

  • ViewportNode

  • Fix setup(). #27566 (@sunag)

  • VRMLLoader

  • Update the token pattern for identifier to load VRML files from KiCad. #27543 (@Liangtie)

  • Water2

  • Fix the error when flowSpeed and other parameters are 0. #27536 (@gitplus)

  • WebGLTextureUtils

  • Add missing call to state helper. #27503 (@aardgoose)

  • WebGPURenderer

  • Fix alpha canvas in WebGPU. #27442 (@RenaudRohlinger)
  • Fix geometry does not have the attribute requested by the material. #27454 (@sunag)
  • Forward context to Renderer. #27472 (@RenaudRohlinger)
  • Support KTX compressed textures with WebGL backend. #27463 (@RenaudRohlinger)
  • MSAA, postprocessing and wireframe support in the WebGL backend. #27473 (@RenaudRohlinger)
  • Fix renderContext tracking in WebGL backend. #27490 (@aardgoose)
  • Support WebGLCubeRenderTarget. #27071 (@aardgoose)
  • Create invalidation array once for WebGL MSAA. #27505 (@aardgoose)
  • WebGLBackend clea nup RTT buffers when dispose texture. #27513 (@RenaudRohlinger)
  • Add offscreen support. #27520 (@RenaudRohlinger)
  • Cache renderPassDesciptors and associated views. #27518 (@aardgoose)
  • Partial compute shader support for WebGL backend. #27367 (@aardgoose)
  • Fix tone mapping on display nodes. #27557 (@RenaudRohlinger)
  • Use cached descriptor properties and views were possible in clear(). #27551 (@aardgoose)
  • Fix BachedMesh coordinate system in case of WebGLBackend. #27567 (@sunag)
  • PassNode + PostProcessing - WebGPUBackend. #27537 (@sunag)
  • Improve copyTextureToBuffer support. #27569 (@RenaudRohlinger)
  • Compute texture using TSL. #27582 (@sunag)
  • Add forceWebGL parameter. #27589, #27596 (@RenaudRohlinger)
  • Fix copyFramebufferToTexture wrong framebuffer binding in WebGLBackend. #27593 (@RenaudRohlinger)
  • Add timestamp queries support in WebGPU. #27597 (@RenaudRohlinger)
  • Add Anisotropy Support & Resolve Scissor Issues in WebGL Backend. #27609, #27615 (@RenaudRohlinger, @susiwen8)
  • Fix video textures in WebGL backend. #27610 (@RenaudRohlinger)
  • Add clearAsync() clear[color|depth|stencil]Async(). #27613 (@aardgoose)
  • Support mat2() and extend RotateNode to support vec2 rotation. #27612 (@aardgoose)
  • Implement compileAsync(). #27098 (@aardgoose)
  • Fix ambiguous field in WebGL Backend. #27619 (@RenaudRohlinger)
  • Clean up code base. #27622 (@RenaudRohlinger)
  • Add shadowNode to NodeMaterial. #27625 (@RenaudRohlinger)

  • XRButton

  • Display offersession promise failure as warning. #27492 (@cabanier)

Editor

  • Add compute tangents option. #27461 (@Mugen87)
  • Ensure clips are optimized before exporting to glTF. #27529 (@Mugen87)
  • Fix color space evaluation of textures. #27548 (@gitplus)
  • Add path tracer to viewport. #27643, 2b6dfe9b581036c8d2360bc23e5800febed930f4, 1e771e13cb3de863afec27fbcbda5eb1f19b41b0, e06a8b3d3d337d23fba4418fd537aaf3b38e470d, 70fb9cad20adf73f49acbb66cf896df4ca6efad4, 85cd3cb6ca086e955c1d9f9a7e3514add0ce5c68, 1b35d645db0070803e48fb5ba302478c99ac99d7 (@mrdoob)
  • Only cache GET requests. 92f40ca0cea4cfa1931375155c65e622a048da2c (@mrdoob)

Details

date
Jan. 31, 2024, 6:54 a.m.
name
r161
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