Forum: Poser Python Scripting


Subject: Moving morphs between different figures

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


Cage posted Thu, 19 April 2007 at 11:41 PM

*"Is your script only for certain figures (V3,M3) or can it take morphs from any figure that works in poser (apollo, sixus) and transfer them to other figures that work in poser??"

*Hypothetically, this can be used with any two geometries.  That includes figure actors as well as props.  The script works by comparing two geometries based on their positions relative to one another in the Poser 3d view.  The comparison (assuming it runs correctly) correlates vertices between the source and target meshes, assigning three weighted source vertices for each target vertex, based on the worldspace positioning when the comparison was run.  These correlations are saved to a .vwt datafile, which is used to transfer morphs between the two meshes.

So the entire process hinges on having a decent correlation between your two meshes, and this is the difficult part of the process.  If you can successfully wheedle a datafile out of the script, you can use the script with any two actors.  Depending on how similar or dissimilar any two compared geometries may be, this comparison may be quite easy or rather difficult.  And it seems that at least one case - that of fls13, above - reveals that there may be as-yet-undetermined complications or limitations to the comparison process.

I have mainly focused on comparing Vicky1 and Vicky3.  JoePublic has used his own customized figures in comparisons.  And Apollo and the P4 dork were compared by fls13.  Hypothetically, any two figures can be used.  The trick is in crafting the datafile.  I'm still puzzling out how I might make that comparison process more workable in some situations.  One's results will vary, depending on the quality of the comparison in the datafile. 

Sorry for the long answer.  I have some trouble being concise.  :-P  Does that help answer the question, at least?

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