Developing Games on Intel Graphics
If you are gaming on graphics integrated in your Intel Processor, this is the place for you! Find answers to your questions or post your issues with PC games
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
467 Discussions

Performance Tip: Use Gen4s Occlusion Query


GMA X3000 supports the D3D occlusion query capability, which can be used to reduce overdraw.

Refer to IDirect3DDevice9::CreateQuery(). This query capability can be used to count the number of pixels that passed the Z test. With this you can determine if an object is potentially visible by rendering its bounding box. If the query returns zero then the bounding box was not visible so there is no need to render the object. This can provide a very large performance boost when it is used on complex objects such as trees that contain hundreds of branches and leaves. The technique should not be used on simple objects since the bounding box test could be more expensive than simply rendering the object. When rendering the bounding box be sure to turn off both Z writes and color writes.

0 Kudos
1 Reply

More info aboutIDirect3DDevice9::CreateQuery on MSDN:


Lexi S.

IntelSoftware NetworkSupport

Contact us