Forum: Poser Python Scripting


Subject: Moving morphs between different figures

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


Cage posted Fri, 13 April 2007 at 11:41 PM

Okay.  When the script seems to have frozen during a comparison run, if may be doing what it's supposed to do.  You can usually speed up the comparison by raising the "octree" entry box setting.  It defaults to 4, but a value of 7 has been tested to work well for intensive meshes like heads.  Raising this value increases the number of separate regions used in the comparison, placing fewer vertices from either mesh in each region.  Sooner or later a higher octree value will stop returning faster results because the number of regions can become too high and any efficiency gain is lost.  Try using 7, then perhaps raising it a bit, if that doesn't help.

Next, you may need to screen out certain materials when you run the comparison.  Commonly inner mouth, tongue, and teeth materials are screened out.  Including these in a run with the rest of the head can actually create problems with "false hits", as well as a slowdown.  A vertex in the nose may decide that it's found the best match in the tongue, for instance.  Screened materials can be compared in a separate run and the datafiles from repeated comparisons can be combined at the end of the process.  It can also speed things up to omit ears from a comparison.  This would need to be done using the exclusion boxes.  If you need better instructions for any of this, let me know.

These two geometries should have the same shape, however, so I would assume that the octree setting changes may help the most. 

Perhaps I should turn the progress print statements back on while comparisons are being run, so one can tell that the script hasn't frozen....

I don't seem to be receiving response e-bots.  My apologies if I am not promt to respond to any inquiries, as a result....

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