Replies: 5 comments
-
|
Beta Was this translation helpful? Give feedback.
-
These test functions might also give you some idea of how it's used: https://github.com/elalish/manifold/blob/master/test/mesh_test.cpp#L36-L79 |
Beta Was this translation helpful? Give feedback.
-
Can you do an example of getting the triangle from mesh_b when you boolean intersect a and b? Or boolean add if it's too hard. |
Beta Was this translation helpful? Give feedback.
-
Is this what you're after?
This same system works even after many consecutive boolean operations, since it will point each triangle back to whichever original mesh it came from, not just the most recent inputs. |
Beta Was this translation helpful? Give feedback.
-
Thanks. Maybe we can add to the documentation or a test, but I was able to use this. |
Beta Was this translation helpful? Give feedback.
-
Hi!
I was trying to get the original vertex data from boolean operations.
https://github.com/V-Sekai/godot/blob/csg-manifold-04/modules/csg/csg.cpp#L298-L419
Having trouble getting the original mesh id and its triangle index so I can check the property.
Beta Was this translation helpful? Give feedback.
All reactions