Happy new year.
I use in my Program PBuffers. They work fine. I use them with glut and the wgl Extensions. But now the Programm has to work under Linux, so I need a possiblity to use PBuffers without the W(indows)GL Extensions, need I?
I read that I can use these Extensions under Linux
with NVIDIA Drivers, but I’ve got an ATI Radeon 9800.
By the way - I need GLSL as well under Linux ;-}
I am a bit confused, so sorry about that. I hope
somebody may give me some hint
Under linux pbuffers are used with the extenstions: GLX_SGIX_pbuffer and GLX_SGIX_fbconfig. You could always use the PBuffer class in the NVSDK which takes care of everything for you and works with win and nix. I use the NV PBuffer class since I didn’t feel like reinventing the wheel.
One thing about GLSL though is it works exactly the same under all platforms, unlike pbuffers which deal with the OSes windowing system, thus the need for different extensions.
EDIT: I miss-read what card you have and had to delete a bunch of crap.
GLX 1.3 has AFAIK all this extensions in the core.
Originally posted by SirKnight:
You could always use the PBuffer class in the NVSDK which takes care of everything for you and works with win and nix.
I miss-read what card you have
I’ve got a Radeon 9800 from ATI. So, can I use the
NV PBuffer Class as well?
Yes you can use it on your ATI. Although, since the ATI cards don’t support (I don’t think they do) the NV_texture_rectangle extension, you won’t be able to use rectangle pbuffers with this class. The newest version of the PBuffer class also supports the ati texture float extension which works on both ATI and NVIDIA.
BTW, you can get the latest version here:
Be warned though, you may have to modify pbuffer.cpp. What I did was change ‘#include <shared/pbuffer.h>’ to ‘#include “pbuffer.h”’ I didn’t want to put pbuffer.h in a ‘shared’ directory.