3dtiles-inspector 0.2.14 → 0.2.16

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
@@ -6,6 +6,42 @@ The format is based on Keep a Changelog and this project follows Semantic Versio
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.2.16] - 2026-06-23
10
+
11
+ ### Added
12
+
13
+ - Added an editable crop-sphere size input for setting the sphere radius
14
+ directly.
15
+
16
+ ### Changed
17
+
18
+ - Changed active crop-sphere editing so short clicks on tiles move the sphere
19
+ center while drag gestures continue to rotate the camera.
20
+ - Changed active crop-sphere previews to highlight splats outside the sphere
21
+ while leaving inside splats unchanged.
22
+ - Changed the viewer background from pure white to a slightly darker neutral
23
+ tone.
24
+
25
+ ### Fixed
26
+
27
+ - Fixed pending crop-sphere deactivation leaving the sphere wireframe visible.
28
+ - Fixed save operations allowing crop-sphere size, crop-sphere transform, or
29
+ root scale track changes while saving was in progress.
30
+
31
+ ## [0.2.15] - 2026-06-23
32
+
33
+ ### Added
34
+
35
+ - Added a single crop-sphere selection for Gaussian splats, with radius
36
+ adjustment, transform controls, preview highlighting, confirmed outside
37
+ hiding, center-point local-coordinate sphere/transform axes, and save-time
38
+ removal of splats outside the sphere.
39
+
40
+ ### Changed
41
+
42
+ - Changed camera picking on Gaussian splats to ignore areas hidden by confirmed
43
+ crop regions and crop sphere.
44
+
9
45
  ## [0.2.14] - 2026-06-19
10
46
 
11
47
  ### Changed
package/README.md CHANGED
@@ -92,14 +92,14 @@ const {
92
92
  - `Terrain`, off by default, to toggle Cesium World Terrain after entering a Cesium ion token, while keeping satellite imagery
93
93
  - `Geometric Error` scaling from `1/16x` to `16x`
94
94
  - `Layer Multiplier` scaling from `1/8x` to `8x` for each tile's geometric-error difference from the tileset's global leaf baseline
95
- - `Crop Regions` for drawing screen-space exclude regions on 3D Gaussian Splat tilesets
96
- - `Save` to persist root transform edits, geometric-error scaling, and confirmed crop regions back to disk
95
+ - `Crop Regions` for drawing screen-space exclude regions or a crop sphere on 3D Gaussian Splat tilesets
96
+ - `Save` to persist root transform edits, geometric-error scaling, and confirmed crop selections back to disk
97
97
 
98
98
  ### Crop Regions
99
99
 
100
- `Crop Regions` appears when the loaded tileset contains 3D Gaussian Splat content. It lets you draw one or more screen-space exclude rectangles, preview them in the viewer, then apply the crop when you click `Save`.
100
+ `Crop Regions` appears when the loaded tileset contains 3D Gaussian Splat content. It lets you draw one or more screen-space exclude rectangles or define a single crop sphere, preview them in the viewer, then apply the crop when you click `Save`.
101
101
 
102
- The basic workflow is:
102
+ For screen regions:
103
103
 
104
104
  1. Click `Draw Region` and drag a rectangle over the splats to remove.
105
105
  2. Before moving the camera, drag pending corner points or side handles if the screen region needs adjustment; the pending shape must stay a convex four-sided screen quadrilateral.
@@ -108,6 +108,13 @@ The basic workflow is:
108
108
  5. Select a confirmed region row if you need to adjust its 3D far plane with the transform handle.
109
109
  6. Click `Save` to persist the root transform and delete splats inside the confirmed crop regions.
110
110
 
111
+ For the crop sphere:
112
+
113
+ 1. Click `Create Sphere` to place one sphere at the current tileset center.
114
+ 2. Adjust its radius with the radius track, or select its row and move it with the sphere-center local-coordinate transform handle.
115
+ 3. Click `Confirm` to hide splats outside the sphere, or `Cancel` to discard it.
116
+ 4. Click `Save` to remove splats outside the confirmed sphere.
117
+
111
118
  <img src="https://raw.githubusercontent.com/WilliamLiu-1997/3DTiles-Inspector/main/region.png" alt="Crop Regions" />
112
119
 
113
120
  Crop saving rewrites supported local `.gltf` / `.glb` Gaussian Splat resources that use `KHR_gaussian_splatting_compression_spz_2`. Fully deleted splat primitives are removed from their glTF, and empty tile content can be pruned from the tileset JSON. Remote content and unsupported Gaussian Splat encodings are rejected instead of being modified.