Forum: Poser Python Scripting


Subject: Moving morphs between different figures

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


Cage posted Thu, 03 April 2008 at 12:59 AM

Thank you again, Spanki-sir!  :D

Here's a bit of a poser... does that qualify as a pun?  Hmm.  I'm thinking about cloth self-collision.  To do this, it seems one would have to send the cloth mesh as both verts and polys.  The likely result (borne out in a quick test I ran) would seem to be that the vert would collide with itself in all cases.  Indeed, my cloth just quivered in place.

The only obvious workaround I can think of would be to send each vert individually, as a one-item list, along with a poly list which screens out all the polys of which that vert is part (I assume it can't collide with those, but I may be wrong).  This seems like it would be quite slow, unfortunately.  This really isn't something for which this point-in-tri approach was designed.

Can you suggest any approach for this, other than the one I have above?  Is there anything in the .pyd that could make this easier?

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