Skip to content

Commit

Permalink
[readme]: CUDA status update!
Browse files Browse the repository at this point in the history
  • Loading branch information
cszach committed Dec 27, 2023
1 parent 1117c2e commit 384f35f
Show file tree
Hide file tree
Showing 3 changed files with 709,985 additions and 79,980 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[blog]: https://cszach.github.io/Raydiance/

This is hopefully will be my long-term ray tracing software project. I will keep
This hopefully will be my long-term ray tracing software project. I will keep
adding features to the ray tracer as I learn and discover ray tracing
techniques.

Expand All @@ -18,7 +18,8 @@ At the moment, I see two primary goals for this project:

## Current status

Ray collision with lambertian spheres is implemented.
Ray collision with lambertian spheres is implemented. Accelerated using CUDA,
super fast now! Render time went from 2 minutes to 2 seconds. 🏃

[![Current output image.](image.png)](image.ppm)

Expand All @@ -28,6 +29,10 @@ Requirements:

- CMake version 3.5+
- GCC (will add support for other compilers in the future)
- The CUDA Toolkit

> **Note**: Replace the CUDA include path in `CMakeLists.txt` with where
> `<curand_kernel.h>` is on your system.
```
cmake -B build .
Expand Down
Binary file modified image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 384f35f

Please sign in to comment.