Cage opened this issue on Dec 20, 2006 · 1232 posts
Spanki posted Thu, 13 March 2008 at 12:28 AM
@ADP
Thanks for the additional info... I'm still interested in any samples/examples/suggestions you might have on alternatives if/when you get a chance. In the meantime, I spent a fair amount of time researching the "extension" (via .dll / .pyd) method and you're right - it looks like a pain in the ass :). Having said that, it looks doable, if we convert some of the current 'lists' of data back over to NumPy multi-dim arrays.
So far, I haven't found any good info on getting 'list' formatted python data into C-readable format (I can see how to get a PyListObject, but it's entirely unclear on how to get at the multideminsional array data in it). On the other hand, NumPy seems to have a good set of C/API wrapper functions available, but I'm still looking into the mechanics.
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.