Replies: 1 comment 4 replies
-
I like this idea quite a bit. Perhaps even we could allow |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We currently track mesh id for boolean operations and compose, which allows users to figure out where a particular triangle comes from and reapply certain properties. Triangles from different meshes will not be collapsed, so in some cases tracking this information can have significant overhead (#671).
I think instead of opt-out as in #671, we can do opt-in for mesh ID tracking. For example, we can say that we will not track mesh ID 0, so
IncrementMeshIDs
will only remap non-zero IDs. We treat meshes with mesh ID 0 as from the same mesh, and coplanar triangles can be collapsed. To opt-out from this behavior, the user should callAsOriginal
for the boolean operands to give the mesh some non-zero initial ID, and future boolean operations will give the result different mesh IDs due to calls toIncrementMeshIDs
.Beta Was this translation helpful? Give feedback.
All reactions