Skip to content

agniv-the-marker/learning-ray-tracing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ray Tracing in a Weekend

Uploading my old code from this course to motivate me to finish it. Please check out notes folder for a full picture of what's going on. TODO: write the notes for rust as well, since it has its own things.

Learning c++ and the basics of c made for a much smoother experience during this whole thing.

render

Rust

Rewriting it in rust. Please check out blog post. I also want to make sure my rust is up to speed. Advent of code is fun, but I like this more.

Extra

Use the following code to get the render within the tutorial directory:

g++ -o main main.cc
./main > image.ppm
python converter.py

For the rust version, use the following:

cargo run > image.ppm # don't run quietly
python converter.py

Also, copilot can generate tests if you want, but make sure to do cargo test as well! Linting game is strong.

About

Following https://raytracing.github.io/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published