PDA

View Full Version : Printing OpenGL Scene in VB



09-06-2001, 05:52 AM
Hi all,

I need help for printing an OpenGL Scene in Visual Basic 5. I read things about printing in C, but I am not strong enought to translate it in VB.

Thank's for answering

Pat
09-06-2001, 10:08 AM
I am printing my OpenGL scene in VB6 by rendering the image to an offscreen DC which is much larger in size than the onscreen DC to use the increased printer resolution. I then do a BitBlt to copy the image to an invisible VB PictureBox control and I use that to print.

As you can see, printing is not very straightforward with OpenGL in any language.

[This message has been edited by Pat (edited 09-06-2001).]

09-09-2001, 11:08 PM
Thank's a lot for the answer.
@+