PDA

View Full Version : Opengl frame buffer size



Peter Lee
08-23-2000, 11:37 PM
Hello,

Could someone please advise me?

How do I increase the size of the dimensions (in pixel) of the screen image drawn in the frame buffer?
My screen resolution is 1280 x 1024 and that makes the image (bitmap) I print the same pixel size.

I am able to print from the screen image of my OGL constructed 3D scene by creating a DIbitmap then getting the printer DC to enable printing.

The ARB OpenGL Programming Guide mentions the window co-ordinates and the 'fragment values' become pixels but omits to explain why or how the mapping ratio is set at 1:1.

Is there any way around this problem?

I code in C on a PC platform using NT4.

Many thanks in anticipation.

Best regards,

Peter Lee.