Forum: Poser Python Scripting


Subject: Moving morphs between different figures

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


Cage posted Mon, 05 March 2007 at 12:45 AM

Hey, neato.  A correspondent just asked me about sending him a copy of the Vicky 1 genital swap hip I built using Traveler's vgenkit.  But the vgenkit readme makes it non-redistributable.  The request made me think, however, and I was able to use this script and Wings 3D to create a new swap hip in under an hour, transferring Traveler's Victoria Femina morphs, which are redistributable, to the new hip.  The only trouble is that the UV transfer is incomplete, so I can't pass over the mapping yet.  Anyway, a new freebie was easily created using these tools.

Spanki, it looks like the GUI change for transferring morphs works fine, as long as you keep using the same source-target actor sets.  If you want to switch actor sets, you'll probably either want to re-start the script or manually select a new datafile using the browse option.  I'll think about how I can revise the process to allow us to retain the GUI selections and datafile path when we want it, but also have it change when it should (when actor selections change).

The UV transfer seems to need a method to locate "islands" of UVs on a map, given the polygons/tris and texverts on the seam.  This is basically an edge loop problem, as far as I can tell.  It needs to loop around the seam edges to identify the "island".  I need this to be able to determine which tri should correspond with which poly after splitting texverts at vertex intersections.  If anyone listening out there has any thoughts on this, please let me know.  I'd like to finish this UV business, which seems to show a lot of promise, and move on to perfecting the morph transfer aspects of 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.