Page 1 of 1

LUT Uploader FFGL plugin

Posted: Wed Jan 31, 2018 22:24
by lightbx
Hi Developers,

I have an idea but no clue if it is possible. Can a LUT uploader (similar to "Lumetri Color" in After Effects) be wrapped inside an FFGL plugin? My vision is a plugin that has a browser bar where you can navigate to your LUT files, upload one, and then edit the LUT with color grading wheels etc. inside the Effect menu.

Could be really cool to have a software solution for color-correcting live camera feeds in real time. Is there anything about the FFGL architecture that would prevent this from working as I imagine?

Re: LUT Uploader FFGL plugin

Posted: Thu Feb 01, 2018 14:41
by Joris
The FFGL spec is limited to sliders and buttons, but I'm sure someone like Subpixel would be all over a plugin like this.

Re: LUT Uploader FFGL plugin

Posted: Mon Feb 05, 2018 10:44
by francoe
FFGL can be limited in that way, but isn't a bad idea to have some color correction tools bundled-in (I can make my magic with just curves! and hsl kind tools don't need more than some sliders).
What about a simple LUT loader? Edit and make luts can be a heavy task for programming from scratch, but what about just avoid that (I think the use of luts to filter images is a wrong fashion trend) and have a lut loader for the purposes they where created? Every time you need to play footage shooted in flat profiles needs to apply a lut before reencode to dxv, and now with R6 taking a lot of compression formats a simple lut can make your day :)

Re: LUT Uploader FFGL plugin

Posted: Thu Feb 08, 2018 01:09
by lightbx
Very informative answers! I was mostly concerned about the possibility of it, as it would make compiling looks quickly and easily, especially if you work in video and have a selection of go-to LUTs that you really love.

True, I could probably do most of what I need using Curves, Levels, Hue/Saturate, and Tint, and save presets that achieve the looks I want. (Which I should just get started on...).

It amazes me almost daily how Resolume can apply real-time color correction to feeds coming in from Blackmagic devices or Syphon (e.g. a Canon EOS camera and the lovely Camera Live app.) With this software I alway find that when there's a will –– or a need –– there's a way.

Re: LUT Uploader FFGL plugin

Posted: Mon Mar 05, 2018 20:29
by francoe
I will just throw some info here, in case anyone find it relevant.
I see a couples of approuches to the process of dealing with 3d textures, there's one that don't parse the lookout table and take the values from an image map. I don´t even know if we can load that external image to the shader, but there is..

https://developer.nvidia.com/gpugems/GP ... ter24.html

https://github.com/mattdesl/glsl-lut

isf implementation
https://www.interactiveshaderformat.com/sketches/938

on three.js
https://gist.github.com/rc1/433177bd0c2ce38fcccd

vvvv module
https://vvvv.org/contribution/3d-lut-color-grading