glreadbuffer

Previous topic - Next topic

djtoon

anyone has an example of reading the opengl buffer and then saving it as a file?

Kitty Hello

grabsprite, Savesprite?

djtoon

well its very slow :(
from what iv seen on other programs
getting the the opengl buffer and then wright the bytes as a pure tga is the fastest

Kitty Hello

grabsprite is fast (except for rotated screens). savesprite might take a bit, but you have to transfer the opengl buffer to a memory buffer using glReadPixels in any way, so GLBasic provides the fastest possible way with grabsprite and savesprite.
instead of grabsprite, you can use USESCREEN