sikang / decomputil Goto Github PK
View Code? Open in Web Editor NEWA header only c++ package for convex decomposition using ellipsoids
License: BSD 3-Clause "New" or "Revised" License
A header only c++ package for convex decomposition using ellipsoids
License: BSD 3-Clause "New" or "Revised" License
Hi
I'm currently attempting to utilize your package. It works when applied to a 2D scenario. However, I encountered an issue when attempting to apply it in a 3D scenario. Specifically, it seems that the package only generates polygons along the XZ direction, with the y-value remaining constant for all of them. Furthermore, I observed a difference between the visualization of the 3D and 2D scenarios (VS state). In the 2D case, the z-dimension (green arrows) being zero is logical, but in the 3D scenario, I noticed that the y-dimension is zero.
Here's the link to a video showcasing the problem: https://youtu.be/MGMkJoN-2Qk
Note that the drone is just moving without using the output of your package.
First I would like to thank you for your code and it has been used in my project, showing very impressive performance in computing efficiency and convenience. However, when recently I want to try to limit the spatial range of the Polyhedrons, I found the globalbox function offered by your code may has a BUG:https://github.com/sikang/DecompUtil/blame/b0836c7228d19f0fa97282c584b55adf642279da/include/decomp_util/ellipsoid_decomp.h#:~:text=Vs.add(Hyperplane3D(Vec3f(0%2C%20global_bbox_max_(1)%2C%200)%2C%20Vec3f(0%2C%20-1%2C%200)))%3B
I think this line should be Vs.add(Plane3D(Vec3f(0, global_bbox_min_(1), 0), Vec3f(0, -1, 0)));
. Right? Or it will generate too many polyhedra than expected.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.