Writing to & Reading from a native windows buffer

Hi

I am new to Opengl.

I have an assignment to complete. Here are the requirements

  1. draw the image on to windows native buffer. I was told not use frame buffer.

  2. Read from that buffer and draw on the screen or printer.

I know how to do the second part.

What kind of buffer should I use for the first req? Please point me to any examples.

Thanks,
Vvr

talk about badly worded assignments…
what is a “windows native buffer” actually ? and how different from the framebuffer ?

probably some BitBlt stuff with HDC. why not use framebuffers these days? stupid assigments.
draw the frame into backbuffer and glReadPixels it to RAM then. from there you can do anything with it, even copy to “windows native buffer”.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.