Results 1 to 6 of 6

Thread: Querying the number of polygons being passed

  1. #1
    Senior Member Regular Contributor
    Join Date
    Mar 2010
    Posts
    213

    Querying the number of polygons being passed

    Hello Everyone,

    i was wondering if there is any way to find the number of polygons being passed to the system, without doing it manually.

    What i mean is, i just wanted to see the number of polygons being
    passed without occlusion culling and after enabling it. i tried the GL Intercept tool, but without much help.

    Can anyone please suggest some tools/methods to do this?
    Thanks in advance.

  2. #2
    Senior Member OpenGL Lord
    Join Date
    Mar 2015
    Posts
    6,675

    Re: Querying the number of polygons being passed

    What i mean is, i just wanted to see the number of polygons being passed without occlusion culling and after enabling it.
    Occlusion culling does not cull triangles. It culls fragments.

  3. #3
    Senior Member Regular Contributor
    Join Date
    Mar 2010
    Posts
    213

    Re: Querying the number of polygons being passed

    Thanks for the reply Alfonse Reinheart.

    Well is it possible to check the view frustum culled objects? i looked into an example in this website, which does it manually. Are there any tools for doing such queries?

  4. #4
    Senior Member OpenGL Lord
    Join Date
    Mar 2015
    Posts
    6,675

    Re: Querying the number of polygons being passed

    Well is it possible to check the view frustum culled objects?
    You assume the driver is doing view frustum culling. That's usually a waste of the hardware's time; most hardware just discards any fragments generated that fall outside of the viewport. Whether it's just pieces of triangles or whole triangles.

  5. #5
    Senior Member Regular Contributor
    Join Date
    Mar 2015
    Posts
    256

    Re: Querying the number of polygons being passed

    You can check the number of clipped and culled primitives on AMD hardware with the GPU PerfStudio and I guess you can also query these counters via the GL_AMD_performance_monitor extension, but AMD never documented the counters available for that extension.

    I assume NVidia provides similar counters in their debugging/profiling tools.

  6. #6
    Senior Member Regular Contributor
    Join Date
    Mar 2010
    Posts
    213

    Re: Querying the number of polygons being passed

    Thanks for the replies.

Similar Threads

  1. Fill Polygons according to winding number rules
    By steven in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 11-18-2017, 11:37 AM
  2. To display of concave polygons, polygons containing holes
    By deepa in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 10-13-2004, 09:22 PM
  3. Number of polygons
    By Catman in forum OpenGL: Basic Coding
    Replies: 7
    Last Post: 12-27-2001, 09:27 AM
  4. Number of Polygons...?
    By golbenge in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 04-03-2001, 06:12 AM
  5. Calling a high number of individual polygons.
    By in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 01-04-2001, 09:22 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