Skip to content

v0.4.20

Choose a tag to compare

@gkjohnson gkjohnson released this 03 Feb 12:24
· 87 commits to master since this release

Added

  • TilesRenderer: Add "queued" status and stats counter for tiles in addition to "downloading" and "parsing".
  • TilesRenderer now removes tiles from the download queue if they are no longer needed for rendering. Tiles will continue to process if they are mid-download or parsing.
  • I3DMLoader: Added support for oct-encoded normals.
  • TilesRenderer: Added "optimizedLoadStrategy" and "loadSiblings" options. These are experimental settings and are planned to be the default and only tile load strategy.
  • R3F: added "EllipsoidContext" with "ellipsoid" and "frame" fields
  • Export FeatureTable, BatchTable classes.
  • TilingScheme: "tileSplitX" and "tileSplitY" variables per tile
  • XYZImageFormat: add "projection" option and ability to set tile settings per-level.
  • DebugTilesPlugin: add "update" function so settings can be updated without updating tiles.
  • LoadRegionPlugin: Added "calculateDistance" function to regions, used for tile load sorting.
  • TilesRenderer: Added "maxTilesProcessed" field to adjust how much time is spent per frame processing tiles during traversal.

Changed

  • ImageOverlayPlugin: Textures are now assumed to be straight alpha.
  • ImageOverlayPlugin: Refactor image overlays to afford drawing directly to region textures.
  • GeoJSONOverlay: Add "redraw" function to redraw the geojson once it's changed
  • Renamed the "cached" tile subfield to "engineData".
  • Moved a number of tile fields into "traversal" and "internal" subfields on "tile" object.
  • ImplicitTilingPlugin: Moved implicit tiling fields onto a new "implicitTilingData" object.
  • DebugTilesPlugin: Replaced "getTileInformationFromActiveObject" function with "getTileFromObject3D".
  • DebugTilesPlugin: Add transparent mesh to box helper visualization.
  • TilesRenderer: Moved "update-before", "update-after" events to TilesRendererBase.
  • Plugins: moved handling of "doTilesNeedUpdate" to TilesRendererBase.
  • TilesRenderer: "dispose-model" even is now fired before "dispose" is called on sub objects.
  • Simplified handling of processed children, removed internal.processedChildren.

Fixed

  • Fix mouse offset in Controls.
  • Fixed case where DebugTilesPlugin could throw an error when toggling "enabled".
  • DebugTilesPlugin: Fixed case where "enabled" was not resepected if set to false on creation.