Forum: Poser Python Scripting


Subject: Moving morphs between different figures

Cage opened this issue on Dec 20, 2006 · 1232 posts


Cage posted Tue, 14 October 2008 at 12:49 AM

The attached is one of the nearest element tests I've run, the most successful.  This is actually a zip file with a .doc extension!  Change the extension and unzip the .py file.

This uses the method once discussed, of mapping two actors to a common shape, in this case a high-res sphere, created by the script.  The script gets pyd comparisons between each actor and the sphere, then gets deltas for the difference in the two resulting sphere shapes, and moves the target actor verts according to the deltas of the nearest sphere poly.

It's good for general shaping (bringing two actors into better agreement for a TDMT run, for instance), and the results still depend on how well the actors are already lined up in the workspace, as with TDMT.  An extension of this approach would be to custom-design a mesh, some sort of common head shape, to work with the transfers, I think.  All of these are ideas I've mused about throughout this thread, but only begun to test now....

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