Releases: NASA-AMMOS/3DTilesRendererJS
Releases · NASA-AMMOS/3DTilesRendererJS
v0.4.7
Added
- GlobeControls: If no raycast intersection is fund then fallback to intersecting the tile set globe.
- EnvironmentControls, GlobeControls: Fix inertia calculations for orthographic cameras.
- R3F EastNorthUpFrame: Add support for passing the ellipsoid in directly.
- TilesRenderer.group: Added "matrixWorldInverse" field.
- Add "LoadRegionPlugin".
Fixed
- Fix case where the environment and globe controls can have residual inertia after stopping the mouse.
- Image Format Plugins: Fix case where tiles may not cause update on first load resulting in no tiles rendered.
Changed
- Deprecated "TilesRenderer.setLatLonToYUp" function.
- Deprecated "TilesRenderer.errorThreshold" option.
- Deprecated "TilesRenderer.optimizeRaycast" option.
- Use "TilesRenderer.group.matrixWorldInverse" across src files to reduce matrix invert operations.
v0.4.6
Added
- R3F TilesRenderer: Add "enabled" field
Fixed
- CesiumIonAuthPlugin: Fix the plugin not being disposed of properly.
- EnvironmentControls: Fix missing pivot mesh ring when rotating the camera.
- Fix GLTF Metadata plugin not returning matrix values correctly.
- TMS, XYZ Plugins: Fix case where texture would be distorted due to incorrect vertex placement when using mercator projection.
- Case where TilesRenderer.root was not initialized before the "load-tile-set" event was fired.
- R3F TilesRenderer: Update the tile set when a tile set is loaded.
- ImageFormatPlugins: Fix plugin so it does not preclude updates incorrectly.
- R3F TilesRenderer: Prevent reinstantiation of all child plugins, objects on options change.
- R3F EastNorthUpFrame: Automatically update based on ellipsoid updates.
- EnvironmentControls: Use a zoom approach that is (hopefully) more normalized across platforms.
v0.4.5
Added
- DeepZoomImage plugin support.
- TMS tiles plugin support.
- XYZ tiles plugin support.
- Add ability to display TMS, XYZ tiles as an ellipsoid or plane.
- R3F: "SettledObject" and "SettledObjects" components.
- BatchedTilesPlugin: Add "textureSize" option.
Fixed
- EnvironmentControls: Fixed circle mesh not hiding when zooming on mobile.
- BatchedTilesPlugin: Fix case where image bitmaps would not be disposed of correctly when discarding data.
- BatchedTilesPlugin: Fix small 32-bit floating point math precision problems causing small offsets for globe tiles.
- Plugins: Fix case where a plugin was not inserted based on priority correctly.
- EnvironmentControls, GlobeControls: Scale intertial animation based on distance to drag point.
v0.4.4
Added
load-error
events when model, tile set, and API token requests fail to fetch or parse.- CanvasDOMOverlay: Add support for "ref".
- CameraTransitionManager: Add
easeFunction
setting. - CameraTransitionManager: Add option to pass delta time to the update function.
Fixed
- Improved the behavior of
loadProgress
so it "bounces" less during loading by queueing all tiles load immediately (other than cases with external tile sets). - Moved the dispatch location of "load-model", "tiles-load-start", and "tiles-load-end" so the behavior is more consistent.
v0.4.3
Added
- Updated types for EnvironmentControls and GlobeControls.
- TilesAttributionOverlay: Added "generateAttributions" callback for generating child elements.
- CameraTransitionManager: Added "toggle" event.
- CameraTransitionManager: Added support for rotation interpolation.
- Ellipsoid: Added "getFrame" function.
Changed
- Moved "visibleTiles" and "activeTiles" sets to the TilesRendererBase class.
- EnvironmentControls:
getPivotPoint
function now defaults to the nearest raycast point if the last interacted point is offscreen.
Fixed
- CanvasDOMOverlay is now correctly positioned at the same spot as the canvas.
- UnloadTilesPlugin: Fixed incorrect reference to
visibleSet
rather thanvisibleTiles
. - R3F EnvironmentControls, GlobeControls: Add support for "ref", event props.
v0.4.2
v0.4.1
Added
- PNTSLoader: Add support for normals, quantized normals.
- TilesRenderer: Support for 3DTILES_ELLIPSOID extension.
- Types: Added types for CameraTransitionManager, GlobeControls, EnvironmentControls.
- "inCache" field in TilesRenderer.stats object representing number of tiles in the lru cache for that renderer.
- TilesRenderer: added "loadProgress" field.
Fixed
- TilesRenderer update no longer implicitly marks all tiles owned by other tiles renderers as unused. All tiles renderers sharing an LRUCache no longer must have their "update" functions called on the same frame.
- Types: Fixed types for all plugins options to be appropriately marked as "optional".
- Case where ImageBitmap data may not have been disposed in rare situations.
Changed
- Remove "loadIndex" fields for cancelling redundant loads in favor of an abort signal.
- Removed gltf extension exports from core. Use the plugins export, instead.
- TilesRenderer:
CESIUM_RTC
glTF extension is no longer automatically supported. Use theGLTFExtensionsPlugin
, instead. - Removed
GLTFExtensionLoader
.
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.