Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

dawei

draw into file?

This topic is 5898 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
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]

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!