- Posts: 160
- Joined: Wed Aug 03, 2016 4:53 pm
However in Fusion "script" means a piece of code based of a scripting language: https://en.wikipedia.org/wiki/Scripting_language
Fusion supports both the Lua and Python Scripting Language. With these and a bit of knowledge about programming you can access most of Fusions functionality in order to automate tasks that are repetitive, prone to human error, hard to do manually etc. Similarly you can extend Fusions functionality if possible with the given access to underlying functionality.
To give you a simple example, imagine you want to automate the task of disabling all savers in the composision, but the selected.
In written English a script could do the following task:
- Code: Select all
for each saver tool in the composition:
if the current saver tool is not selected:
set this saver tool to pass-through
The computer does not understand this though. To see how this would work in a real script the quick start tutorial in the Fusion 8 scripting guide:
https://www.blackmagicdesign.com/manual ... _Guide.pdf
As you mentioned Fusion ships with a few scripts. In most (bigger) companies "Technical Directors" write more custom functionality. Scripting is just one way to extend Fusion. Here all possible interfaces beyond the graphical user interface that most users are familiar with:
- Scripts (Lua/Python, mainly change the properties, nodes etc. - can not change image data directly)
- Fuses (scripted Plugins in the Lua programming Language. May create own 2D filters and nodes (change image data), even allows for GPU evaluation via OpenCL kernels)
- Native Plugins (in the C++ Programming Language. Similar to Fuses but go beyond its functionality, allow extending 3D, Fileformats and more - Requires the SDK)
- Comp format (yes, the .comp is actually just a (Lua-Table) text file. Nothing stops you from messing with it, or generating it from scratch)
- Settings (simple preset of the properties of a tool, stored on disk/in bin)
- Macros (like presets, but group/aggregation of tools that may provide its own interface)
- Expressions (allows for complex connection of properties / calculations of properties)
Hope that helps.