diff options
author | lamp | 2023-03-05 21:39:53 +0000 |
---|---|---|
committer | lamp | 2023-03-05 21:39:53 +0000 |
commit | 8d29c1c8ca2bda77d9ef5e971986de62b76b7232 (patch) | |
tree | f686993fa1dfeb14e9ff63ae8b5ac73c35ffe29a /README.md |
initmain
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 15 |
1 files changed, 15 insertions, 0 deletions
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 |