Forum: Poser - OFFICIAL


Subject: Morph Cleanup Script

Cage opened this issue on Feb 24, 2010 · 592 posts


Cage posted Tue, 30 March 2010 at 5:19 PM

Quote -
Related to that issue, I think I'd look at changing your close-vert-gathering code to never cut off less than 3 vertices - regardless of the tolerence value - that should help avoid some of the more extreme piggy-backing.  WIth only a single vert, it's going to use that vert's location.  With 2 verts, you'll end up on the edge between those 2 verts somewhere. With 3 verts you get some play off of that edge and each target vertex is going to be a different distance from those 3 verts (even when they come up with the same 3 verts as thier 'closest'), so there's less clumping.

I understand your logic, but I'm not sure how to force that result in all cases.  If a Target vertex only finds one Source vertex within the threshold distance submitted, then there's only the one vertex within that range.  😕  Are you suggesting that the process should try to extend the range and loop again if fewer than three matches are found?  Or that the user be prevented from entering a Number of Influences setting of less than 3? 

I could see a reason to keep the option for only 1 influence per vertex.  If you want to transfer morphs between two identical meshes, when one of them has ended up with a different vertex order or something, a Number of Influences = 1 setting will match the identical vertex locations properly for transfer of identical morphs.

I guess I'm not altogether sure what you're proposing, although I can see how it would be beneficial to always have at least three weights per vertex.  😕

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