You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- CameraTransitionManager: Add option to pass delta time to the update function.
277
277
278
278
### Fixed
279
-
- Improved the behavior of `loadProgress` so it "bounces" less during loading by queueing all tiles load immediately (other than cases with external tile sets).
279
+
- Improved the behavior of `loadProgress` so it "bounces" less during loading by queueing all tiles load immediately (other than cases with external tilesets).
280
280
- Moved the dispatch location of "load-model", "tiles-load-start", and "tiles-load-end" so the behavior is more consistent.
281
281
282
282
## [0.4.3] - 2025.01.19
@@ -335,7 +335,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
335
335
336
336
### Changed
337
337
- TilesFadePlugin: TilesRenderer will now fire visibility hidden events once the tile is completely faded out.
338
-
- TilesFadePlugin: Fading tiles are now present in the tile set root rather than a sub group.
338
+
- TilesFadePlugin: Fading tiles are now present in the tileset root rather than a sub group.
339
339
- TileCompressionPlugin: Change the defaults to not automatically compress normals, uvs to avoid artifacts.
340
340
- GlobeControls: Orthographic "near" margin around the globe has been increased from 10% to 25% of the large ellipsoid radius value.
341
341
@@ -390,7 +390,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
390
390
## [0.3.40] - 2024.10.29
391
391
### Added
392
392
- I3DMLoader: Add support for EAST_NORTH_UP semantic.
393
-
- R3F TilesRenderer: Added `group` property for passing react properties to the root tile set object.
393
+
- R3F TilesRenderer: Added `group` property for passing react properties to the root tileset object.
394
394
- R3F `<CompassGizmo>` component.
395
395
396
396
### Changed
@@ -424,7 +424,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
424
424
- Improve EnvironmentControls momementum thresholds so movement stops sooner.
425
425
426
426
### Fixed
427
-
- Case where tile set scale was incorrectly used when computed screenspace error.
427
+
- Case where tileset scale was incorrectly used when computed screenspace error.
428
428
- Case where `setTileVisibility` could get called asymmetrically.
429
429
- Case where `TilesFadePlugin` would hold on to scene geometry after disposal.
430
430
@@ -453,7 +453,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
453
453
- EnvironmentControls: Added "enableDamping" option for inertial animation.
454
454
- Ellipsoid: Added "getEastNorthUpAxes".
455
455
- Ellipsoid: Added "getAzElRollFromRotationMatrix" and "getRotationMatrixFromAzElRoll"
456
-
- TilesRendererBase: Tiles are now queued and sorted before triggering load to avoid only a single tile set branch loading and filling up the lru cache.
456
+
- TilesRendererBase: Tiles are now queued and sorted before triggering load to avoid only a single tileset branch loading and filling up the lru cache.
457
457
458
458
### Changed
459
459
- TilesOverlayPlugin: Changed constructor to take options object, instead.
@@ -497,14 +497,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
497
497
- GLTFStructureMetadata extension exits gracefully if no extension is present.
498
498
499
499
### Changed
500
-
- CesiumIonTilesRenderer: Will immediately load the tile set after resolving credentials.
500
+
- CesiumIonTilesRenderer: Will immediately load the tileset after resolving credentials.
501
501
- Examples FadeTilesRenderer has been changed to a plugin.
502
502
- Deprecated `GoogleTilesRenderer` and `CesiumIonTilesRenderer` in favor of using the new authentication plugins.
503
503
- Loaders: ".load" function has been renamed to ".loadAsync".
504
504
- Deprecated `onLoadTileset`, `onLoadModel`, `onDisposeModel`, and `onTileVisibilityChange` in favor of their event equivalents.
505
505
- LRUCache: "unloadPriorityCallback" has been changted to take two tile arguments to sort instead of one.
506
506
- DebugTilesRenderer has been deprecated in favor of the "DebugTilesPlugin".
507
-
- LRU Cache unload priority function now unloads deepest tiles first, then least recently used, then non-external tile sets.
507
+
- LRU Cache unload priority function now unloads deepest tiles first, then least recently used, then non-external tilesets.
508
508
509
509
## [0.3.35] - 2024.06.25
510
510
### Fixed
@@ -519,7 +519,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
519
519
520
520
## [0.3.33] - 2024.05.31
521
521
### Fixed
522
-
- Remove logged error when a tile set is aborted.
522
+
- Remove logged error when a tileset is aborted.
523
523
- Adjusted raycast early exit behavior based on three.js r165.
524
524
- EnvironmentControls: fix case where the dragging does not work from below
525
525
- Remote glTF textures failing to load.
@@ -817,7 +817,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
The margin around the globe to include when positioning the camera near plane as a percentage of the max radius of the tile set ellipsoid. Useful for ensuring visualizations and other models are visible around the globe.
111
+
The margin around the globe to include when positioning the camera near plane as a percentage of the max radius of the tileset ellipsoid. Useful for ensuring visualizations and other models are visible around the globe.
112
112
113
113
Default is 25%.
114
114
@@ -118,7 +118,7 @@ Default is 25%.
118
118
farMargin = 0 : number
119
119
```
120
120
121
-
The margin around the globe to include when positioning the camera far plane as a percentage of the max radius of the tile set ellipsoid. Useful for ensuring visualizations and other models are visible around the globe.
121
+
The margin around the globe to include when positioning the camera far plane as a percentage of the max radius of the tileset ellipsoid. Useful for ensuring visualizations and other models are visible around the globe.
Copy file name to clipboardExpand all lines: README.md
+23-23Lines changed: 23 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,11 +7,11 @@
7
7
8
8
Three.js renderer implementation for the [3D Tiles format](https://github.com/AnalyticalGraphicsInc/3d-tiles/blob/master/specification/). The renderer supports most of the 3D Tiles spec features with a few exceptions. For a list of available data sets and generation tools see the [3d Tiles resources](https://github.com/CesiumGS/3d-tiles/blob/main/RESOURCES.md) list.
9
9
10
-
If a tile set or geometry does not load or render properly please make an issue! Example data is needed for adding and testing features. See the [Feature Complete Milestone](https://github.com/NASA-AMMOS/3DTilesRendererJS/milestone/1) for information on which features are not yet implemented.
10
+
If a tileset or geometry does not load or render properly please make an issue! Example data is needed for adding and testing features. See the [Feature Complete Milestone](https://github.com/NASA-AMMOS/3DTilesRendererJS/milestone/1) for information on which features are not yet implemented.
11
11
12
12
**Examples**
13
13
14
-
[Dingo Gap Mars dataset with multiple tile sets](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/mars.html)
14
+
[Dingo Gap Mars dataset with multiple tilesets](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/mars.html)
15
15
16
16
[Kitchen sink example with all options here](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/index.html)
Options passed to `fetch` when loading tile set and model data.
368
+
Options passed to `fetch` when loading tileset and model data.
369
369
370
370
### .errorTarget
371
371
@@ -445,7 +445,7 @@ Queue for expanding and initializing tiles for traversal. Max jobs defaults to `
445
445
group : Group
446
446
```
447
447
448
-
The container group for the 3d tiles. Add this to the three.js scene in order to render it. The group includes an additional `matrixWorldInverse` field for transforming objects into the local tile set frame.
448
+
The container group for the 3d tiles. Add this to the three.js scene in order to render it. The group includes an additional `matrixWorldInverse` field for transforming objects into the local tileset frame.
449
449
450
450
### .manager
451
451
@@ -469,23 +469,23 @@ Returns the total load progress between `[0, 1]`. Progress is measured since the
469
469
readonly ellipsoid : Ellipsoid
470
470
```
471
471
472
-
A definition on the ellipsoid used for the tile set. Defaults to the WGS84 ellipsoid and is modified if the `3DTILES_ELLIPSOID` plugin is present. Specified in the local frame of [TilesRenderer.group](#group).
472
+
A definition on the ellipsoid used for the tileset. Defaults to the WGS84 ellipsoid and is modified if the `3DTILES_ELLIPSOID` plugin is present. Specified in the local frame of [TilesRenderer.group](#group).
473
473
474
474
### .constructor
475
475
476
476
```js
477
477
constructor( url=null:String|null )
478
478
```
479
479
480
-
Takes the url of the `tileset.json` for the tile set to be rendered.
480
+
Takes the url of the `tileset.json` for the tileset to be rendered.
481
481
482
482
### .update
483
483
484
484
```js
485
485
update() : void
486
486
```
487
487
488
-
Updates the tiles to render and kicks off loads for the appropriate tiles in the 3d tile set.
488
+
Updates the tiles to render and kicks off loads for the appropriate tiles in the 3d tileset.
489
489
490
490
Both `group.matrixWorld` and all cameras world matrices are expected to be up to date before this is called.
491
491
@@ -503,23 +503,23 @@ If any tiles failed to load due to server or network issues then they will not b
503
503
getBoundingBox( box : Box3 ) : boolean
504
504
```
505
505
506
-
Sets `box` to the axis aligned root bounding box of the tile set in the [group](#group) frame. Returns `false` if the tile root is not loaded and the bounding box cannot be set.
506
+
Sets `box` to the axis aligned root bounding box of the tileset in the [group](#group) frame. Returns `false` if the tile root is not loaded and the bounding box cannot be set.
Sets `box` and `boxTransform` to the bounds and matrix that describe the oriented bounding box that encapsulates the root of the tile set. Returns `false` if the tile root is not loaded and the bounding box cannot be set.
514
+
Sets `box` and `boxTransform` to the bounds and matrix that describe the oriented bounding box that encapsulates the root of the tileset. Returns `false` if the tile root is not loaded and the bounding box cannot be set.
515
515
516
516
### .getBoundingSphere
517
517
518
518
```js
519
519
getBoundingSphere( sphere : Sphere ) : boolean;
520
520
```
521
521
522
-
Sets `sphere` to the bounding sphere that encapsulates the root of the tile set. Returns `false` if the tile root is not loaded and the bounding sphere cannot be set.
522
+
Sets `sphere` to the bounding sphere that encapsulates the root of the tileset. Returns `false` if the tile root is not loaded and the bounding sphere cannot be set.
523
523
524
524
### .hasCamera
525
525
@@ -535,15 +535,15 @@ Returns `true` if the camera has already been set on the renderer.
535
535
setCamera( camera : Camera ) : boolean
536
536
```
537
537
538
-
Adds the camera to the camera to be accounted for when traversing the tile set. Returns `false` if the camera is already being tracked. Returns `true` otherwise.
538
+
Adds the camera to the camera to be accounted for when traversing the tileset. Returns `false` if the camera is already being tracked. Returns `true` otherwise.
539
539
540
540
### .deleteCamera
541
541
542
542
```js
543
543
deleteCamera( camera : Camera ) : boolean
544
544
```
545
545
546
-
Removes the given camera from being accounted for when traversing the tile set. Returns `false` if the camera was not tracked.
546
+
Removes the given camera from being accounted for when traversing the tileset. Returns `false` if the camera was not tracked.
547
547
548
548
### .setResolution
549
549
@@ -568,7 +568,7 @@ Sets the resolution being rendered to for the given camera via renderer which ac
Fires the callback for every loaded scene in the hierarchy with the associated tile as the second argument. This can be used to update the materials of all loaded meshes in the tile set.
571
+
Fires the callback for every loaded scene in the hierarchy with the associated tile as the second argument. This can be used to update the materials of all loaded meshes in the tileset.
Returns a list of attributions for the data in the tile set. The list can change when tile visibility changes.
606
+
Returns a list of attributions for the data in the tileset. The list can change when tile visibility changes.
607
607
608
608
The "type" can be a "string", "html", or "image" depending on the type of attribution. Google Photorealistic Tiles, for example, returns a list of sources as a string.
0 commit comments