Merge branch 'swig' into 'development'
Initial implementation of a Lua scripting layer Over the last several months a scripting layer that allows pipelines to be defined in Lua has been developed. It uses SWIG to generate Lua modules with bindings for CAMPVis classes. It is an opt-in feature, and tries to be as non-intrusive to standard CAMPVis code as possible. The implementation of the scripting layer has reached a state where it's possible to write fully-functional pipelines in Lua. In fact, 2 existing pipelines have been reimplemented in Lua for testing purposes and added to the project. In my opinion, this marks a good point to merge the initial implementation into the development branch — that would make it easier to test and improve it. Naturally, there are still many rough edges that should eventually be dealt with, but they can be addressed separately as new features: - bindings coverage is rather low - Lua pipelines currently need to be statically registered - pipeline definition syntax could be streamlined (e.g. by getting rid of the `instance` global variable)
Showing with 2749 additions and 9 deletions