counting displayed polies
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 ]
[ 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
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 - |
| - Project-X - my mega project.. yup, still cracking along

This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement