Skip to content

v0.5.3

Latest

Choose a tag to compare

@gkjohnson gkjohnson released this 18 Sep 08:56
· 8 commits to master since this release

Added

  • PotreePlugin: Add plugin for loading Potree point cloud datasets (v1.x and v2.0) with per point level of detail sizing.
  • PointCloudEffectsPlugin: Add plugin for point cloud display options, including point shape, minimum point size, and eye dome lighting.
  • MVTAnnotationsPlugin: Add support for changing "resolution" after initialization.
  • GlobeControls: Adjust the globe controls to use stable orientation during rotation.
  • TilesRenderer: Add "surface" field describing how cartographic values map onto the displayed tile geometry, defaulting to the ellipsoid.
  • ProjectedSurface: Add a surface definition for tile geometry flattened onto a projected plane.
  • GeneratedSurfacePlugin, TerrainRGBMeshPlugin: Add "projection" option to select the displayed surface shape, including displaying planar content in a different projection than it is stored in. Deprecates the "shape" option.
  • ProjectionScheme: Added support for EPSG:8857, equal earth projection.
  • TilesRenderer: Add "stats.refused", the number of tiles the last update could not queue for loading because the cache was full.

Fixed

  • ImageOverlayPlugin: Fix overlays added without an explicit order being assigned an order of NaN.
  • GeoJSONOverlay, MVTOverlay: Fix transparent seams along tile edges at high zoom levels caused by canvas transform precision.
  • LRUCache: Fix "unloadUnusedContent" looping forever when fractional byte sizes cause the tracked total to drift above the summed item sizes. Byte sizes are now rounded to integers.
  • MVTAnnotationsPlugin: Fix line features without a name or id sharing an id, causing them to be merged.
  • MVTAnnotationsPlugin: Fix a crash when a tile visibility event is dispatched after the tile has been disposed.
  • MVTGlyphs: Fix "update" throwing when called before the glyphs have been rendered for the first time.
  • MVTGlyphAtlasTexture: Fix "drawChar" centering glyphs using the previously assigned canvas font.
  • MVTGlyphAtlasTexture: Fix SVG icon outlines rendering at half the width of text outlines for the same "strokeWidth".
  • TerrainLambertMaterial: Fix dark lines along tile edges when the terrain is viewed from above.
  • BatchedTilesPlugin: Fix bug where tiles were not transformed properly before being added to the batched mesh instance.

Changed

  • MVTAnnotationsPlugin: The driver's render group is only mounted under the tiles group if it has not already been parented elsewhere.
  • Traversal: Skip recomputing the view error for tiles that are only visited to update their frame state, significantly reducing traversal time.
  • MVTAnnotationsPlugin: Improve performance when removing the road labels of an unloaded vector tile.
  • ImageOverlayPlugin, MVTAnnotationsPlugin: Map draped textures and annotations through "TilesRenderer.surface" so they support flattened, projected surfaces.
  • QueryManager: Deprecate the r3f QueryManager class.
  • GeneratedSurfacePlugin: Deprecate "getCartographicFromPosition" and "getPositionFromCartographic" in favor of the "TilesRenderer.surface" functions.