Advertisement

counting displayed polies

Started by February 05, 2003 04:56 PM
1 comment, last by jverkoey 22 years ago
is there any command/commands to be able to tell exactly how many polygons are being display on the screen? I want to know so that I can tell at any given time how many polygons are being displayed actually ON the screen, and not off to the side. -thanks, jverkoey
You can probably get that information using glRenderMode(GL_FEEDBACK) and process the data then generated.



[ Start Here ! | How To Ask Smart Questions | Recommended C++ Books | C++ FAQ Lite | Function Ptrs | CppTips Archive ]
[ Header Files | File Format Docs | LNK2001 | C++ STL Doc | STLPort | Free C++ IDE | Boost C++ Lib | MSVC6 Lib Fixes ]
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
Advertisement
been a while since I read about feedback, but from what I remember it won''t take into account triangles not drawn due to depth testing... So for the purpouses of your test you might want to disable depth testing completly.

| - Project-X - my mega project.. yup, still cracking along - | - adDeath - an ad blocker I made - | - email me - |

This topic is closed to new replies.

Advertisement