-
Notifications
You must be signed in to change notification settings - Fork 1
[ENH] Implement surface-based dual contouring with optimized triangulation #35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was referenced Oct 9, 2025
Member
Author
342f402 to
26c84ed
Compare
ec0d9e4 to
ee4bcf8
Compare
26c84ed to
3007a80
Compare
ee4bcf8 to
062654a
Compare
Member
Author
f0fd83c to
4ec0a28
Compare
3007a80 to
e9ff3f0
Compare
…n `dual_contouring`
…and fine-tune parallel processing logic
Renamed and updated benchmarking tests for consistency, including changes to test file names and parameters. Improved voxel mapping logic in `fancy_triangulation.py` for efficiency, reducing computational overhead and adding optimized methods. Enhanced octree level settings and benchmarking configurations for better profiling.
…line Streamlined handling of `left_right_codes` across functions and classes, updating method signatures and data structures for consistency. Removed unused `left_right_codes` parameters in parallel processing functions and restructured relevant logic to improve maintainability.
4ec0a28 to
8a0849f
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

[ENH] Dual contouring v2
This PR introduces a new version of the dual contouring algorithm with significant improvements:
_dual_contouring_v2.pythat processes surfaces individuallyall_stack_intersectiontoall_surfaces_intersectionfor clarityleft_rightparameter fromDualContouringMeshclassfancy_triangulation.pywith more efficient algorithmsisinand optimized mask-to-indices conversionThe new implementation provides better performance by processing each surface independently and using more efficient data structures and algorithms.