Does this have any chance of working (with luabind)?


08-07-2007 23:50:45

So I'm coming from lua land, and am wondering whether it's possible to leverage pyogre for my lua bindings.

I took a look at the old pyogre implementation (the one that uses pyste), and noticed that it outputs Boost.Python cpp files. Luabind uses a very similar format, which isn't surprising because it's based on Boost.Python.

I haven't looked at pyogre's new implementation in detail. Does it still output in Boost.Python format? And if so, what's the easiest way to get those generated files? Do I have to do a full build of pyogre?


09-07-2007 00:37:38

PyOgre is depreciated (there isn't any active development) and has been replaced by Python-Ogre.

PyOgre was based upon SWIG binding.

Python-Ogre is based upon Boost and Py++ (a great wrapper generator).

I suggest you take a look at the Python-Ogre SVN to get an idea how we create the wrapper, however I have no idea if it would be suitable as a base for a Lua wrapper..



09-07-2007 00:44:52

Py++ spits out Boost.Python bindings, so that's good.

Can someone do me a big favor and post or email me a couple of the generated cpp files? I want to see whether I might be able to convert them to the luabind format using some simple string subs. Before I actually take the plunge and try to build Python-Ogre, I want to make sure this might actually work.