[vtkusers] Re: vtkCollisionDetectionFilter , help
Goodwin Lawlor
goodwin.lawlor at ucd.ie
Mon Jan 28 20:41:21 EST 2008
Samuel Marcos wrote:
> Hi,
>
> Just to keep this post hot.
> Goodwin, did you receive the code correctly? If there's any problem
> please let me know.
> Sorry for disturbing you.
> Many thanks.
OK - I tracked this one down.
The false positives were for a case of coplanar triangles, with parallel
edges, whose bounds also overlapped... rare but your synthetic data
had two of them.
You could debate it's a bug in vtkLine, but change "> 0" to "== 2" on
line 680 of vtkCollisionDetectionFilter and you'll fill fix it.
I committed the fix to CVS on sourceforge...
Thanks for the bug report!
Goodwin
More information about the vtkusers
mailing list