readme update

This commit is contained in:
Djairo Hougee 2025-01-08 00:46:05 +01:00
parent 3d86c3cd1c
commit 615c14f3f1
1 changed files with 6 additions and 16 deletions

View File

@ -1,22 +1,12 @@
# cuda-based-raytrace
## How to run
If necessary clean previous build:
```bash
make clean
```
Then build (currently always debug build):
Gui branch was a bit easier to compile using Cmake so to run this branch do:
```bash
make all
```
Run:
```bash
./build/main
```
To open the resulting image you can use (Ubuntu):
```bash
xdg-open output.ppm
mkdir build
cd build
cmake ..
make
./cuda-raytracer
```