This repository has been archived by the owner on Nov 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
48 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -710,5 +710,7 @@ MigrationBackup/ | |
toy | ||
renders | ||
*.png | ||
!screenshots/*.png | ||
render.png | ||
build.ninja | ||
build.ninja | ||
TODO.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# rays | ||
|
||
### Ray's Ray Tracer - A (Forever In-progress) Monte Carlo Path Tracing Renderer | ||
|
||
**2019/08/08** - Project still needs a lot of work and I haven't worked on it in a while, but I need to open-source this repo for reasons. | ||
|
||
## Features | ||
- **Currently:** 3.2 million rays/second | ||
- Multi-threaded tile-based rendering | ||
- Bounding Volume Hierarchy (BVH) as an acceleration structure | ||
- Procedural texturing | ||
- Wavefront OBJ file parsing and rendering | ||
- Lambertian BRDF | ||
- Stratified sampling | ||
- Math (vectors, matrices), high-resolution timing, memory arena allocator and more via [raywan/rw](https://github.com/raywan/rw) | ||
|
||
## Screenshot | ||
|
||
- Suzanne and 3 Spheres (2048spp, max depth of 3) | ||
|
||
 | ||
|
||
## Building | ||
|
||
This project supports Windows, Mac and Linux and uses [Ninja](https://ninja-build.org) for building. There's also a `build.bat` file for Windows. | ||
|
||
``` | ||
python configure.py | ||
ninja | ||
``` | ||
|
||
## Dependencies | ||
|
||
- [raywan/rw](https://github.com/raywan/rw) - everything | ||
- [nothings/stb](https://github.com/nothings/stb) - stb_image_writer.h | ||
|
||
## Resources | ||
|
||
- [PBRT](http://www.pbr-book.org/) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters