Copy openGL to clipborad???

Started by
0 comments, last by smpat 21 years, 6 months ago
Please could someone tell me how to copy an openGL window to the Windows clipboard using visual basic. Seem to have come to a total dead end; looked through the red book, internet & tried another forum but knowone seems to know. Surely its not that difficult?? I found some code in C++ - somthing to do with a ''glreadpixel'' function but couldn''t decipher it. Grateful of any ideas.
Advertisement
Use glReadPixels to read the window''s image into a dynamic array, then use the SetData method of VB''s Clipboard to put the data into the system clipboard...

Look up glReadPixels in the Red Book...

And don''t double post. Moderators will viciously bitch-slap you for it...

Movie Quote of the Week:

"You''ve been eating retard sandwiches again."
- Birdman, Beautiful Girls.Try http://uk.geocities.com/mentalmantle. Seriously. It''s brilliant.
And I just completely redesigned it so it looks even better.
DarkVertex Beta 0.8 available soon!
My opinion is a recombination and regurgitation of the opinions of those around me. I bring nothing new to the table, and as such, can be safely ignored.[ Useful things - Firefox | GLee | Boost | DevIL ]

This topic is closed to new replies.

Advertisement