Copy openGL to clipborad???
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.
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!
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!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement