-
Notifications
You must be signed in to change notification settings - Fork 24
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
No CSG For 2-D shape modeling #276
Comments
@louis-langholtz do you mind carrying over a dependency like Clipper lib (170kb) ? |
@Hexlord Is the license compatible? I think so but I'm not certain (so I'm asking). I guess the answer to this question depends to on how the project would use any dependency. Dependencies for the library seem harder to deal with than dependencies for components (like the Testbed) that depend on the library. Note that originally I'd been thinking users would just pull in clipping libraries or whatever they used for their applications and then use the clipped results to construct their PlayRho shapes with. Would that be a better starting objective? When I opened this issue, I was at the point though of implementing identified/chosen clipping algorithms directly within the PlayRho library framework. I.e. so that it was all done, the operations would be available from the Note that I'm about to push some related changes to the |
I would prefer it to be PlayRho extension dependent on 3rdparty library for TestBed usage (wrapped by PlayRho namespace for usage). But it would probably be more easy to use directly within playrho source, yet I don't like the idea of replicating excisting alghorithms when the original lirary is opensource copyrighted and very small, seems pointless. |
Thanks Hexlord. Sounds like we have a similar perspective of the pros and cons. I'm excited to see what you come up with. |
Expected/Desired Behavior or Experience:
Ability to create complex 2-D shapes by using boolean operators (union, intersection, and difference) to combine simpler shapes. Basically Constructive Solid Geometry (CSG) for 2-D shapes. The resulting shape should be a
MultiShapeConf
structure (which can take on any convex or concave shape).Actual Behavior:
Nothing like this is already available as part of the PlayRho library.
Related Issue(s):
The text was updated successfully, but these errors were encountered: