Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.






I can haz GJK algorithm?

Posted by Aardvajk, 30 November 2012 · 654 views

I can haz GJK algorithm? Been implementing 2D GJK with expanding polytope algorithm just for fun and in preparation for tackling it in 3D.

Its one of those things that is not as complicated as it seems.

The two shapes in the example above are composites formed by combining two simpler shapes. The beauty of GJK is that only the support function of the shape is required, and it is trivial to combine two support functions to produce a "shrinkwrap" hull around two or more existing shapes.

Half the battle with a 3D version is going to be working out how the heck to visualise it. But fear is much reduced now I have a 2D version working. Home grown physics engine, one small step closer.




November 2014 »

S M T W T F S
      1
2345678
9101112131415
16171819202122
232425262728 29
30      

Recent Entries

Recent Comments

Recent Entries

Recent Comments

PARTNERS