Results 1 to 7 of 7

Thread: Pbuffer

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2002
    Location
    Florence, Ky USA
    Posts
    27

    Pbuffer

    does anybody know or want to explain the basics of pbuffers?

    basically im trying to render to a texture.. and will utilize that to do a distortion effect... (kinda metroid prime-ish)
    Im really struggling with handling all the framebuffer stuff.. i kinda just put in all that code without thinking about it to get the scene ready up till now...

    Sorry if i sound lame

    Kent

  2. #2
    Senior Member Frequent Contributor
    Join Date
    Aug 2000
    Location
    Cardiff University
    Posts
    653

    Re: Pbuffer

    Its just like a 'spare' buffer. So you can hardware (card etc dependant) accell render to it and the play with it and do whatever you fancy with it really.

  3. #3
    Junior Member Newbie
    Join Date
    Aug 2002
    Location
    Florence, Ky USA
    Posts
    27

    Re: Pbuffer

    cool.. i guess understand the concept fairly well i suppose.... the trouble is trying to implement it.. im completely clueless as to creating the pbuffer binding it and then being able to store that as a texture.

  4. #4
    Senior Member Regular Contributor
    Join Date
    Dec 2001
    Location
    London, England
    Posts
    160

    Re: Pbuffer

    You may want to look at my "Render to texture" project...
    http://users.ox.ac.uk/~univ1234

  5. #5
    Junior Member Newbie
    Join Date
    Aug 2002
    Location
    Florence, Ky USA
    Posts
    27

    Re: Pbuffer

    wow there is a lot of code to that tutorial.. i'll try to manage my way through that.. Though im not sure what in there is applicable to my situation... i just need to get the scene into a texture... I know what to do w/ the rest.. it'd also be nice to avoid the wgl stuff and make it as simple as possible... however that may be asking a little much :-p

    [This message has been edited by Kent767 (edited 12-02-2002).]

  6. #6
    Senior Member Regular Contributor
    Join Date
    Dec 2001
    Location
    London, England
    Posts
    160

    Re: Pbuffer

    Sorry, but if you are using windows, the only way to create a pbuffer is to use wgl. The extension is WGL_ARB_pbuffer after all.

  7. #7
    Junior Member Newbie
    Join Date
    Aug 2002
    Location
    Florence, Ky USA
    Posts
    27

    Re: Pbuffer

    yeah i see.. sorry if i sound too pushy... i guess im just having trouble creating the framebuffer and mapping that to a texture.. in a quick one time use way.. minimal classes etc...
    Kent

Similar Threads

  1. ATI's pbuffer bug + NV's IBO bug ?
    By Ysaneya in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 09-08-2004, 06:32 PM
  2. pb with pbuffer
    By pantxua in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 04-30-2004, 04:24 AM
  3. PBUFFER!!!
    By I_dont_know in forum OpenGL: Advanced Coding
    Replies: 6
    Last Post: 02-26-2004, 04:25 PM
  4. Use a pbuffer as texture while rendering in another pbuffer
    By EpSiLoN in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 11-11-2003, 04:48 PM
  5. PBuffer
    By Frenz in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 12-03-2002, 06:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean