readme update
This commit is contained in:
parent
3d86c3cd1c
commit
615c14f3f1
22
README.md
22
README.md
|
|
@ -1,22 +1,12 @@
|
||||||
# cuda-based-raytrace
|
# cuda-based-raytrace
|
||||||
|
|
||||||
## How to run
|
## 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
|
```bash
|
||||||
make all
|
mkdir build
|
||||||
```
|
cd build
|
||||||
|
cmake ..
|
||||||
Run:
|
make
|
||||||
```bash
|
./cuda-raytracer
|
||||||
./build/main
|
|
||||||
```
|
|
||||||
|
|
||||||
To open the resulting image you can use (Ubuntu):
|
|
||||||
```bash
|
|
||||||
xdg-open output.ppm
|
|
||||||
```
|
```
|
||||||
Loading…
Reference in New Issue