Results 1 to 3 of 3

Thread: Pixel Buffers and Display lists

  1. #1
    Junior Member Newbie
    Join Date
    Jun 2004

    Pixel Buffers and Display lists

    Recently I had some "strange" behavior concerning Pixel Buffers and Display lists.I've created a simple application that renders 3D models of a specific 3D file format.In order to do some voxelization processing of the model I wanted to be able to render it using the Pixel Buffer.So I had already created the display list of model geometry and changed between the Rendering Context of the Window and of the Pixel Buffer.The "strange" thing is that although the display list was valid just before rendering,the model did not display in the Pixel Buffer.I've solved the problem with rebuilding the display list just before rendering to the pbuffer.All I want is someone tell me why this happens and where can I find more info about this.Thanks a lot for every tip and I'm sorry about my English(they're not my mnative language).

  2. #2
    Senior Member Frequent Contributor
    Join Date
    Apr 2004

    Re: Pixel Buffers and Display lists

    Maybe you didn't share the display list between the Rendering Context and the Pbuffer. Take a look at wglShareLists

    In case you're using linux,supply the glxcontext you wish to share with as a parameter to the glXCreateContextWithConfigSGIX function. fbconfig


    [EDIT] Added linux equivalent

  3. #3
    Senior Member OpenGL Guru Relic's Avatar
    Join Date
    Apr 2000

    Re: Pixel Buffers and Display lists

    Display lists are built in the active context and are not visible to other contexts unless you have called wglShareLists.
    Do this right after you have created the contexts and display lists you build in one OpenGL context are also acessible in the shared one.
    wglShareLists shares other OpenGL objects like texture objects, too.

Similar Threads

  1. Replies: 4
    Last Post: 08-01-2016, 06:19 PM
  2. pixel manipulation between buffers
    By rys in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 07-05-2004, 11:45 PM
  3. NVidia, dualview, pixel buffers.
    By wintal in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 08-02-2003, 01:40 AM
  4. display lists inside display lists...
    By architekt in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 05-22-2002, 08:55 PM
  5. vertex buffers in display lists
    By Firestorm in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 11-04-2000, 04:02 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