Cage opened this issue on Dec 20, 2006 · 1232 posts
Cage posted Mon, 10 March 2008 at 5:49 PM
A .pyd could supposedly be generated using Pyrex and the version of Python which Poser uses. I've tried to get it to work, but I haven't yet acquired the Microsoft Windows include files necessary for the process. Pyrex can generate C code from a mutant C/Python file with a .pyx extension. Then (in theroy, and this has evidently worked for some), the C code can be compiled into a .pyd. This also requires the source code for the appropriate version of Python. I won't be able to buy a fully functional C compiler for a month or two, so I've been looking into the idea of a command line .exe, which might be more easily generated from the existing code. Whether Python could handle calling something like this repeatedly for a collision loop is the open question in my mind....
So we covered the common mapping on page four? I remember a sphere being discussed. I was thinking of mapping to a generalized head shape, which would be easier to shape for good correlations than trying to shape and position the actual source and target. This would basically be a way of teaching the script: "this is where the nose is on either mesh", etc. The different feature shapes would be correlated to common tris in the generalized head shape. No go? Hmm....
===========================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.