draw into file?

Started by
0 comments, last by dawei 21 years, 6 months ago
Hi, I''d like to know, if there is a(n easy?) way to draw the OpenGL-stuff not into any window but directly (or per buffer) into a pic-file. And all this using linux/KDE3? Shouldn''t be that hard right?! I''ll be happy about any answer or hint you can give! Thank you in advance, DaWei
Advertisement
You can't render directly into the file. But you can render to an offscreen buffer and then save it to a file. Have a look at Mesa, it has an offscreen renderer (OSMesa) that can render directly into a user defined buffer, without messing with windows and that stuff.

[edited by - Brother Bob on October 17, 2002 9:46:21 AM]

This topic is closed to new replies.

Advertisement