Giter VIP home page Giter VIP logo

Comments (3)

danfis avatar danfis commented on August 16, 2024

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.

erwincoumans avatar erwincoumans commented on August 16, 2024

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.patch

Are 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.

danfis avatar danfis commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.