Forum: Poser Python Scripting


Subject: Moving morphs between different figures

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


Cage posted Sun, 07 January 2007 at 7:54 PM

*"Sorry if I'm repeating myself, I just want to make the difference between the two approaches clear."

*No problem.  Sometimes things have to be repeated to me a lot before I can get it.  It seems like you're outlining the problems I was compalining about at the end of page 1 of this thread.  Ockham pointed me toward a solution which modifies (normalizes, in his term) the deltas when they are passed from meshA to meshB.  Besically, the process subtracts all the changes we don't want, compensating for the different base shapes of the two meshes, leaving us with corrected deltas for meshB.

(Ockham’s routine to normalize deltas):
Rosie and Paris

Rosie = distance between meshA center and meshA vertex coords

Paris = distance between meshB center and meshB vertex coords

meshB_delta = (meshA_delta/Rosie)*Paris

As I've been coding this, I've thought of the basic difference more along the lines presented in the morph transfer notes I posted above.  A delta method works with existing morph deltas, never looking at the shape of the geometry when deriving the shape of the final morph.  This is contrasted with the approach Ockham frequently uses, in which he actually changes the meshes in Poser, in the 3D view, then derives his morphs from the world vertex positions which result.  His method may be a trick that is necessary to circumvent PoserPython's RAM leak, although I'm not sure of that.  

Terminology isn't important to me, however.  As long as it isn't standing in the way of actually communicating, any terms at all for any of these ideas are fine with me.

So, uh....  Have we communicated?  Or have I missed the point again?  😟

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