Page 1 of 1

VS Blend effects

Posted: 24 Jan 2019, 10:19
by Matso
Do You have any plans for implementing the VS Blend effects into the NoesisGUI engine? Or is it already available in some alpha or beta release of Noesis?

MK

Re: VS Blend effects

Posted: 24 Jan 2019, 19:27
by jsantos
Yes, there are plans to implement Effects in Noesis.

https://www.noesisengine.com/bugs/view.php?id=1224

Unfortunately, I am sorry to say they are not coming in 2.2

Re: VS Blend effects

Posted: 28 Jan 2019, 09:34
by Matso
Is it possible to implement for example a blur effect without changing anything inside Noesis? In a form of a plug-in or extension for Noesis?

Re: VS Blend effects

Posted: 28 Jan 2019, 16:52
by jsantos
You can follow the UWP approach (Effects were removed in UWP). You can render a XAML to a texture, apply desired effect and then use that texture in another XAML that is rendered on screen.

Anyway, let's see if we can get aligned on this. As soon as we close 2.2, we plan to resume this task (we have been working on effects for the last years but never find time to finish the task and integrate into trunk version).

Re: VS Blend effects

Posted: 29 Jan 2019, 11:25
by Matso
Can I render a single control this way?

Re: VS Blend effects

Posted: 01 Feb 2019, 14:24
by jsantos
Yes, if you put it in a single XAML. In C++ is easier because you control the active render target. So instead of binding the main framebuffer you can bind a texture and output content to it.