Cage opened this issue on Dec 20, 2006 · 1232 posts
Cage posted Fri, 12 January 2007 at 12:06 AM
Spanki, I plugged in your code and immediately got errors due to ungrouped vertices. :-P That may reflect differences in the testing geometries we're using. I've added features to help me track what's happening with the grouping. All of the vertices are being grouped and none are being multi-grouped. All of the polygons are being grouped and those along the octree boundaries are being multi-grouped, except in certain cases. The attached script will color the target geometry's polygons by region assignment. Multi-grouped polys are given a separate color. I've been testing with a Poser ball prop as meshA and a Poser ball prop which has been smoothed once in Wings 3D as meshB. I've also plugged in the code you advised, but it's commented out right now while I try to figure out why it errors.... And, ah, there's a lot of junk in there, mostly commented out, which is left over from fighting the memory leak. Sorry about the mess....
So perhaps if I add the polygon edge list into the sort when filling the polygon region list, we'll get better results. I'll look at that. Thank you.
===========================sigline======================================================
Cage can be an opinionated jerk who posts without thinking. He apologizes for this. He's honestly not trying to be a turkeyhead.
Cage had some freebies, compatible with Poser 11 and below. His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.