Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Objective

This basic path tracer project is allow me to learn the basic concepts of graphics programming as well as to learn basic Rust.

Getting Started

Install the latest version of Rust.

Rendering the path traced image

Use cargo run > image.ppm to render the path traced image.

Running tests

Note: Since this is just a demo project for me to learn how to write a path tracer and Rust, I have wrote a few tests, but it's not comprehensive as it could be.

To run tests, use cargo test.

Notes

Diffuse Materials

This basic path tracer implements diffuse material for the sphere. A diffuse material will absorb or reflect some light/rays in random directions. The final color is determined by its albedo (to be implemented), which is the fraction of light absorbed vs. the fraction reflected back into the scene.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages