Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Render to Texture and Multi-sampling

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2004
    Posts
    4

    Render to Texture and Multi-sampling

    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

  2. #2
    Super Moderator OpenGL Guru dorbie's Avatar
    Join Date
    Jul 2000
    Location
    Bay Area, CA, USA
    Posts
    4,388

    Re: Render to Texture and Multi-sampling

    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).]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •