From 3c7f4d22da8abdd46fe7b6b77d7f5232d9911ed0 Mon Sep 17 00:00:00 2001 From: Martin Opat Date: Mon, 30 Dec 2024 12:12:16 +0100 Subject: [PATCH] Updated readme.md --- README.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 15c50f1..45b5a9e 100644 --- a/README.md +++ b/README.md @@ -1 +1,22 @@ -# cuda-based-raytrace \ No newline at end of file +# 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 +``` \ No newline at end of file