Releases: NASA-AMMOS/3DTilesRendererJS
Releases · NASA-AMMOS/3DTilesRendererJS
v0.4.0
v0.3.46
Fixed
- Types: Convert types of use non-wrapper types.
- Types: Adjust GLTF Plugin classes to extend appropriate type.
- BatchedMeshPlugin: Prevent empty groups from being added for each tile when using BatchedMeshPlugin.
- TilesRenderer: Fixed event targets not being set to the tiles renderer.
Changed
- TilesFadePlugin: TilesRenderer will now fire visibility hidden events once the tile is completely faded out.
- TilesFadePlugin: Fading tiles are now present in the tile set root rather than a sub group.
- TileCompressionPlugin: Change the defaults to not automatically compress normals, uvs to avoid artifacts.
- GlobeControls: Orthographic "near" margin around the globe has been increased from 10% to 25% of the large ellipsoid radius value.
Added
- Added "priority" field to plugins to ensure correct execution order.
TilesCompression
andBatchedMesh
plugin will always run first. - Added
UnloadTilesPlugin
. - Plugins: Add support for "setTileVisible" plugin callbacks.
- Add names to some plugins that were missing them.
- GLTFExtensionsPlugin: Add support for MeshoptDecoder.
- TilesRenderer: Add types for events.
- GlobeControls: Added
nearMargin
andfarMargin
percentages for controlling camera distances. - DebugTilesPlugin:
enabled
field to DebugTilesPlugin to enable / disable the debug features. - DebugTilesPlugin: Added support for
displayParentBounds
.
v0.3.45
Fixed
- CameraTransition R3F Component: Allow for not passing in a "mode".
- CameraTransition R3F Component: Allow for passing options arguments into the component.
- CameraTransition R3F Component: Fix on demand rendering not working correctly.
- Export new B3DM, I3DM, and PNTS types.
v0.3.44
v0.3.43
Fixed
- TilesFadePlugin: Adjust "TilesFadePlugin" such that it causes are rerender for r3f.
- EnvironmentControls: Fix orthographic camera zoom so it does not pop if too close to a surface.
- CesiumIonAuthPlugin and GoogleCloudAuthPlugin: The plugins now automatically retry root tile if it hasn't been loaded upon add.
v0.3.42
v0.3.41
Added
- R3F CameraTransition component to r3f export.
- CameraTransitionManager to core.
Fixed
- Added name field to "UpdateOnChangePlugin".
- CameraTransitionManager: Adjust the calculation for the near plane distance to avoid clipping in some cases.
Change
- Revert change that would cause the root tiles to "trickle" in over time if the root is empty and uses an "ADD" refinement. Tiles will now only render once a full set of child tiles can be rendered.
- Update "BatchedTilesPlugin" to rely on three.js r170, leverage new copy capabilities.
- TilesRenderer plugins and GLTF Extensions have been moved to
3d-tiles-renderer/plugins
export path.
v0.3.40
Added
- I3DMLoader: Add support for EAST_NORTH_UP semantic.
- R3F TilesRenderer: Added
group
property for passing react properties to the root tile set object. - R3F
<CompassGizmo>
component.
Changed
- Slightly modified the traversal algorithm to not require loaded content (and therefore for content to exist) in order to trigger child tiles to load.
- GlobeControls: renamed "updateClipPlanes" to "adjustCamera".
- CameraTransitionManager: added "autoSync" and "syncCameras" function.
- GlobeControls: Adjust behavior of zoomed out rotation to keep the grabbed point under the pointer.
Fixed
- EnvironmentControls: Assign the current camera to the raycaster.
- Typescript definitions for TilesRenderer.
- Case where the closest hit was not returned with "firstHitOnly" raycasting.
- R3F TilesRenderer: Fix case where the tiles renderer context would not trigger an update when options changed.
- UpdateOnChangePlugin: Fix case where tiles would not update correctly if plugin was added after cameras.
- EnvironmentControls: Correctly mark "wheel" event as non-passive.
v0.3.39
Added
ReorientationPlugin
andGLTFExtensionsPlugin
.- Ability to remove plugins via the
unregisterPlugin
function. - Support for octree subdivision to implicit tiling.
- Initial
BatchedTilePlugin
implementation to examples. - Initial support for
@react-three/fiber
with component implementations exported as3d-tiles-renderer/r3f
. See the r3f docs for more information.
Changed
- LRUCache minSize and maxSize variables to default to 6000, 8000.
- Added
getAttributions
function, deprecatedgetCreditsString
function. - GoogleCloudAuthPlugin: Use the photorealistic tiles url if a user has not provided one.
- GoogleCloudAuthPlugin: Modify the tiles renderer to use recommended settings for Google Photorealistic Tiles by default.
- Deprecated GooglePhotorealisticTilesRenderer.
- Improve EnvironmentControls momementum thresholds so movement stops sooner.
Fixed
- Case where tile set scale was incorrectly used when computed screenspace error.
- Case where
setTileVisibility
could get called asymmetrically. - Case where
TilesFadePlugin
would hold on to scene geometry after disposal.
v0.3.38
Added
- BatchTable: Added "getPropertyArray".
- GoogleCloudAuthPlugin, CesiumIonAuthPlugin: added "autoRefreshToken" option to enable automatically refreshing the token when requests fail due to timeout.
Fixed
- Fixed type definition.
- GlobeControls, EnvironmentControls: Account for near and far camera clip distances.
- I3DMLoader: Fix cases where external files may not be loaded correctly.
- Documentation typo:
maxByteSize
->maxBytesSize
. - Documented that LRUCache's
maxByteSize
andminByteSize
are only compatible with three.js >= r166 - Environment / GlobeControls: Fixed the pivot point mesh appearing when controls are disabled.
- Case where LRUCache could cause tiles to load repeatedly.