Skip to main content
gamedev.net
🔒 Locked

Render to a file

Started by BlackBox Apr 5, 2005 at 6:09 AM 1 replies 500+ views
Original Post
BlackBox
BlackBox
Hi, I want to render some screenshots to files, any tips where to start? Thanks a lot. ps. I know this question probably has been answer hundreds of times but Im not sure what to google. :(
---------------------------- ^_^
_Madman_
_Madman_
glReadPixels (if OpenGL) or DX alternative + file formats (wotsit.org)
______Madman
Genjix
Genjix
if youre using sdl you can use SDL_SaveBMP to save the surface to file (meaning you don't even have to open the screen up).

Topic Locked

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

Sign in to reply to this topic.