Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

three-mesh-bvh

Package Overview
Dependencies
Maintainers
0
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

three-mesh-bvh - npm Package Versions

23
7

0.8.3

Diff

Changelog

Source

[0.8.3] - 2024-11-11

Fixed

  • Library not working with BatchedMesh in three.js r170.
gkjohnson
published 0.8.2 •

Changelog

Source

[0.8.2] - 2024-10-01

Fixed

  • Unnecessarily large triangle bounds buffer used during BVH construction.
gkjohnson
published 0.8.1 •

Changelog

Source

[0.8.1] - 2024-09-29

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.
gkjohnson
published 0.8.0 •

Changelog

Source

[0.8.0] - 2024-09-18

Fixed

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

Changelog

Source

~[0.7.8] - 2024-09-11~

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

Fixed

  • Failure with older versions of three.js.
gkjohnson
published 0.7.7 •

Changelog

Source

~[0.7.7] - 2024-09-09~

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.
gkjohnson
published 0.7.6 •

Changelog

Source

[0.7.6] - 2024-07-02

Fixed

  • Regression when intersecting InstancedMesh instances.
gkjohnson
published 0.7.5 •

Changelog

Source

[0.7.5] - 2024-06-02

Changed

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

Fixed

  • The resolveTriangleIndex throwing an error when deserializing an indirect BVH.
gkjohnson
published 0.7.4 •

Changelog

Source

[0.7.4] - 2024-04-10

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.
gkjohnson
published 0.7.3 •

Changelog

Source

[0.7.3] - 2024-02-20

Fixed

  • StaticGeometryGenerator, VertexAttributeTexture now support empty geometry.
23
7
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc