Tri is a software renderer implementing a fixed rasterization pipeline.
The following dependencies are mandatory:
- C++ compiler (>=C++11)
- CMake (>=3.12)
- GLFW
- GLEW
- CUDA Toolkit (>=10)
The following dependencies are optional:
Example snippet for building & installing this project:
mkdir build && cd build
cmake \
-DCMAKE_CUDA_COMPILER="/usr/local/cuda/bin/nvcc" \
-DBUILD_TESTING=ON \
-DCMAKE_INSTALL_PREFIX="/apps/Tri/" \
..
cmake --build . -- VERBOSE=1 -j8 all test install
CMake options for configuring this project:
CMake Variable name | Description | Default |
---|---|---|
CMAKE_CUDA_COMPILER |
Path to the nvcc executable. | OFF |
BUILD_TESTING |
Enable automated testing. | OFF |
BUILD_DOCUMENTATION |
Build documentation. | OFF |