Lua in Max

Certain tasks in Jitter can require complex sets of commands, data management, complex algorithms and conditional logic that are difficult to build and maintain in the Max patching environment. For these kinds of activities, a scripting language can often be a more flexible solution. The object embeds the Lua scripting language inside a Jitter OpenGL object. serves as both a general purpose Lua scripting object and a 3D graphics scripting object. It is very similar to the js object for JavaScript with the addition that OpenGL commands can be used directly.

Example Patches

See Also

Name Description Overview Overview OpenGL Bindings OpenGL Bindings OpenGL GLU Bindings OpenGL GLU Bindings Color Bindings Color Bindings Vector Math Vector Math Script OpenGL and Jitter with Lua. Use drawing commands with OpenGL Render Jitter OpenGL objects