mirror of
https://github.com/MartinOpat/cuda-based-raytrace.git
synced 2025-06-07 02:13:10 +02:00
Updated readme.md
This commit is contained in:
21
README.md
21
README.md
@@ -1 +1,22 @@
|
|||||||
# cuda-based-raytrace
|
# cuda-based-raytrace
|
||||||
|
|
||||||
|
## How to run
|
||||||
|
If necessary clean previous build:
|
||||||
|
```bash
|
||||||
|
make clean
|
||||||
|
```
|
||||||
|
|
||||||
|
Then build (currently always debug build):
|
||||||
|
```bash
|
||||||
|
make all
|
||||||
|
```
|
||||||
|
|
||||||
|
Run:
|
||||||
|
```bash
|
||||||
|
./build/main
|
||||||
|
```
|
||||||
|
|
||||||
|
To open the resulting image you can use (Ubuntu):
|
||||||
|
```bash
|
||||||
|
xdg-open output.ppm
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user