Results 1 to 4 of 4

Thread: Question

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2000
    Posts
    25

    Question

    Is there any way to determine whether any pixels passed the z-test, say between the last glBegin() / glEnd() pair? My instinct says no, but it would be extremely useful to my final year thesis, so I thought I'd ask.

    Cheers,

    Henry

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Sep 2000
    Location
    Santa Clara, CA
    Posts
    1,096

    Re: Question

    Feedback does not do this. Feedback does surprisingly little.

    - Matt

  3. #3
    Senior Member Regular Contributor
    Join Date
    Jan 2001
    Location
    Belgium
    Posts
    183

    Re: Question

    It would be a nice thing to have more control on the end of the graphic pipeline...
    Modifying local variable (that can be accessed by vertex programs?) according to Z, stencil, etc... tests would be really usefull sometimes.

    Even with vertex programs and pixel shaders, the end of the OpenGL pipeline still looks so fixed and unflexible.

    PS: to give a short answer to your question: I have no idea

  4. #4
    Junior Member Newbie
    Join Date
    Oct 2000
    Posts
    25

    Re: Question

    Unfortunately, feedback only returns information on vertices, as far as I can tell - i.e. feedback is performed before rasterization which is not what I need.

    I'm trying, as part of a university project, to develop a very quick (but not necessarily quick enough for real time), approximate visibility approach based on the cheapness of very fast commodity hardware (essentially farming out approximate visibility computations to a bunch of cheap machines, based on drawing everything front to back until there is complete coverage).

    So I need to know when fragments stop writing to the framebuffer. Any ideas?

    Henry

Similar Threads

  1. Replies: 5
    Last Post: 04-23-2018, 12:03 AM
  2. Texture question and sphere question...
    By detzel in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 06-19-2001, 12:02 PM
  3. Matrix question (Not really an OGL Question)
    By KurtCob in forum OpenGL: Basic Coding
    Replies: 22
    Last Post: 04-04-2001, 07:55 AM
  4. Quake3 bsp question (not really openGL question)
    By ribblem in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 01-15-2001, 10:13 AM
  5. Replies: 2
    Last Post: 01-08-2001, 03:33 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