Skip to content

Conversation

@Leguark
Copy link
Member

@Leguark Leguark commented Jan 22, 2026

Enhanced Dual Contouring Triangulation

This PR improves the dual contouring triangulation system to support arbitrary grid shapes beyond the previous 2x2x2 limitation:

  • Removed the legacy triangulation method and deprecated the mesh_extraction_fancy option
  • Enhanced the triangulation algorithm to work with anisotropic octrees (non-cubic root grids)
  • Simplified the triangulation code interface by removing unnecessary parameters
  • Added support for arbitrary grid dimensions by dynamically calculating bit packing factors
  • Added a test case for anisotropic octree dual contouring

The implementation now properly handles root grid resolutions other than 2³, making the dual contouring system more flexible for different model configurations.

Copy link
Member Author

Leguark commented Jan 22, 2026

@Leguark Leguark changed the title [WIP] trying to update the triangulation [REFACTOR] Modernize triangulation code and remove legacy mesh extraction method Jan 22, 2026
@Leguark Leguark marked this pull request as ready for review January 22, 2026 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants