three.js - r159


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

  • AudioLoader
  • Fix uncaught DOMException in promise. #27237 (@Mugen87)
  • BatchedMesh
  • Clean up. #27231 (@gkjohnson)
  • Fix failure with MeshBasicMaterial. #27074 (@gkjohnson)
  • Use texelFetch and textureSize. #27077 (@gkjohnson)
  • Add setGeometryAt() and addGeometry() methods. #27078, #27099 (@gkjohnson)
  • Add multi draw support. #27109, #27111, #27130, #27176, #27178 (@gkjohnson)
  • Add built-in material support. #27115, #27229 (@gkjohnson)
  • Add serialization and copy() support. #27131, #27179, #27201 (@gkjohnson)
  • Add support for frustum culling per batched geometry. #27120, #27219 (@gkjohnson)
  • Add object-level bounds. #27145 (@gkjohnson)
  • Add support for raycasting. #27146 (@gkjohnson)
  • Add support for per-object opaque and transparent sorting. #27168, #27202, #27213, #27236, #27258 (@gkjohnson)
  • Move to core. #27200, 2b3883adf889be5ecc32c585e379f5e895d8ea84 (@gkjohnson, @mrdoob)
  • Update example, fix depth conversion & auxiliary buffer. #27228 (@sciecode)
  • BufferAttribute
  • Add support for multiple update ranges. #27103, #27148, #27149 (@gkjohnson)
  • InstancedMesh
  • Add missing transformation for tangents. #27128 (@gkjohnson)
  • MeshPhysicalMaterial
  • Fix anisotropy rotation. #27153 (@elalish)
  • Fix anisotropy zero strength. #27164 (@elalish)
  • Object3D
  • Add optional target to getObjectsByProperty(). #27225 (@agargaro)
  • Add onBeforeShadow() and onAfterShadow() callbacks. #27250 (@RenaudRohlinger)
  • Skeleton
  • Remove need skinning texture size uniform by using textureSize function. #27117, #27127 (@gkjohnson, @Mugen87)
  • Compute a smaller texture dimension. #27211 (@gkjohnson)
  • WebGLAttributes
  • Strict buffer size check when updating data. #27188 (@eXponenta)
  • WebGLArrayRenderTarget
  • Missing options in constructor. #27249 (@RenaudRohlinger)
  • WebGLCubeMap
  • Accept textures of render targets. #27230 (@elalish)
  • WebGLUniforms
  • Add sampler2DShadow support. #27252 (@RenaudRohlinger)
  • WebXRManager
  • Synchronize sizing with renderer. #26905 (@CodyJasonBennett)

Documentation

  • Improve formatting of matrices. #27079 (@ycw)
  • Improve Arabic translation. #27118, #27129, #27140 (@mourra950)
  • Improve Portuguese translation. #27144 (@south3452)
  • Improve BatchedMesh page. #27175, #27209 (@gkjohnson, @Methuselah96)
  • Improve DirectionalLightHelper page. #27122, #27135 (@amin-da, @Mugen87)
  • Improve Libraries and Plugins page. #27182 (@JaimeTorrealba)
  • Improve LineDashedMaterial page. #27278, #27276 (@Mugen87, @WestLangley)
  • Improve MeshPhysicalMaterial page. #27281, #27282 (@gkjohnson, @Mugen87)
  • Improve Object3D page. #27257 (@Mugen87)
  • Improve render target pages. #27253, #27254 (@Mugen87)

Examples

  • Clean up. #27105, #27226, #27262, #27267, #27272, 966e9fee64383cf6370ec362921debea0b321243 (@sunag, @CodyJasonBennett, @Mugen87, @linbingquan, @mrdoob)
  • Disable minimap in webgpu_tsl_editor example. #27113 (@WestLangley)
  • Add webgl_postprocessing_hbao example. #27114, #27185 (@Rabbid76)
  • Add glsl tag and format fragment shaders with tabs. #27206 (@linbingquan)
  • Add webgl_loader_texture_hdrjpg example. #27183, #27277, 90ee2efbb00944f97b7c59e8ee47d2e2047e57be, c15506e8e7ffa9eebe594eccae692a07cd7f21c9, 9bcf8ab6d62edd8d38819b78643fd91f30b79326 (@daniele-pelagatti, @mrdoob)
  • Add Safari fix for OffscreenCanvas in webgl_worker_offscreencanvas example. #27283 (@RenaudRohlinger)
  • Removed minimap from webgpu_tsl_transpiler example. b5e44dae9f3a80f666fdacc4225c2df29a40eef4 (@mrdoob)


  • ColladaLoader
  • Remove unused constructor. #27119 (@gkjohnson)

  • FBXLoader

  • Fix polygon triangulation. #27094 (@StrandedKitty)
  • Fix rotation discontinuities. #27057 (@solinehayes)
  • Fix error when loading one frame animation. #27143 (@solinehayes)
  • Add UnitScaleFactor to scene's userData. #27187 (@Mugen87)
  • Support loading DDS textures. #27204 (@Mugen87)

  • GLTFExporter

  • Fix typo in GLTFMaterialsSpecularExtension. #27152 (@elalish)
  • Initial support for EXT_materials_bump. #27036 (@bhouston)
  • Restore multi material support for non-indexed geometries. #27268 (@Mugen87)

  • GLTFLoader

  • Fix use of setPath() with external resources. #27106 (@Archimagus)
  • Initial support for EXT_materials_bump. #27036 (@bhouston)

  • HTMLMesh

  • Clear the canvas before starting to draw. #27092 (@Elettrotecnica)
  • Create canvas in its original position instead of (0,0). #27091 (@Elettrotecnica)

  • NodeMaterial

  • ViewportNode revision. #27096 (@sunag)
  • Ensure onBuild() uses the correct material reference. #27097 (@Mugen87)
  • Mark as effectful for Webpack. #27189 (@CodyJasonBennett)
  • Fix hue code in ColorAdjustmentNode. #27197 (@sunag)
  • Use type vec3 when getting color attribute. #27210 (@andreasrosdal)
  • Rename colorSpace to colorSpaced property. #27238 (@sunag)
  • Prioritize depthNode. #27244 (@sunag)

  • NRRDLoader

  • Make sure scan() always returns a typed array. #27212 (@Mugen87)

  • Octree

  • Add clear(). #27160 (@CahierX)

  • OrbitControls

  • Remove useless assignment. #27266 (@Mugen87)

  • SVGLoader

  • Add vertices along counterclockwise if bevel. #27121 (@nieyuyao)

  • TextureHelper

  • Add new addon for debugging textures. #27151 (@donmccurdy)

  • TextureUtils

  • Add forceContextLoss() to decompress(). #27136 (@Mugen87)
  • Fix invalid texture data after decompression. #27137 (@Mugen87)

  • TSL

  • Fix typo in TSLEncoder. #27075 (@khalid586)
  • Add varyingProperty. #27198 (@sunag)
  • Introduction of fragmentNode. #27239 (@sunag)

  • USDZExporter

  • Remove obsolete code in buildVector2Array(). #27264 (@Mugen87)

  • USDZLoader

  • Avoid recursive calls of parseNextLine(). #27169 (@Mugen87)

  • WebGPURenderer

  • Clean up. #27090 (@sunag)
  • Add setRenderObjectFunction(). #27068 (@sunag)
  • Support depth buffer copies in WebGLBackend.copyFramebufferToTexture(). #27083 (@aardgoose)
  • Add call ID. #27101 (@sunag)
  • Add support for shared and unique uniform groups. #27134 (@sunag)
  • Fix lights hash. #27150 (@sunag)
  • Add support for DataArrayTexture. #27190 (@sunag)
  • Add support for morph textures. #27207, #27218 (@sunag)
  • Move pipeline cache data to backends. #27220 (@sunag)
  • Add Color4 support. #27222 (@sunag)
  • Depth pixel & logarithmic depth buffer. #27243 (@sunag)
  • Implement readRenderTargetPixelsAsync() for WebGL backend. #27006 (@aardgoose)
  • Fix strip index format. #27279 (@sunag)
  • Added webgpu string in data-engine. d4f278c4df1b4861e035883ecfc6fb957cc2fa35 (@mrdoob)

Tests

  • Only build module in E2E. #27157 (@mrdoob)
  • Run E2E CI only on macOS. #27165 (@mrdoob)

Editor

  • Clean up. e1e2409dfd048859beace32e6f71dbd677fa34dc (@mrdoob)
  • Fix KTX2 support with glTF assets. #27191 (@Mugen87)
  • Refactor creation of GLTFLoader. #27193 (@Mugen87)
  • Unified Viewport.Camera and Viewport.Shading. 1151545d676d9e1ac57d7bc71deb8ac2f910cebd (@mrdoob)
  • Moved grid and helpers settings to Viewport.Controls. e0d329dd164de9f24256076dbe6a32a0abb81e51 (@mrdoob)
  • Fixed helpers checkbox also hiding the grid. 116382c177f28a673d365f4f2b17d79e1a5d2a99 (@mrdoob)
  • Removed IndexedDB prefixes. e49c913cbfe09b38f9072e7fa04e505d70640ff5 (@mrdoob)
  • Fixed UINumber mobile UX. a45cf54f5cfb98f095553673c490a8b1230a5238 (@mrdoob)

Details

date
Nov. 30, 2023, 2:02 p.m.
name
r159
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