@needle-tools/gltf-progressive 3.4.0-beta → 3.4.0-next.8580e96

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,9 @@ All notable changes to this package will be documented in this file.
4
4
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [3.4.0-beta.2] - 2026-03-16
8
+ - Add: `NEEDLE_progressive.maxConcurrentLoadingTasks` property to control how many LOD meshes and textures are allowed to be fetched concurrently. Defaults to `50`
9
+
7
10
  ## [3.3.5] - 2025-10-08
8
11
  - Chore: debug logging for mesh_lod use `console.log` instead of `console.debug`
9
12
 
package/README.md CHANGED
@@ -155,6 +155,15 @@ These settings are available on the LOD manager instance:
155
155
  - `manual` - When set to true the LODsManager will not update the LODs. This can be used to manually update the LODs using the `update` method. Otherwise the LODs will be updated automatically when the renderer renders the scene.
156
156
  - `overrideLodLevel` - Can be set to any number between 0 and 6 to override the lod level to be loaded. To disable the override again set it to `undefined`.
157
157
 
158
+ ### Concurrent loading limit
159
+ `maxConcurrentLoadingTasks` controls how many LOD resources (meshes and textures) can be loaded simultaneously. When the limit is reached, additional requests are queued and processed as previous ones finish. Default: `50`.
160
+
161
+ ```ts
162
+ import { NEEDLE_progressive } from "@needle-tools/gltf-progressive";
163
+
164
+ NEEDLE_progressive.maxConcurrentLoadingTasks = 20;
165
+ ```
166
+
158
167
  ### Automatically use low-poly meshes for raycasting
159
168
  Simply call `useRaycastMeshes(true)` to enable faster raycasting when using the the THREE.Raycaster. This can again be disabled by calling `useRaycastMeshes(false)`. Calling this method is only necessary once to enable it.
160
169