Skip to content

Releases: NASA-AMMOS/3DTilesRendererJS

v0.4.2

14 Jan 09:45
Compare
Choose a tag to compare

Fixed

  • Case where an evicted tile could still continue to parse, causing an incorrect "loadProgress" value.

v0.4.1

14 Jan 02:16
Compare
Choose a tag to compare

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 the GLTFExtensionsPlugin, instead.
  • Removed GLTFExtensionLoader.

v0.4.0

25 Dec 09:37
Compare
Choose a tag to compare

Changed

  • Minimum three.js version is now r166.
  • Remove deprecated functions, plugin references.
  • Moved "BatchedTilesPlugin" to the "plugins" subpackage.
  • Add support for BatchedTilesPlugin to FadeTilesPlugin.

v0.3.46

24 Dec 14:24
Compare
Choose a tag to compare

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 and BatchedMesh 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 and farMargin percentages for controlling camera distances.
  • DebugTilesPlugin: enabled field to DebugTilesPlugin to enable / disable the debug features.
  • DebugTilesPlugin: Added support for displayParentBounds.

v0.3.45

13 Dec 07:48
Compare
Choose a tag to compare

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

07 Dec 08:07
Compare
Choose a tag to compare

Fixed

  • TilesRenderer: Root tile load state not getting set correctly.

v0.3.43

07 Dec 07:31
Compare
Choose a tag to compare

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

02 Dec 02:45
Compare
Choose a tag to compare

Changed

  • Increased default downloadQueue max jobs from 4 to 10.
  • Move TilesFadePlugin, TileCompressionPlugin, UpdateOnChangePlugin to 3d-tiles-renderer/plugins.
  • Move ReorientationPlugin, GLTFExtensionsPlugin to 3d-tiles-renderer/plugins.

v0.3.41

07 Nov 03:20
Compare
Choose a tag to compare

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

28 Oct 15:12
Compare
Choose a tag to compare

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.