"fungus" <openglMYSOCKS@[EMAIL PROTECTED]
> wrote in message
news:9f7d5e71-68cc-41e2-84d7-d7e0b02462c2@[EMAIL PROTECTED]
> On Jun 3, 9:59 am, Jonno <jo...@[EMAIL PROTECTED]
> wrote:
>> There is no glGetPixel or glSetPixel in OpenGL.
>> Windows API has GetPixel and SetPixel, and these (like all Windows GDI
>> functions) can draw to anywhere on the screen, including other
programs'
>> windows. But if you do this, the other programs will overwrite your
>> pixels the next time they redraw.
>
> I'm not sure even this works any more on Windows Vista.
>
>
> --
> <\___/>
> / O O \
> \_____/ FTB. Remove my socks for email address.
Even if it did (a similar grab can be done in X11) its not quite what was
asked for.
If anything on the screen is changing in any way, this snap & replace
approach won't be right.
You'd have to snap & replace at refresh rate to make it "right" -- tough
to
do.
jbw


|