3dtiles-inspector 0.2.2 → 0.2.4
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 +22 -0
- package/README.md +6 -5
- package/dist/inspector-assets/viewer/app.js +1359 -122
- package/package.json +1 -1
- package/src/server/viewerHtml.js +112 -3
- package/src/viewer/app.js +8 -3
- package/src/viewer/navigation/cameraFlyTo.js +730 -0
- package/src/viewer/navigation/flyTo.js +78 -16
- package/src/viewer/scene/cameraController.js +2 -2
- package/src/viewer/scene/sceneSetup.js +3 -6
- 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,28 @@ The format is based on Keep a Changelog and this project follows Semantic Versio
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.2.4] - 2026-05-04
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- Added smooth camera fly-to animations for tileset framing and coordinate navigation, including arced world-space paths, upright heading/pitch interpolation, and orthographic zoom support.
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
- Changed the initial tileset framing and `Move to Tiles`/coordinate actions to animate the camera instead of snapping immediately.
|
|
18
|
+
- Moved the crop region list below the crop confirm/cancel controls.
|
|
19
|
+
- Reduced the viewer's initial camera distance and far plane.
|
|
20
|
+
|
|
21
|
+
### Fixed
|
|
22
|
+
|
|
23
|
+
- Fixed zooming out in center-mode views drifting away from the mouse anchor because globe zoom-out transitions were being applied to local coordinates.
|
|
24
|
+
|
|
25
|
+
## [0.2.3] - 2026-05-04
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
|
|
29
|
+
- 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.
|
|
30
|
+
|
|
9
31
|
## [0.2.2] - 2026-05-03
|
|
10
32
|
|
|
11
33
|
### Fixed
|
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
|
|