mirror of
https://github.com/MartinOpat/cuda-based-raytrace.git
synced 2025-06-07 02:13:10 +02:00
readme update
This commit is contained in:
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 ..
|
||||||
|
make
|
||||||
|
./cuda-raytracer
|
||||||
```
|
```
|
||||||
|
|
||||||
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