Forum: Poser Python Scripting


Subject: Moving morphs between different figures

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


Spanki posted Sat, 15 March 2008 at 2:35 PM

Quote - Right on!  This is excellent news, Spanki-sir!  PoserPython has needed something like this for some time.  I'm glad to hear that you were able to work out the creation process for a .pyd file.  I'm eager to test the implementation of this.  :D

Once I tidy up some loose ends in the current code, I'll post my test stuff to look at while I expand on it.

Quote - ...Now, ah, if we had .pyd modules for handling matrices and quaternions and rotations, PoserPython's potential would be vastly improved....  <Shifty-eyed emoticon which I don't know how to type>

Was it difficult to create the .pyd?

The answer to both of the above can be found here.  I basically downloaded the PARC code, extracted the Vector part of it, fixed some bugs and then added functionality to it.  He also had Matrix operations in there, but I cut those out (for now, at least).  His binaries are for Python 2.2, so they may not be any use to you.  I didn't even look at or try his compile instructions, but you may be able to use them to rebuild for 2.4 if/once you get a compiler (I used some other example code to come up with the settings needed to make a .pyd file, using the free VC++ 2008 I linked earlier).

Cinema4D Plugins (Home of Riptide, Riptide Pro, Undertow, Morph Mill, KyamaSlide and I/Ogre plugins) Poser products Freelance Modelling, Poser Rigging, UV-mapping work for hire.