Yet another path tracer
  • C++ 99.1%
  • CMake 0.9%
Find a file
2025-01-20 18:49:02 -05:00
.github Added missing dependency to linux build pipeline part 4 2025-01-06 19:17:49 -05:00
cmake Newline at the end of files, and formatted scenes 2023-03-04 17:12:00 -05:00
docs Version bump 2025-01-20 18:35:51 -05:00
include Added transform matrix tests 2025-01-20 18:33:37 -05:00
scenes Added transform matrix tests 2025-01-20 18:33:37 -05:00
src Version bump 2025-01-20 18:35:51 -05:00
tests Added transform matrix tests 2025-01-20 18:33:37 -05:00
.clang-format Ran clang-tidy, removed most forward declares, added move and copy operators to acceleration structures, and removed using statements in headers 2023-02-24 19:38:01 -05:00
.clang-tidy Ran clang-tidy, removed most forward declares, added move and copy operators to acceleration structures, and removed using statements in headers 2023-02-24 19:38:01 -05:00
.gitattributes added a file to gitattributes 2023-09-03 18:03:50 -04:00
.gitignore Added requirements.txt for python dependencies, and made gitignore better 2023-01-16 20:29:43 -05:00
CMakeLists.txt There is no C in this project 2025-01-03 18:45:50 -05:00
LICENSE Initial commit 2019-02-11 13:17:05 -05:00
README.md Version bump 2025-01-20 18:35:51 -05:00
requirements.txt Added development requirements 2023-03-04 17:12:41 -05:00

another_path_tracer

GitHub license GitHub release Documentation Status build-ubuntu Actions Status build-windows Actions Status build-macos Actions Status

Yet another path tracer

Dependencies:

  • OpenMP
  • OpenGL
  • freeglut
  • libpng
  • libjpeg
  • libtiff

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:

ctest

To generate documentation, add -DBUILD_DOC=ON to cmake call. Additional dependencies:

  • Doxygen
  • dot (graphviz)
  • Sphinx
  • Breathe (pip: breathe)
  • Read the Docs Sphinx Theme (pip: sphinx_rtd_theme)

To include in a CMake project:

find_package(APTracer 1.3.1 REQUIRED)
target_link_libraries(example APTracer::APTracer)