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:
1 parent
e983b3e3a8
commit
3c7f4d22da
1 file changed
+21
@@ -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
|
||||||
|
```
|
||||||