Skip to content

Abergard/occlusion-culling-visualization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Visualization of the Occlusion Culling method Open in Gitpod

About

Occlusion Culling method deals with detection of invisible elements of scenes in order to eliminate them from the rendering process. This project aims to show how it works by draw objects in a few mode from first and third perspective. Both view can be enabled on demand.

Visualization options

options

Buildings (only Windows platform supported for now)

Firsty, you need to clone repository.

git clone --recursive https://github.com/Abergard/occlusion-culling-visualization.git

To build project the VisualizationLibrary need to be installed somewhere.

cd occlusion-culling-visualization/external/Visualization_Library
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DVL_GUI_WIN32_SUPPORT=ON -DVL_INSTALL_DATA=ON -DCMAKE_INSTALL_PREFIX=<path where want to install VisualizationLibrary>
cmake --build . --target install --config Release

To build main project pass install path to VL_ROOT from step before

mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DVL_ROOT=<path to installed VisualizationLibrary> -DCMAKE_INSTALL_PREFIX=<path where want to install occlusion-culling-visualization> -Wno-dev
cmake --build . --target install --config Release

Dev

To add and test new changes is highly recommended to build with Debug build type and OCV_TEST cmake's flag enabled.

cmake .. -DCMAKE_BUILD_TYPE=Debug -DOCV_TESTS=ON -DVL_ROOT=<path to installed VisualizationLibrary> -Wno-dev
cmake --build . --config Debug
ctest -V .

Todo

There is a lot of work to do yet:

  • Prepare code to run on linux
  • Add basic tests
  • Configure CI
    • Appveyor
    • Travis
  • Extend map/object loader to be able to load objects from blender.
  • Add textures
  • and many more...

About

Visualization of the Occlusion Culling method

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published