@needle-tools/gltf-progressive 1.2.13 → 1.2.14

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,7 +4,7 @@ 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
- ## [1.2.13] - 2024-10-06
7
+ ## [1.2.14] - 2024-10-06
8
8
  - Update README
9
9
 
10
10
  ## [1.2.12] - 2024-09-23
package/README.md CHANGED
@@ -1,14 +1,16 @@
1
1
  # glTF progressive
2
2
 
3
- LODs on steroids for glTF, GLB or VRM files with density based loading for meshes or texture for any three.js based project.
3
+ LOD support on steroids for three.js with one-line integration: Load glTF, GLB or VRM files and get smart and automatic LOD selection loading for meshes and texture. Reduce initial load time and increase performance at the same time.
4
4
 
5
5
  ## Features
6
- - One line integration in any three.js based engine/project
7
- - Mesh LOD support
6
+ - One line integration in any three.js based engine/project e.g. react-three-fiber, model-viewer, vanilla threejs... (see examples below)
7
+ - Mesh LOD support (works for both regular meshes and skinned meshes)
8
8
  - Texture LOD support
9
- - LOD levels are loaded on demand based on mesh screen density
10
- - Low poly LOD meshes can easily be used for raycasting for smooth interactions with high-poly meshes
11
- - Cloud generation and loading support via [cloud.needle.tools](https://cloud.needle.tools) for glTF, GLB & VRM assets
9
+ - Smart LOD selection: LOD levels are switched automatically based on a pre-calculated mesh density for deterministic and consistent quality in any situation (VR is also supported)
10
+ - On demand loading: higher qualities are streamed in on demand when objects become visible. This reduces the loading time of websites significantly
11
+ - Low poly LOD meshes can be used for raycasting for smooth interactions with high-poly meshes (see examples below)
12
+ - Tiny dependency-free package (< 10KB gzipped)
13
+ - Cloud generation and loading support via [cloud.needle.tools](https://cloud.needle.tools) for glTF, GLB & VRM assets or use [Needle Engine with Unity or Blender](https://docs.needle.tools/getting-started).
12
14
 
13
15
  ## Examples
14
16
 
@@ -20,7 +22,7 @@ Examples are in the `/examples` directory. Live versions can be found in the lin
20
22
  - [single \<model-viewer> element](https://engine.needle.tools/demos/gltf-progressive/modelviewer)
21
23
  - [multiple \<model-viewer> elements](https://engine.needle.tools/demos/gltf-progressive/modelviewer-multiple)
22
24
  - [Needle Engine](https://stackblitz.com/edit/needle-engine-gltf-progressive?file=src%2Fmain.ts)
23
- - [Progressive VRM 14 MB to 1 MB](https://cloud.needle.tools/view/91b4450/262927895)
25
+ - [Progressive VRM - 14 MB to 1 MB](https://cloud.needle.tools/view/91b4450/262927895)
24
26
 
25
27
  **Interactive Examples**:
26
28
  - [Stackblitz](https://stackblitz.com/@marwie/collections/gltf-progressive)
package/lib/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  // replaced at build time
2
- export const version = "1.2.13";
2
+ export const version = "1.2.14";
3
3
  globalThis["GLTF_PROGRESSIVE_VERSION"] = version;
4
4
  console.debug(`[gltf-progressive] version ${version}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@needle-tools/gltf-progressive",
3
- "version": "1.2.13",
3
+ "version": "1.2.14",
4
4
  "description": "three.js support for loading glTF or GLB files that contain progressive loading data",
5
5
  "homepage": "https://needle.tools",
6
6
  "author": {