Posted on 2004-03-28
My occlusion culling works more or less this way:
if ( fWaiting>=0.0f)
while query_getdata(flush) == S_FALSE ;
if (dwNumRenderedPixels == 0)
Using this code brought a wonderful triangle rendering saving, but where the video card is very fast, the engine loses some frames per second. I was wondering then whether there was some way to retrieve all my queued queries to the driver.