aboutsummaryrefslogtreecommitdiff
path: root/readme.md
blob: 4817c2baa5c16acbd22a4e72b8d503e606f6714e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Pathtracing

## Preview

![render](https://git.jtle.dk/pathtrace/plain/generated.png?h=rendered)

## Build requirements

- Catch2
- Qt5

## Building

This is just standard cmake building.

```
mkdir build
cd build
cmake ../
make
```

The program does currently not have any options, so just run it.

```
./pathtracing
```


## Testing

To test the program follow the steps above but instead of `make` run `make test`.

```
make test
```

Then run the test executable.
Remember to rerun `make test` when changing source files.

```
./run_test
```