Forum: Poser Python Scripting


Subject: Moving morphs between different figures

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


Miss Nancy posted Sat, 15 March 2008 at 4:37 PM

thanks to cage, spanki, adp, giorgio et al. for your work on this. as mentioned by one of the others, this may be the most valuable python script ever posted here IMVHO. I have no knowledge of how to write python code. I downloaded the script and the chm file (still awaiting edit), as well as this basic process from an earlier message in this thread. I just have a few questions: **

  1. Line up the source and target actors as well as possible in the 3D view. This may involve any or all of the transforms, as well as morphing or using deformers.**

in this step, should the two figures' surfaces match, or should the target surface be some factor larger than the source surface?

2) Start the script. Select source and target actors.

I understand this part. **

  1. For complex meshes with ovelapping or internal geometry, such as heads, it may be best to use the materials screening option.**

understood. in OS X, Poser 7, I get exception error screens unless I check this option. **

  1. One may also wish to use region box screening to restrict an area of comparison.**

I don't understand this, but maybe it's optional for now. **

  1. Analyze the meshes.**

how long should this take for the slowest processor with the least amount of RAM? in OS X, when a process is running, we see the spinning rainbow wheel, but I don't see this, hence I dunno when to go to the next step.

6) Transfer morph and transfer shape produce somewhat different results. Try using either to see which one may be best for your needs. When running transfer morph, a morph needs to be selected in the listbox. When running transfer shape, the desired morph (shape) needs to be set on the source actor.

basically I wanna get a dress for voluptuous vickie to fit mokei, an anime figure by hokusai. all I want at this point is to shrink-wrap the dress onto mokei's torso. which option (morph or shape) is gonna be easier to accomplish this (quicker to do), assuming I don't wanna repose of animate the result? **

  1. In cases where materials or regions were screened, more than one comparison will need to be run for the meshes, to catch all the verts, eventually. This is the "lather, rinse, repeat" step.**

I don't understand this, but maybe it's optional for now. when you say "more than one comparison", does that mean click the "analyse" button more than once? **

  1. Once you have a good series of datafiles for actors which were screened, you can merge them into a single datafile using the merge option in the file menu.**

I'm guessing that said datafiles are gonna appear in a folder in the same level as the run-tdmt script, then the merge command will access them, but haven't gotten to this step yet, as the script froze on me when I tried to transfer morphs. I don't see the keyword "merge" anywhere on the script window nor in the menus. I didn't see any datafiles after using the shape option, but didn't know how long to wait before quitting. I saw a folder based on the figure name after running the morph option, but the process froze and the machine was not responding.

**9) Smoothing (and the other "extra" functions) work on the source listbox selection - or, more specifically, on the selected morph for the source actor selection. All of the extra functions also require that both a source and a target actor be selected.

** I don't understand this, but maybe it's optional for now. I'm guessing that smoothing is self-explanatory, e.g. like subdivision smoothing.

10)  after doing steps 1 - 9, what function do I perform in the script to cause the target mesh
to shrink-wrap onto the source mesh in the pose room display?