Skip to content

Releases: gkjohnson/three-mesh-bvh

v0.8.3

11 Nov 23:30
Compare
Choose a tag to compare

Fixed

  • Library not working with BatchedMesh in three.js r170.

v0.8.2

01 Oct 17:16
Compare
Choose a tag to compare

Fixed

  • Unnecessarily large triangle bounds buffer used during BVH construction.

v0.8.1

29 Sep 08:56
Compare
Choose a tag to compare

Fixed

  • Made example SDF generation logic more robust.
  • Adjust the valid the three.js peer dependency.
  • Add "barycoord" to the intersection values to align with latest three.js.

v0.8.0

18 Sep 14:55
Compare
Choose a tag to compare

Fixed

  • Updated three.js version to r158 where BatchedMesh is supported and available so certain bundlers do not fail on build.

v0.7.8 (Deprecated)

11 Sep 03:07
Compare
Choose a tag to compare

deprecated due to three.js version incompatibility. Use v0.8.0.

Fixed

  • Failure with older versions of three.js in some bundlers.

v0.7.7 (Deprecated)

09 Sep 02:04
Compare
Choose a tag to compare

deprecated due to three.js version incompatibility. Use v0.8.0.

Added

  • Support for a custom "range" option to build a BVH from a sub range of the geometry.
  • BatchedMesh support for bounds tree generation functions and raycasting. See "computeBatchedBoundsTree" and "disposeBatchedBoundsTree".
  • MeshBVHHelper support for InstancedMesh, BatchedMesh.

Fixed

  • Bug in MeshBVH.bvhcast causing the incorrect bounds to be checked on the other bvh.
  • Box3.setFromObject failing when MeshBVHHelper is included.

v0.7.6

20 Jul 01:37
Compare
Choose a tag to compare

[0.7.6] - 2024-07-02

Fixed

  • Regression when intersecting InstancedMesh instances.

v0.7.5

02 Jun 02:58
Compare
Choose a tag to compare

Changed

  • Respect Raycaster.near and Raycaster.far during raycast traversal, improving performance.

Fixed

  • The resolveTriangleIndex throwing an error when deserializing an indirect BVH.

v0.7.4

10 Apr 21:19
Compare
Choose a tag to compare

Changed

  • Improved raycasting performancy by ~20% by avoiding use of the "arrayToBox" function internally.

Fixed

  • ParallelMeshBVHWorker now generates a geometry index if it's required.
  • Add support for the "indirect" option to both workers.
  • Worker generators not guaranteeing that 100% progress would be fired to the onProgress callback.

v0.7.3

20 Feb 13:19
Compare
Choose a tag to compare

Fixed

  • StaticGeometryGenerator, VertexAttributeTexture now support empty geometry.