Skip to content

Releases: NASA-AMMOS/3DTilesRendererJS

v0.3.6

29 Jan 18:44
Compare
Choose a tag to compare

Fixed

  • "onPreprocessUrl" is now called for initial Tileset URL.

v0.3.5

07 Jan 05:02
Compare
Choose a tag to compare

Added

  • TilesRenderer.onTileVisibilityChange callback.
  • Support for GLTF in tilesets (3DTILES_content_gltf extension).

Changed

  • Improved type definitions.
  • PNTSLoader.parse now returns a promise.
  • All model loaders on inherit from a common type.

v0.3.4

16 Nov 03:36
Compare
Choose a tag to compare

Added

  • PriorityQueue: Added schedulingCallback to afford flexibility in job scheduling callback for scenarios where requestAnimationFrame will not work, such as with WebXR.

Fixed

  • autoDisableRendererCulling incorrectly applying the inverse of the documented effect.
  • Screen space error calculations now use the camera projectionMatrix rather than camera type to determine frustum type.

v0.3.3

08 Sep 18:14
Compare
Choose a tag to compare

Added

  • Support for embedded tileset / tile geometry URLs with hashes, search query parameters.

v0.3.2

02 Sep 15:48
Compare
Choose a tag to compare

Changed

  • DebugTilesRenderer: Bounding boxes now colored down the tree based on depth.
  • DebugTilesRenderer: "MeshStandardMaterial" is now used instead of "MeshBasicMaterial" for debugging.
  • TilesRenderer: add getBoundingSphere function.

Added

  • DebugTilesRenderer: "RANDOM_NODE_COLOR" visualization setting.
  • Names for various tile objects.
  • DebugTilesRenderer: Added getDebugColor function for adjusing the debug visualization colors.
  • Support for computing screen space error for tiles that had sphere bounds but no box bounds.
  • DebugTilesRenderer: Added customColorCallback and CUSTOM_COLOR mode for custom debug coloring.

Fixed

  • I3DMLoader: Fixed embedded absolute URLs not working correctly.
  • TilesRenderer: "getBounds" function throwing an error if no bounding box is present on the tileset.

v0.3.1

28 Jul 16:25
Compare
Choose a tag to compare

Fixed

  • Case where tiles that were outside of the camera frustum would be loaded with a higher priority.
  • Case where a single tiles renderer tiles would always be loaded with a higher priority.
  • Case where bounding boxes with one dimension of 0 would not compute the distance to camera correctly.

v0.3.0

25 Jul 03:45
Compare
Choose a tag to compare

Added

  • path-browserify dependency explicitly rather than relying on implicit polyfills for path package.

Changed

  • PriorityQueue.priorityCallback now takes two arguments.
  • The default priority sort now accounts for most recently used tiles, screenspace error, and distance to the camera.
  • TilesRenderer.calculateError no longer returns a value but is now expected to set __error and __distanceToCamera on the tile itself.

Fixed

  • TilesRendererBase.preprocessURL types definition.

v0.2.11

03 Jun 16:26
Compare
Choose a tag to compare

Fixed

  • PNTS files incorrectly having a GLTF rotation adjustment applied.

v0.2.10

16 Apr 05:03
Compare
Choose a tag to compare

Added

  • TilesRenderer.optimizeRaycast option to disable overriding the raycast function of loaded tiles.

Changed

  • Added "sideEffects: false" to package.json.

Fixed

  • Bounding box visualization not displaying correctly with DebugTilesRenderer when the bounds have a width of 0 in one dimension.

v0.2.9

04 Mar 04:25
Compare
Choose a tag to compare

Added

  • onLoadTileSet to the typescript definitions file.

Fixed

  • Feature table attributes like RTC_CENTER not being correctly applied to loaded tile geometry.
  • B3DMLoader.load not correctly resolving with a model.

Changed

  • String decoding to use TextDecoder.