Yet another path tracer
Dependencies:
If installing dependencies with vcpkg under windows, don't forget to add the CMake toolchain path to the cmake call:
-DCMAKE_TOOLCHAIN_FILE:FILEPATH=C:/path/to/vcpkg/scripts/buildsystems/vcpkg.cmake
Installation:
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build .
cmake --install .
Link with $ANOTHER_PATH_TRACER_DIR/lib
Include $ANOTHER_PATH_TRACER_DIR/include
You can add $ANOTHER_PATH_TRACER_DIR/bin
to your path.
To build without OpenMP, add -DUSE_OPENMP=OFF
to cmake call.
To build without OpenGL, add -DUSE_OPENGL=OFF
to cmake call.
To build without PNG, add -DUSE_PNG=OFF
to cmake call.
To build without JPEG, add -DUSE_JPEG=OFF
to cmake call.
To build without TIFF, add -DUSE_TIFF=OFF
to cmake call.
To build tests, add -DBUILD_TESTING=ON
to cmake call. Then:
make unit_tests
ctest
To generate documentation, add -DBUILD_DOC=ON
to cmake call. Additional dependencies:
To include in a CMake project:
find_package(APTracer 1.2.0 REQUIRED)
target_link_libraries(example APTracer::APTracer)