Results 1 to 9 of 9

Thread: Poly->Poly Collision Challenge

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #8
    Instead of GPU you can also draw the collision test polygons in TCanvas, for example of a TBitmap. You can still draw them on GPU to for the looks but like said, it's propably not fast to read the results from it. And if you draw to GPU they need to be convex.

    Overall, unless the polygons consist of hundreds of vertices, the math way will propably be more efficient.

    edit: For the math way, if it's ruled that polygon must be convex, then isn't the only scenario such that at least 1 vertex must always be inside other polygon? I recall reading of doing this test with just dot product.
    Last edited by User137; 19-08-2011 at 06:15 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •