[quake2] memory raster?
Ryan C. Gordon
icculus at clutteredmind.org
Fri May 31 02:07:56 EDT 2002
> Do any of the display methods that the Linux Quake 2 port uses ever
> store a completed image of what the player can see in some
> easily-reachable place?
You can access the display's surface (a linear, 8-bit palettized
framebuffer) if you use the SDL target. If you use the OpenGL target, you
could add a call to glReadPixels() to see what's in the framebuffer, which
will slow the engine quite a bit if you do it every frame, but will give
you a considerably higher quality image (if that's important).
--ryan.
More information about the quake2
mailing list