![]() ![]() I could not change the API to suit binding. ![]() The challenge was that I have no control over the Ogre 3d API. My goal (apart from learn the ins and outs of luabind) was to take one of the Ogre tutorial programs, script the creation of the scene and then duplicate the output of the original program. I'll assume you know a bit about scripting in Lua, as well as have at least done most of the Ogre 3d tutorials. Finally, for all things Lua, this is the place to go. I'll very briefly touch on compiling luabind and Lua. I recommend that you look at this when you see something new in the code below. For more on Ogre 3d itself, refer to its home page, Wiki and very good forum. ![]() I won't go in to detail on the Ogre side of things, but will concentrate on the binding of the Ogre 3d classes to Lua. So here is my experience from integrating luabind into a very simple Ogre 3d application. That and I hope other people interested in Lua, luabind or Ogre 3d might see that it's not too hard once you get the hang of it. While C++ has been relegated to hobby status for me, I thought my experience in the following could shed some light for others. This is my first article for The Code Project.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |