korchoon / v-hacd Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/v-hacd
Automatically exported from code.google.com/p/v-hacd
Add a merge stage to combine convex-hulls if the volume of their convex-hull is
equal to sum of their volumes
Original issue reported on code.google.com by [email protected]
on 23 Nov 2014 at 8:49
What steps will reproduce the problem?
1. Using attached OBJ, testVHACD --input beetle.obj --output beetle_acd.wrl
--log log.txt
2. cost is never < bestCost, so bestp1 and bestp2 are undefined when it reaches
line 1502 and tries to call ComputeConvexHull() with bad indices.
What is the expected output? What do you see instead?
Expected the program to complete, but it crashes merging hulls
What version of the product are you using? On what operating system?
rev 40b90e18c985
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 21 Aug 2015 at 8:26
Attachments:
For those of us who don't have OpenCL installed could you make the inclusion of
FindOpenCL optional.
In src/VHACD_Lib/CMakeLists.txt and src/test/CMakeLists.txt
change "include (FindOpenCL)" to "include (FindOpenCL OPTIONAL)".
Original issue reported on code.google.com by [email protected]
on 17 Jan 2015 at 6:03
Add parameter to control the max # of vertices for convex-hulls
Original issue reported on code.google.com by [email protected]
on 23 Nov 2014 at 8:47
As discussed via email, it would be great to have some kind of a context
variable that allows mainly for two things:
* Be able to cancel the execution of long running V-HACD functions. There has to be a reasonable tradeoff between response time and performance. Execution does not need to interrupt immediately but with an approximate grace period of, say between 10 and 30 seconds. I need to set this from an outside thread (in a callback?) and the function will stop at the next given opportunity. Preferably including cleanup of temp data.
* The same mechanism should be able to give me an approximation of progress. Ideally in percent of total time. Again, this doesn't need to be precise. Just a rough indication for the user to know how long this will take.
I suggest a context object interface that is implemented by the user and can be
passed in. It could look like this:
namespace VHACD {
struct IControlFlow {
// called by vhacd to tell the total progress.
// (optional, could resort to always 100 percent)
// it would be ideal if this would be called only
// once and not change afterwards but I guess that
// would be hard to achieve
void set_total_progress(std::size_t p) throw () = 0;
// called by vhacd to indicate how much progress
// has been made. Must be between 0 and set_total_progress()
void set_progress(std::size_t p) throw () = 0;
// called by vhacd regularily
// if it returns false, the algo is aked to stop at
// the next given occasion
bool continue() throw () = 0;
}
}
The user will implement this object and pass it to ApproximateDecomposition().
Would be awesome.
Thanks,
Stephan
Original issue reported on code.google.com by [email protected]
on 2 Dec 2014 at 9:00
The user callback that displays progress is not called often enough to prevent
a GUI application from going into "not responding" mode. The total percentage
complete goes to 15% very quickly, then stalls for a couple of minutes and
jumps to 90%, then finishes quickly. In order to be useful, that callback
should really get called a lot more often, so the user doesn't think there is
something wrong with the program.
Original issue reported on code.google.com by [email protected]
on 16 Dec 2014 at 5:45
Implement queue data structure to avoid relying on STL
Original issue reported on code.google.com by [email protected]
on 23 Nov 2014 at 8:52
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.