Solved

occlusion culling

Posted on 2004-03-28
3
229 Views
Last Modified: 2013-12-08
My occlusion culling works more or less this way:

if ( fWaiting>=0.0f)
{
fWaiting-=fElapsedTime;
query_begin
draw object
query_end
while query_getdata(flush) == S_FALSE ;
if (dwNumRenderedPixels == 0)
fWaiting=0.05f;
}

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.
0
Comment
Question by:giuseppemag
3 Comments
 
LVL 5

Accepted Solution

by:
info_expert earned 100 total points
ID: 10716372
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Flash video stream duplicate 5 344
Sudoku - eraseable white board 2 276
Is Java native code for Graphics  seamlessly substitutable? 4 84
copyEvens challenge 6 92
As game developers, we quickly learn that Artificial Intelligence (AI) doesn’t need to be so tough.  To reference Space Ghost: “Moltar, I have a giant brain that is able to reduce any complex machine into a simple yes or no answer. (http://www.youtu…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now