Solved

occlusion culling

Posted on 2004-03-28
3
227 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Artificial Intelligence comes in many forms, and for game developers, Path-Finding is an important ability for making an NPC (Non-Playable Character) maneuver through terrain.  A* is a particularly easy way to approach it.  I’ll start with the algor…
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

705 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

15 Experts available now in Live!

Get 1:1 Help Now