qt - QtQuick2: Applying GLSL shader/graphical effects to Window elements? -


I'm testing the GUI possibilities using QtQuick and QML, but I'm looking for information in implementing the GLSL shadow effect The problem is happening in the window itself, for example, suppose I want to create a full-screen application that simply blocks everything behind the window; As you move the application window in front of your desktop, everything behind the window will be affected by the shader, and if you maximize the app, the whole screen will be affected.

In the official QtQuick5.2 documentation, they specify to apply an image element to do so, they make a version and use the image from the id. I have tried to mention the 'id' property of my 'window' QML element, but it does not work (the result is in a black window because the shader fails to process properly). There are also modules in which some good effects are produced, but I do not have much luck to apply those effects on the window.

So, with QtQuick2.2 and QML, is there any way to 'capture' the pixels behind the window and process them using a GLSL shader and / or QML graphical effects properties?

Interesting work, if you want to actually manipulate the pixels on the screen, one of your program windows does not appear to be a part but rather behind the window is part of the desktop? The best way is that I can think of Qt "capture" pixels that seem to be outside the main window, actually making them part of the QT window by making them part of the window's transparent part. This may require some trial and error, but to start, one is reading through the threads as if others have tried to do this.

Once you have succeeded in doing this, you can apply the shader effect, the window itself and the pixels captured on it can affect. Definitely not a normal task, but with some experimentation you can get some interesting results.

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -