PDA

View Full Version : pls help to print



arc
03-24-2004, 08:38 PM
hello,
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, 11: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