Updated readme.md
This commit is contained in:
parent
e983b3e3a8
commit
3c7f4d22da
23
README.md
23
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
|
||||||
|
```
|
||||||
Loading…
Reference in New Issue