2022-06-07 13:17:46 +00:00
|
|
|
# Pathtracer for Advanced Computer Graphics
|
2022-06-01 08:26:53 +00:00
|
|
|
|
|
|
|
Depdendencies:
|
|
|
|
- Qt6
|
|
|
|
(untested with Qt5, needs CMakeLists.txt adjustments)
|
|
|
|
- OBJ Loader (included, see `thirdparty` directory)
|
|
|
|
- Utah Teapot (included, see `newell_teaset`, Source: https://www.cs.utah.edu/~natevm/newell_teaset/newell_teaset.zip)
|
|
|
|
|
|
|
|
Features:
|
|
|
|
- Material features: Phong lighting, reflections, transparency
|
|
|
|
- Accelerated Raytracing on triangles using a KD-Tree structure
|
|
|
|
- Raytracing with *planes*, *spheres* and *triangles*
|
|
|
|
- A ton of work
|
|
|
|
|
|
|
|
|
|
|
|
## Compiling
|
|
|
|
|
|
|
|
```shell
|
|
|
|
cmake -B build
|
|
|
|
```
|
|
|
|
|
|
|
|
## Running
|
|
|
|
|
|
|
|
```shell
|
2022-06-07 13:17:46 +00:00
|
|
|
build/PathtryCpp
|
2022-06-01 08:26:53 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
*Note: Teapot must be provided in working directory under **newell_teaset/teapot.obj**.*
|