Forum: Poser Python Scripting


Subject: Moving morphs between different figures

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


Cage posted Thu, 06 March 2008 at 2:51 PM

I skimmed your post and overlooked some things again....

Here's the shrinkwrap script, in current form.  It relies on edited versions of the TDMT modules, which haven't been posted anywhere yet, so this won't work for anyone in Poser at this time.  I post it in case you'd like to scan my spaghetti to see what's being done.

The result can be a lot like the (revised) form of shape_transfer used by TDMT.  I wrote a new function for that, which builds the shape based on the current source shape, rather than using our hard-coded deltas.  This current script goes beyond that, applying different shrink-mapping techniques, by altering the normals before the run.  It also provides some corrective measures after the run.  Today I hope to integrate the convex hull, to further refine the results.

Anyway, as a curiosity and to clarify my ambiguities, here's the script.

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