Forum: Poser Python Scripting


Subject: Moving morphs between different figures

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


Cage posted Sat, 08 November 2008 at 4:08 PM

This is another test.  This one works through "control points" to correlate the two meshes. The idea was suggested to me by my reading of the docs for Morphing Clothes.  I've no idea whether this approaches the technique used there.  This script is presented as a curiosity, largely, because it is wholly inadequate for use with high-res and/or irregularly shaped meshes.  It works well enough with a ball prop and a high-res ball prop, although the transferred results there are smoothed to a greater or lesser extent by all of the averaging which the script applies.  (That same averaging makes it useless for higher-res meshes.) 

This script is also slow.  The basic concept works, but I'm not sure it can be refined effectively for use within Poser Python.  The posted script was abandoned before I fully refined the method, so I haven't fully removed worldspace displacements from the transfer results.  If the source actor is translated or rotated, these transforms will be "baked" into the transferred shape.

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