Three Bvh Csg Versions Save

A flexible, memory compact, fast and dynamic CSG implementation on top of three-mesh-bvh

v0.0.16

4 months ago

Fixed

  • A couple cases relating missing triangles during clip
  • Cases where degenerate triangles could make their way into the result and potentially cause incorrectly large bounding boxes.

v0.0.15

5 months ago

Fixed

  • Case where extraneous points could be generated causing incorrectly large bounding boxes when brushes contain degenerate triangles.

v0.0.13

6 months ago

Fixed

  • Case where coplanar faces may not be clipped together.
  • Case where coplanar faces may not be removed correctly.

v0.0.12

7 months ago

Fixed

  • Evaluator.conslidateGroups not working as expected when groups need to be reordered and merged.
  • Cases where triangles are culled incorrectly.

v0.0.11

7 months ago

Added

  • Small performance improvement to HalfEdge structure generation resulting in up to 4-5% time improvement on operations.
  • Additional small performance improvement of 4-5% to speed up determination of whether a whole triangle is inside the companion mesh or not.
  • Adjust the hash logic for finding sibling edges to be more robust.
  • Support for HOLLOW_INTERSECTION and HOLLOW_SUBTRACTION to allow for non-manifold clipping results on the first brush.
  • Improve performance by ~10-30% when objects are intersecting by preemtively detecting potential coplanar faces and skipping a slow raycast path for non-coplanar faces.

v0.0.10

8 months ago

Added

  • Evaluator.consolidateGroups option to merge groups with common materials on CSG operation.
  • New optional function signature for Evalutor.evaluate to return perform multiple operations on the brushes at once.
  • REVERSE_SUBTRACTION operation to perform the subtraction of brush A from brush B.

Fixed

  • A clip case resulting in a missing triangle.

Changed

  • Bumped three-mesh-bvh version to v0.6.6
  • Uses an indirect bvh buffer to enable faster intersection search operations.

v0.0.9

9 months ago

Fixed

  • Incorrect type declarations.

v0.0.8

10 months ago

Fixed

  • Peer dependencies to allow three versions >= r144

v0.0.7

11 months ago

Fixed

  • Typo when changing SphereBufferGeometry.

v0.0.6

11 months ago

Changed

  • Updated to support three.js versions >= 154