|
-
Aug 20th, 2001, 11:43 AM
#1
Thread Starter
Member
Printing OpenGL
Hello, I'm making an app that buids a 3D grafic using OpenGL, but now I want to print it. Anybody knows the way to do this?
I'm open to any suggestion.
Bye and Thanks.
-
Aug 20th, 2001, 12:14 PM
#2
I think the standard method is to lock the back buffer, and copy each pixel to a bitmap file, and save that file. I dont use OGL, so i cant give you any code, but that will work.
Z.
-
Aug 23rd, 2001, 05:42 AM
#3
Thread Starter
Member
But, Is it posible to print it directly?
-
Aug 23rd, 2001, 10:08 AM
#4
Good Ol' Platypus
If you can get an hDC I believe you can pass it to the Printer object.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Aug 23rd, 2001, 12:14 PM
#5
Yep. As long as you can get a DC, you can print from that.
Z.
-
Aug 26th, 2001, 04:46 AM
#6
Frenzied Member
Do u want to take a screen shot and save it to a file ?
-
Aug 27th, 2001, 12:21 PM
#7
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|