View Full Version : pls help to print

03-24-2004, 07:38 PM
i want to take a hard copy of the ogl window usning print option. pls help me asap. the windows has an image.

thanks in advance.

Tom Nuydens
03-24-2004, 10:02 PM
This isn't a very advanced question, nor is it particularly OpenGL-related.

OpenGL doesn't do printing. Take a screenshot of the viewport using glReadPixels() and print it using the appropriate Windows API functions. More info on MSDN.

-- Tom