[vtkusers] Filling a hole
Alexandre GOUAILLARD
Alexandre.Gouaillard at Sun.COM
Fri Apr 21 13:02:36 EDT 2006
Kevin H. Hobbs wrote:
> On Fri, 2006-04-21 at 06:37 -0400, Kevin H. Hobbs wrote:
>
>>I definitely noticed that the triangles in the patch could have a very
>>bad aspect ratios, and some very bad angles between triangles as you go
>>around the loop. I might try sub-dividing the patches when I get to
>>work, just to get rid of some of the artifacts these problems cause.
>>That should work on 2 and 3 above but 1 does seem brutal.
>
>
> Subdivision of the patches, followed by decimation entirely eliminated
> the problems I was seeing.
>
I did not try so flame me up alive if you want, but I think that if you
subdivide and decimate the patch itself , without taking care of its
original boundary, then it does not fit the original hole border you had
in the first place, right?
Then when you try to patch up your mesh with the cap you just computed
you either have T-vertices (impossible with vtk though) or ... new holes.
Note that you might actually "see" it if the boudaries (geometricaly)
match each other, but a call to feature edge should report new border edges.
If you subdivide and then decimate globally, you don t have that
problem, but you don t really wanna do that though, right ?
a cheap solution to the aspect ration would be edge flipping within the
patch (or patch + one ring).
I still have no cheap solution for the point sampling (local subdivision ?).
More information about the vtkusers
mailing list