Skip to content

Latest commit

 

History

History
53 lines (44 loc) · 2.23 KB

README.md

File metadata and controls

53 lines (44 loc) · 2.23 KB

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...