OpenGL/SDL pbuffers

Started by
4 comments, last by redeemer90 17 years, 8 months ago
Didn't know which board to put it in, sorry if this was supposed to be in the other one ;). Is there possibility to use OpenGL pbuffer without wiggle, but in SDL? Regards, M.
If only noobs were boobs... the world would be a better place.
Advertisement
I suggest you look to Framebuffer objects. It does the same as pbuffer, but with leess overhead and in platform independed way (it doesn't depened on OS API funcions, it is just plain OpenGL extension).
isn't pbuffer better supported by video cards currently?
If only noobs were boobs... the world would be a better place.
Pbuffer is better supported by video cards, yes.

But the mechanism in wgl which lets you use a pbuffer as a texture (possibly shared with another context) does not exist in GLX as far as I'm aware.

So while you can have pbuffers, you cannot use them as textures (although you can still glCopyTexImage2D, but you're trying to avoid that, right?)

Mark
Yeah, I'm trying to acheive a glow effect similar to that in Tron 2.0, and I require speeeeeeeeed.
If only noobs were boobs... the world would be a better place.
If you are targetting only the new cards then frame buffer objects should do just fine. FBO with stencil buffers has some problems on the current ATI drivers AFAIK

This topic is closed to new replies.

Advertisement