PDA

View Full Version : Render to Texture and Multi-sampling



hortitude
02-18-2004, 03:30 PM
I am trying to create a pbuffer so I can render my scene off screen. I would like it to have anti-aliasing. I would also like to be able to use this buffer as a texture to draw on my frame buffer.

I know that I can copy the image to a texture, but I was hoping to use the pbuffer directly. From what I've read, it looks to me like this should be possible -- however, when I request both properties and I use wglChoosePixelFormatARB it fails.

I am using a GeForce Fx 5950 if that helps at all.

Thanks

dorbie
02-19-2004, 12:27 PM
Moving to the advanced forum since you didn't get a reply here. I don't think you can get a multisample pbuffer on your hardware and on some cards a framebuffer copy won't average your subsamples but let's see what others have to say.

[This message has been edited by dorbie (edited 02-19-2004).]