Quantcast
Viewing all articles
Browse latest Browse all 40524

ofxLua

@taktik I think the performance will be fine. lua is a small and very fast scripting language so, in my usage, I've stayed at 60 fps using Lua scripts for pretty much everything. Also, keep in mind you can keep parts of your rendering in C++ and make a custom lua wrapper for it using SWIG so you can call it from lua, this way the most intensive parts of your project can stay in C++.

But I'd also just suggest trying it out. Take the luaExample and modify one of the scripts to do one of your scenes, etc. I think you'll see it's still pretty fast. If not, then you can replace lua with luajit which is an order of magnitude faster.


Viewing all articles
Browse latest Browse all 40524

Trending Articles