Results 1 to 6 of 6

Thread: Is triple buffering Possible in openGL???

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2002
    Location
    bangalore,karnataka,India
    Posts
    7

    Is triple buffering Possible in openGL???

    hi all,
    i want to put 3 things on the sreen
    ,a map information(ie. an image), over that my drawing and again one more drawing on it. the objects has to transparent, so that i can see the map information.

    in directx triple buffering is possible, how about in opengl?
    please help me..

  2. #2
    Member Contributor
    Join Date
    Jan 2003
    Location
    UK
    Posts
    51

    Re: Is triple buffering Possible in openGL???

    I don't know if triple-buffering is possible in opengl, but I don't think you need it for this problem.

    You seem to want to draw things on top of each other using transparency to see through the top layers. This can be done using alpha blending.

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

    Re: Is triple buffering Possible in openGL???

    triple buffering is not what you want. does this information change? drawings of what, ie txture mapped stuff or polygonal or...

  4. #4
    Senior Member OpenGL Guru
    Join Date
    Dec 2000
    Location
    Reutlingen, Germany
    Posts
    2,042

    Re: Is triple buffering Possible in openGL???

    You donīt need triple-buffering for this.
    And it is not supported in OpenGL.
    GLIM - Immediate Mode Emulation for GL3

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

    Re: Is triple buffering Possible in openGL???

    triple buffering is supported under extensions I thought. sure you could use a pbuffer anyways

  6. #6
    Halcyon
    Guest

    Re: Is triple buffering Possible in openGL???

    I think it is an extension. Anyways for your problem, you need the accumulation buffer. You would render the map onto it first, then the second drawing on to that and the third drawing on to that. You would have to alpha blend the second and third drawings to the map. This is only if you store all three drawins in seperate buffers. Or else you could just normally draw the map to the background and follow it up with the two other drawings alpha blended (this is without accumulation buffer).

    - Halcyon

Similar Threads

  1. Triple buffering
    By Josep Fontdecaba in forum OpenGL: Advanced Coding
    Replies: 11
    Last Post: 12-05-2008, 01:01 AM
  2. triple buffering
    By siddu78 in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 04-28-2003, 03:31 PM
  3. Triple buffering
    By restless in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 08-18-2002, 03:57 AM
  4. Triple buffering?
    By Lucretia in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 10-09-2000, 07:43 PM
  5. Triple buffering with OpenGL?
    By Jagos in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 07-22-2000, 06:38 PM

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