I've done it in https://ossia.io using QRhi, to have multiple pipelines of
shaders applying subsequently - works fine for e.g. video art needs.
Most of the code is in there if that can be useful:
https://github.com/ossia/score/tree/master/src/plugins/score-plugin-gfx/Gfx/Graph


On Thu, Aug 15, 2024 at 4:38 AM Nuno Santos via Interest <
interest@qt-project.org> wrote:

> Hi,
>
> I’m looking to create a pipeline of video processing with C++ only.
>
> I want for instance to create render a video, then an apply a blur effect,
> followed by a tilt effect, followed by hue shift effect, and so on.
>
> I also want to be able to switch the order of the effects.
>
> I know this is possible to make using Qml but I want to have more low
> level and dynamic control and be able to do this from C++. Is this even
> possible using Qt only?
>
> I believe a single QQuickItem is able to render source but in order to
> process is I need to be able to pass the output of that quick item to
> another quick item which will apply the effect on it.
>
> This was the strategy used in a higher level from the Qml side using the
> multi effect source. Isn’t that correct? But is this possible to do with Qt
> 6 and C++ only? Is there any API I should be aware of?
>
> Please advise.
>
> Thanks in advance.
>
> With my best regards,
>
> Nuno
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest
>
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to