OpenFX sharing data between plugins of the same binary.

Hi guys,

Is there a way to share data between different plugins (same binary). My use case is that in one node I am doing some affine transform with a 2x3 matrix, but at one point I have to inverse that transform. The matrix is not a constant, it changes with the frames.

My sub optimal solution is to create a unique id for each transform node and write the corresponding id to inverse node when I create it (manually).
Transform node writes the matrix to a global data structure (unique id is the key) and Inverse node read it from there.

Is there a better way to do it? Thanks.

Hi,

You could probably workaround this with some Python scripting, but in regards to
OpenFX there is no standard for metadata yet, but there are discussions Clip and Image Metadata · Issue #142 · AcademySoftwareFoundation/openfx · GitHub