Anim8or Community

General Category => Ongoing Anim8or Development => Topic started by: Steve on January 18, 2016, 02:11:46 am

Title: #098-074 - Merge Point collapses points that are further apart than the limit
Post by: Steve on January 18, 2016, 02:11:46 am
Trevor: Can you post an example mesh?  I can't seem to reproduce this problem.

I think I have found a bug with Merge Point.

I selected all verticies and then merged with 0.002, yet it tried to merge verticies that were 7.00 distance... it seems very odd.

Further, if I selected small groups of verticies to merge (eg, the join between 2 capless cylinders joined together into 1 mesh) then it would work ok, but select all still merged verticies from all over and swapped the normals on some faces...

Not entirly sure whats going on there.

It worked fine in the previous version.

Trev
Title: Re: #098-074 - Merge Point collapses points that are further apart than the limi
Post by: Sluggs on January 18, 2016, 04:00:40 pm
Trevor: Can you post an example mesh?  I can't seem to reproduce this problem.

Hi!

I've recently had the same problem, so I've attached the mesh I had problems with, while trying to merge all the points using 0.002

I even doubled it's size a couple of times and it still did it!

It's an old model now, but at least you can see what happens. :-)
Title: Re: #098-074 - Merge Point collapses points that are further apart than the limi
Post by: Trevor on January 18, 2016, 04:21:55 pm
Yeah sure,
It seems like some sort of buffer overrun as its based on the number of points selected.

If I keep the number low (havn't tested fully but Ive been keeping below 16 verticies) then it works fine and I like the new Average position as oposed to either/Or position after merge.

If I select a large number of verticies say > 32 then it starts to drag other verticies into the selection causing faces to either disapear or invert.

It happens on both 98 and 10.

I dont know that sending a model would help, so ill show a picture.

What the... now its not happening...

Well, the minut it does again ill post a pic

Trev

ok, just tested the above mesh and it happened again

(http://fgfc.ddns.net/MergeError.gif)
Merge points at 0.001 causes error circled in red
(http://fgfc.ddns.net/MergeError2.gif)
Title: Re: #098-074 - Merge Point collapses points that are further apart than the limi
Post by: Steve on January 18, 2016, 05:28:35 pm
Thanks, I can reproduce it now.

#098-074 - Merge Point collapses points that are much further away than the limit.
Title: Re: #098-074 - Merge Point collapses points that are further apart than the limit
Post by: Steve on January 18, 2016, 09:52:37 pm
I found the problem.  It can occur when multiple groups of points are merged. It was introduced in cl 1210 when I averages the locations of the merged points. It's fixed for the next build.
Title: Re: #098-074 - Merge Point collapses points that are further apart than the limit
Post by: Steve on January 19, 2016, 05:17:54 am
Should be fixed with build 1212 (http://www.anim8or.com/download/preview/files/animcl1212.zip)
Title: Re: #098-074 - Merge Point collapses points that are further apart than the limit
Post by: Trevor on January 19, 2016, 11:02:22 am
Great, downloading.

Im glad you found the problem.

It was weird that it happened all the time yet when I tried to show you it stopped.

Trev
Title: Re: #098-074 - Merge Point collapses points that are further apart than the limit
Post by: Steve on January 19, 2016, 04:06:30 pm
The bug depended on the order that the points were numbered.  Sometimes it worked, sometimes not :)