Comments (3)
Hi Erwin,
thanks for the bug report. The issue should be solved in next version (1.5).
The problem was in insufficient stopping criteria in cycle where is built a polytope around the origin (core of EPA algorithm). The algorithm generated support points that does not improve the polytope, but continued to do so. The change I did should solve the problem. However, I think my implementation of the whole EPA thing should be revisited -- it seems too much complicated to me. I was thinking of getting some inspiration in Bullet, but I'm not sure when I will get to it...
I also prepared a patch for ODE (svn rev 1954) that incorporates libccd v1.5 (now there is 1.0):
http://www.danfis.cz/files/0001-Ported-libccd-v1.5.patch
Are you in contact with ODE upstream regarding the bug or should I push the patch through their mailing list?
from libccd.
Hi Daniel,
I just took a quick look at libccd, mainly to use your MPR file in Bullet 3
on GPU, using OpenCL:
https://github.com/erwincoumans/bullet3/blob/master/src/Bullet3Collision/NarrowPhaseCollision/shared/b3MprPenetration.h
I mainly use SAT and contact clipping on GPU, but for objects with many
edges, I needed a faster edge-edge test.
I ran into that GJK/EPA issue when doing a quick test out of curiosity. I'm
not using your GJK/EPA or ODE.
It was easy to move MPR to OpenCL, especially because your implementation
can easily switch math library,
did you intentionally write vec.h for that purpose?
Thanks,
Erwin
On 12 January 2014 07:52, Daniel Fiser [email protected] wrote:
Hi Erwin,
thanks for the bug report. The issue should be solved in next version
(1.5).The problem was in insufficient stopping criteria in cycle where is built
a polytope around the origin (core of EPA algorithm). The algorithm
generated support points that does not improve the polytope, but continued
to do so. The change I did should solve the problem. However, I think my
implementation of the whole EPA thing should be revisited -- it seems too
much complicated to me. I was thinking of getting some inspiration in
Bullet, but I'm not sure when I will get to it...I also prepared a patch for ODE (svn rev 1954) that incorporates libccd
v1.5 (now there is 1.0):
http://www.danfis.cz/files/0001-Ported-libccd-v1.5.patchAre you in contact with ODE upstream regarding the bug or should I push
the patch through their mailing list?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-32125448
.
from libccd.
Ok, I will deal with ODE myself. I realized that maybe they don't need any changes because MPR is there hard-coded as default option and I'm not sure there were any changes since version they have. But I will send the patch anyway to keep them up-date and for the case you just experienced.
Originaly vec.h is from my other project where I wanted to be able to switch to other implementations of math routines (e.g., SSE implemented directly by gcc intristics). So, it comes natural that it can be switched to other implementations, I guess. I'm glad it made your work easier. Maybe if I find some time I will port you OpenCL implementation back to libccd ;).
Cheers,
Dan
from libccd.
Related Issues (20)
- nextSupport function does not compute the right answer HOT 4
- Edge/Vertex order in ccd_pt_face_t HOT 1
- ccd_pt_vertex_t.edges is incorrectly assigned HOT 1
- Installation Crashing from executing make HOT 7
- findPenetr() can divide by zero.
- ccdVec3PointTriDist2() divides by zero. HOT 3
- Example from the 'GJK - Intersection Test' section fails HOT 1
- 'pkg-config --libs' shouldn't return -lm
- Enable compilation for ICC
- ccdVec3PointTriDist2 computes different distance with / without witness points. HOT 3
- M_PI not defined on test_gjk_libccd-inl_epa.cpp
- Warning C4273"inconsistent dll linkage" when build Static Library
- Fatal error: LNK1120 unresolved externals when libccd maked as static library HOT 1
- Examples in README are difficult to read and don't define all symbols they use HOT 3
- ccdGJKPenetration: Access violation reading location 0x0000000000000000. occurred HOT 7
- MPR - Penetration depth with any vector, not with MDT-vector - it's possible?
- ccdMPRPenetration() bug, wrong dir penetration depth HOT 36
- use CMAKE_INSTALL_DOCDIR insted of ${CMAKE_INSTALL_DATAROOTDIR}/doc/ccd
- Question: EPA Position Computation
- autotools install does not install header files.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libccd.