FFGL Inputs

Hi community,

i build a few compositions with VUO, which work great in Resolume 7.11 on M1 Macs.
I am just missing usefull Input Options.

For example:
Color Input (the Resolume One)
Multi Text Line

and most important:
Switch / List (where i can edit the text and values)

It seems it is not integrated yet, so i am trying with VUO.SDK and QT / VSC to build a new Node for that.
But is that possible what i want?

Thanks in advance

Erik

Great that you’re exploring the Vuo SDK!

Unfortunately, none of the examples you mentioned are currently possible. The first two would require changes to Resolume, and the third would require changes within Vuo.

Color input — As you know, for FFGL plugins, Resolume shows a color picker with separate RGBA channels rather than the native color picker used for built-in effects. The Resolume developers would need to make a change to either the FFGL spec or Resolume in order for FFGL plugins to show the native color picker.

Multi-line text — Vuo’s text input ports support multiple lines, but Resolume doesn’t seem to have a way to enter linebreaks in a text field. The Resolume developers would need to make that change.

Switch/list — This one could be done with a change to Vuo. The FFGL spec already supports inputs with a list of options to choose from. We would need to update Vuo to be able to set up options for a published input port. You’re welcome to create a feature request.

thanks for replying.
as i read here, it is possible to integrate a vuo app in xcode code. then it should be possible to route vuo inputs to exact ffgl inputs.
do you know where i can find a good start point for this way?

You could do that using the FFGL SDK and the Vuo SDK together.

Probably a good starting point would be to build something with each SDK individually. With the FFGL SDK, build an FFGL plugin that works in Resolume. With the Vuo SDK, build an application that runs a Vuo composition.

Once you’ve gotten a simple example working with each SDK to make sure you have the basics down, you could then add code into the FFGL plugin to make it run a Vuo composition. The process would be something like this:

  • Use the Vuo SDK’s command-line tools to compile and link the composition into a dylib.
  • Copy VuoRunner.framework and the above dylib into the FFGL plugin bundle.
  • Use VuoRunner::newCurrentProcessRunnerFromDynamicLibrary() to launch the precompiled composition dylib.
  • Use VuoRunner::setPublishedInputPortValues(), VuoRunner::firePublishedInputPortEvent(), VuoRunner::waitForFiredPublishedInputPortEvent(), and VuoRunner::getPublishedOutputPortValue() to pass data between the FFGL plugin and the Vuo composition.
  • Render the output image into the FFGL framebuffer.