From 8d29c1c8ca2bda77d9ef5e971986de62b76b7232 Mon Sep 17 00:00:00 2001 From: lamp Date: Sun, 5 Mar 2023 21:39:53 +0000 Subject: init --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..60d7f74 --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +# realtime-raytracing-demo + +A hardware-accelerated (via OpenGL) realtime raytracer written in C/GLSL. +Move with W/A/S/D and the mouse. +Supports spheres as a shape primitive and three materials: An ideal lambertian diffuse, metal (with adjustable diffuse), and dielectric (glass-like). + +## building + +GLFW requires X11 development headers to build. Should build on other platforms too, but I haven't tested it. + +``` +mkdir build +cd build +cmake .. && make && ./realtime-raytracing-demo +``` \ No newline at end of file -- cgit v1.2.3