3dtiles-inspector 0.2.1 → 0.2.3
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 +12 -0
- package/README.md +6 -5
- package/dist/inspector-assets/viewer/app.js +764 -71
- package/package.json +5 -3
- package/src/server/viewerHtml.js +111 -2
- package/src/viewer/app.js +1 -1
- package/src/viewer/screenSelection/cropController.js +418 -6
- package/src/viewer/screenSelection/editOverlay.js +348 -0
- package/src/viewer/screenSelection/geometry.js +66 -52
- package/src/viewer/screenSelection/index.js +61 -0
- package/src/viewer/screenSelection/pointerTracker.js +19 -11
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,18 @@ The format is based on Keep a Changelog and this project follows Semantic Versio
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.2.3] - 2026-05-04
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- Changed Crop Regions to use a `Draw Region` flow with editable convex quadrilateral regions, point/edge handles before camera movement, and a denser drawing grid preview.
|
|
14
|
+
|
|
15
|
+
## [0.2.2] - 2026-05-03
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
|
|
19
|
+
- Declared the server-side crop dependencies as runtime dependencies so installed packages can load `three` and `@sparkjsdev/spark`.
|
|
20
|
+
|
|
9
21
|
## [0.2.1] - 2026-05-03
|
|
10
22
|
|
|
11
23
|
### Changed
|
package/README.md
CHANGED
|
@@ -101,11 +101,12 @@ const {
|
|
|
101
101
|
|
|
102
102
|
The basic workflow is:
|
|
103
103
|
|
|
104
|
-
1. Click `
|
|
105
|
-
2.
|
|
106
|
-
3.
|
|
107
|
-
4.
|
|
108
|
-
5.
|
|
104
|
+
1. Click `Draw Region` and drag a rectangle over the splats to remove.
|
|
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.
|
|
106
|
+
3. Rotate, pan, or zoom the camera to fix the pending screen shape in 3D, then drag the far-plane handle to set how deep the crop region extends into the scene.
|
|
107
|
+
4. Click `Confirm` to add the region to the save list, or `Cancel` to discard the pending rectangle.
|
|
108
|
+
5. Select a confirmed region row if you need to adjust its 3D far plane with the transform handle.
|
|
109
|
+
6. Click `Save` to persist the root transform and delete splats inside the confirmed crop regions.
|
|
109
110
|
|
|
110
111
|
<img src="https://raw.githubusercontent.com/WilliamLiu-1997/3DTiles-Inspector/main/region.png" alt="Crop Regions" />
|
|
111
112
|
|