brunoherbelin / vimix

Live Video Mixer
GNU General Public License v3.0
259 stars 25 forks source link

Dynamically set shader filter variables #139

Closed michaelpanik closed 2 months ago

michaelpanik commented 2 months ago

I'm using Vimix + Chataigne for real-time video performance. Having the shaders are incredible. The only thing that would push it over the edge would be the ability to control variables in the filter in real-time. Is there some way to do this, possibly through OSC?

brunoherbelin commented 2 months ago

Thanks for positive feedback!

Yes, what you ask is supported by vimix in latest version 0.8.2d (currently being submitted as snap and flatpak releases, otherwise accessible from source)

Example; send /vimix/#0/uniform sf pix 0.9 to set the value of the uniform variable 'pix' to 0.9, assuming source #0 is a clone source and the shader code defined a uniform variable called 'pix'.

More info on the wiki OSC doc

michaelpanik commented 2 months ago

Incredible! Thank you so much: this is about to take my game to the next level. I'm running a very cool show on Thursday - if video of me running Vimix in a live context would be helpful to you, I'd happily shoot some and send it your way for promotion.

brunoherbelin commented 2 months ago

That would be awesome !

We could link / insert it to the vimeo page (https://vimeo.com/vimix), or I was also thinking of a 'Made with vimix' section in the wiki. Let's see.

lupin3rd commented 2 months ago

In 0.2 version of my module there are cloneuniform messages: https://github.com/lupin3rd/vimix-chataigne-module

michaelpanik commented 2 months ago

In 0.2 version of my module there are cloneuniform messages:

https://github.com/lupin3rd/vimix-chataigne-module

I've got the plugin going - it rules! I'm using a uniform float and the uniform clone mapping but it's not affecting it. Any ideas?

image

brunoherbelin commented 2 months ago

Two things to check

michaelpanik commented 2 months ago

Ah! So I had an old version installed because I installed through apt. Using Flatpack got me to the latest release and solved the issues!

lupin3rd commented 2 months ago

@brunoherbelin how about releasing Vimix version 0.9 ? There are actually many new features in the development version.