Skip to content

Rendman/rust_rt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raytracer in rust

https://raytracing.github.io/books/RayTracingInOneWeekend.html

cam.image_width = 1200; cam.samples_per_pixel = 500; cam.max_depth = 50;

I1.0: 6344 secs (105.7 mins) I1.1: 6264 secs I1.2: 6496 secs

Iteration 2: The Hittable implementation for Sphere uses .clone() on the Material field in the HitRecord. Does this deep copy cause a performance issue? Refactoring to eliminate the clone and just pass references to the original material.

I2.0: 6600 secs, lol

Iteration 3: Replace homemade Vec3 implementation with the nalgebra version.

I3.0: 5841 secs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages