https://github.com/esdmr/path-tracing
Experimenting with Path Tracing
https://github.com/esdmr/path-tracing
Last synced: 4 months ago
JSON representation
Experimenting with Path Tracing
- Host: GitHub
- URL: https://github.com/esdmr/path-tracing
- Owner: esdmr
- License: mit
- Created: 2024-07-26T15:34:11.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-01-29T16:09:14.000Z (5 months ago)
- Last Synced: 2025-01-29T17:23:27.631Z (5 months ago)
- Language: Rust
- Homepage:
- Size: 2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Path Tracing

Experimenting with Path Tracing in the ~~Rust~~ Crab programming language.
This repo is following the [Ray Tracing in One Weekend](https://raytracing.github.io/books/RayTracingInOneWeekend.html) tutorial. The original was written in C++, so this is an interpretation of it.
I recommend compiling in release profile to render faster. I also recommend PGO since even with multithreading, it is not very fast.
The output is in `PPM` format. It should be trivial to rewrite it to use `SDL` instead. Though, it is quite slow and definitely not real-time, so it seems pointless currently.