Need help using V-Clip (collision detection library)

coderchris
Posts: 49
Joined: Fri Aug 18, 2006 11:50 pm

Need help using V-Clip (collision detection library)

Post by coderchris »

Im playing around with some different collision detection librarys and V-Clip is supposedly a very very fast one. It comes with the source and everything but the code is so messy looking that I cant really figure out how to even get started with using it. Does anyone have any experience with using it? If so could I have some getting started tips? Like, how do I add bodies into vclip, and how do I actually perfrom the collision detection and retrieve the contact normal, position, penetration depth, ect..

Here is the paper/code for V-Clip if anyone who hasnt seen it wants to take a look
Paper: http://www.merl.com/projects/vclip/
Code: http://www.cs.sunysb.edu/~algorith/impl ... 1.0.tar.gz

Thanks in advanced[/url]
aokman
Posts: 30
Joined: Thu Oct 01, 2009 2:17 pm

Re: Need help using V-Clip (collision detection library)

Post by aokman »

Oh...4 years past...

Just read the paper more carefully, and then read the code.
That was what I did.
I think the code may be written under unix or linux,
in a word, I can't build it with Visual Studio, I just read the
code without compiling.

The paper you posted may just describes a algorithm that returns
just the closest witness points between two features of the bodies
in question.

The following paper shows how the V-Clip algorithm can be
used to model contact regions.

[Mirt98c] Brian Mirtich: Efficient Algorithms for Two-Phase Collision Detection, In Practical
Motion Planning in Robotics: Current Approaches and Future Directions, First Edition,
Wiley-VCH, 1998.