Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Demonstrates a software (CPU) based approach to occllusion culling using multi-threading and SIMD instructions to improve performance.

License

Notifications You must be signed in to change notification settings

GameTechDev/OcclusionCulling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DISCONTINUATION OF PROJECT

This project will no longer be maintained by Intel. Intel has ceased development and contributions including, but not limited to, maintenance, bug fixes, new releases, or updates, to this project. Intel no longer accepts patches to this project. Software Occlusion Culling Sample Application

The technique used in this sample divides scene objects into occluders and occludees and culls occludees based on a depth comparison with the occluders that are software rasterized to the depth buffer. The sample code uses frustum culling and is optimized with Streaming SIMD Extensions (SSE) and Advanced Vector Extensions (AVX) instruction sets and multi-threading to achieve up to 8X performance speedup compared to a non-culled display of the sample scene.

For a detailed explanation, please see this article.

In addition to the technique detailed above, a separate Masked Occlusion Culling library has been included for comparison purposes, with its main up-to-date codebase being developed at https://github.com/GameTechDev/MaskedOcclusionCulling

As of late 2017 the Software Occlusion Culling Sample code is in the maintenance mode; reported bugs will be fixed but no upgrades are planned so far. However, Masked Occlusion Culling technique is still being actively developed.

Build Notes

The sample will not execute properly when run from within Visual Studio unless the 'Working Directory' is set to $(TargetDir).

Requirements

  • Windows 8 or later
  • Visual Studio 2015 or higher

About

Demonstrates a software (CPU) based approach to occllusion culling using multi-threading and SIMD instructions to improve performance.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published