Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

Author Topic: #098-074 - Merge Point collapses points that are further apart than the limit  (Read 14973 times)

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2124
    • View Profile

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
« Last Edit: January 18, 2016, 12:34:36 pm by Steve »
Logged

Sluggs

  • Newbie
  • *
  • Posts: 44
  • Anim8or user since May 2004
    • View Profile
    • Satans-Comrade

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. :-)
« Last Edit: January 18, 2016, 01:55:06 pm by Sluggs »
Logged

Trevor

  • Full Member
  • ***
  • Posts: 220
  • Goldfinger64 Dev OS:10 CPU:5960x Gfx:RX480
    • View Profile
    • LS Tech Services

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


Merge points at 0.001 causes error circled in red
« Last Edit: January 18, 2016, 12:35:20 pm by Steve »
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2124
    • View Profile

Thanks, I can reproduce it now.

#098-074 - Merge Point collapses points that are much further away than the limit.
« Last Edit: January 18, 2016, 12:35:31 pm by Steve »
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2124
    • View Profile

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.
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2124
    • View Profile

Should be fixed with build 1212
Logged

Trevor

  • Full Member
  • ***
  • Posts: 220
  • Goldfinger64 Dev OS:10 CPU:5960x Gfx:RX480
    • View Profile
    • LS Tech Services

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
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2124
    • View Profile

The bug depended on the order that the points were numbered.  Sometimes it worked, sometimes not :)
Logged