Volumes Of Fun http://www.volumesoffun.com/phpBB3/ |
|
Status of Swig bindings? http://www.volumesoffun.com/phpBB3/viewtopic.php?f=14&t=318 |
Page 1 of 1 |
Author: | tronminecraft [ Sat Jan 21, 2012 11:29 pm ] |
Post subject: | Status of Swig bindings? |
Hi there! I am looking to use PolyVox with Panda3d, via python. Its my understanding that SWIG bindings exist for PolyVox? If this is the case, how might I go about building them? thanks! |
Author: | David Williams [ Sun Jan 22, 2012 9:16 am ] |
Post subject: | Re: Status of Swig bindings? |
Hi, SWIG bindings are currently commented out in CMakeLists.txt. Have a look at line 36 of polyvox/library/CmakeLists.txt where you can enable them. I don't know what the current state is but they probably will need some work. I think you will need some experience with SWIG to address any problems you encounter. Also, we recently added SimpleInterface.h/cpp to PolyVox to provide an easier to use API which is also easier to wrap. It's not been tested much, but you could try writing new bindings for this class instead of resurecting the existing ones. |
Author: | Freakazo [ Tue Jan 24, 2012 3:43 pm ] |
Post subject: | Re: Status of Swig bindings? |
Hi there, the best route I would recommend is using cython and the new SimpleInterface. In the end I gave up using python + panda3d and switched to C++ and Ogre3D. In the end it was much easier to learn c++ rather than getting Swig to work with templates! But if you still would rather use python and swig bindings to PolyVox, I'd be glad to work with you to fix up the swig bindings ![]() |
Author: | tronminecraft [ Tue Jan 24, 2012 5:14 pm ] |
Post subject: | Re: Status of Swig bindings? |
Thanks for the offer, I think I am going to try and learn c++, so I can still use Panda3D's c++ API. Thanks! |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |