Hi, sorry if this question is answered somewhere in the
documentation, but I’ve looked and so far haven’t found anything.
I need to create an off-screen buffer for openGL that is
(slightly) larger than the window I’m drawing–I’m doing some
image warping, and will be using the larger image as a texture,
doing some warping, and drawing it to the main window. Using
double-buffering, though, I can only draw an image as large as the
current window size. I need something similar to a pbuffer in
wgl, and was wondering if SDL supports something like this (I’ve
been using GLUT until now, and it doesn’t seem to). I can create
a SDL_Surface, but I don’t see a way to initialize this for openGL
drawing or set it as the current buffer to draw to. Thanks.
-Sam Preston
PRESTON,JOSEPH S wrote:
Hi, sorry if this question is answered somewhere in the documentation,
but I’ve looked and so far haven’t found anything.
What you need to use is opengl-pbuffers. These are not supported by SDL
(yet), but you can use platform specific extensions to aquire the buffers.
regards,
\Mikkel Gjoel
PRESTON,JOSEPH S wrote:
Hi, sorry if this question is answered somewhere in the documentation,
but I’ve looked and so far haven’t found anything.
What you need to use is opengl-pbuffers. These are not supported by SDL
(yet), but you can use platform specific extensions to aquire the buffers.
Or you can try out http://www.libsdl.org/cvs/SDL-1.3.tar.gz (ALPHA CODE!!!)
See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment
Doesn’t compile with gcc 3.3.1:
libtool: link: AGE 6' is greater than the current interface number
0’
libtool: link: `0:0:6’ is not valid version information
make[2]: *** [libSDL.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
JPOn Tuesday 02 December 2003 04:28 pm, Sam Lantinga wrote:
Or you can try out http://www.libsdl.org/cvs/SDL-1.3.tar.gz (ALPHA
CODE!!!)
See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment