Skip to main content
gamedev.net
🔒 Locked

Framebuffer Access

Started by SoHo 1 reply 250+ views
Original Post
SoHo
SoHo
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
Brannon
Brannon
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
-Brannon
SoHo
SoHo
thx thats what i needed to know

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.