OpenGL doesn't do this, as there is a pixel owner****p test that clearly
divide pixels in ones belonging to opengl and other ones that do not.
Also most systems doesn't encourage modifcation of non-application
pxiels. Nevertheless, it seems possible with Windows as far as i know.
But i think you won't find a readymade cross platform solution for "such
ugly behaveiour" :-)
At most i can imagine a pixel read capability, for example Java
frameworks allow to take a screenshot, thus reading non-owned pixels.
navid_ad schrieb:
> I'm doing a research and I need to change RGB value of some pixels on
> screen runtime. As far as I know, glGet/SetPixel() just have access to
> the current application framebuffer but not the whole screen, but I
> need to be able to change any pixel on screen even the ones that
> belong to other applications.
>
> The code doesn't have to use OpenGL, I can use any library required to
> do so, but I prefer to have a cross-platform solution.
>
> I'm using C++ for coding.
>
> Thanks in advance for any suggestion, example, or link.


|