Jump to content
  • Advertisement

Archived

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

SoHo

Framebuffer Access

This topic is 6189 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

I want to make a .md2 viewer with the abillity to move,zoom and rotate models. I know how that stuff works but the most important thing this program should do is save the current picture of the model into a bitmap file. Is there a way to access the frambuffer and read it out pixel for pixel or is there any other way? thx in advance ~Marc

Share this post


Link to post
Share on other sites
Advertisement
I assume you''re using OpenGL?

Read up on the docs for glReadPixels(). If memory serves me correctly, that should do exactly what you are looking for.


-Brannon

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!