Skip to content

Improved clipping#77

Open
LengthenedGradient wants to merge 7 commits into
masterfrom
improved-clipping
Open

Improved clipping#77
LengthenedGradient wants to merge 7 commits into
masterfrom
improved-clipping

Conversation

@LengthenedGradient

Copy link
Copy Markdown
Member

Adds support for:

  • Clips from improved clipping
    • "Sealed" clips which cap off holes left by clips with a convex hull
  • Meshing recent primitive shapes such as parallelogram and dome_hollow

Convex hull should propperly seal off clips for clips of concave primitives such as magic cubes and tubes
Hollow domes and parallelograms were unhandled previously.
@LengthenedGradient
LengthenedGradient marked this pull request as ready for review July 22, 2026 01:09
p2m will now use the existing primitives global table if primitives are installed.

This makes the code much more maintainable and it just makes sense. If primitives aren't installed, then it's not p2m's responsibility to support them.
Sealing a multiconvex entity introduces a discrepancy. Clipping a concave object results in a concave hole in the physics mesh. It should not be covered up visually.
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.

1 participant