?
Solved

occlusion culling

Posted on 2004-03-28
3
Medium Priority
?
236 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 5

Accepted Solution

by:
info_expert earned 400 total points
ID: 10716372
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Recently, in one of the tech-blogs I usually read, I saw a post about the best-selling video games through history. The first place in the list is for the classic, extremely addictive Tetris. Well, a long time ago, in a galaxy far far away, I was…
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.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

777 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