I’m currently going crazy trying to work out why an object I think I should be rendering can’t be seen. Off the top of my head it might be too small, on the wrong side of one of 6 clip planes, or behind something nearer and hence killed by the z-buffer.
I could extract the various matrices etc. from the GL object and compute the projected positions of the vertices, but that sounds like a lot of work with potential for its own subtle bugs, so I thought it would be worth asking whether anyone knows of a library or GL call which would allow me to call a method to reset counters, then later ask how many pixels have been drawn to, how many faces have been clipped entirely away, etc.
Any other suggestions also welcomed.