This plug-in I've been working on for some years, little by little, is about to be finally released.
The triangulation is less buggy now as the plug-in checks and transforms the input polygons.
It's still a beta version as some functions may give weird result, depending on the input.
Basically, the plug-in allows the user to feed a patch with an usual line structure input with positions (X, Y), or (X, Y, Z) but only X and Y will be handled (it is Box 2222D ain't it ?).
This structure will be triangulated if the user wants a filled polygon and transformed into a Box2D body.
The result can be displayed with Kineme GL Line Structure or Kineme GL Triangle Structure (or a custom way to render…). The texture coordinates are adapted to the output Triangle Structure.
Next step is to implement my old functions to apply forces, ray casting, build joints, etc.
Everyting was already present in the previous (and private) plug-in, but this one is more logical and integrated in the Quartz Composer environment, so anyone can work on the structure inputs/outputs outside of the "Box2D factory".
A channel about experiments and achievements with the different ports of the popular Box2D physics/collisions library created by Erin Catto.
Thank you Edgar.
Yes, I realized my sites are crashed... :-(
If you want I can send you my OpenCV plugin which wasdownloadable on the site. Please send your email address.
I want to know more about your implementation. But your site was hacked/infected and it's not accesible.
I'm interested in how you get the contour with the vertices.