Skip to content

Shybert/irt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

irt

Ray-tracer written in Rust for learning and playing around with computer graphics. Based on the Ray Tracing in One Weekend series of books.

Example scenes

Basic scene

Quads with texture rendering and Perlin noise

Cornell box

Usage

Render a scene with cargo run --release. The scene is written to disk as the image file image.ppm.

Development

Requirements

  • Rust
  • Asset files placed in an assets/ folder. These are not provided.

Instructions

  • Clone the repository
  • Render a scene with cargo run --release. Scenes can be chosen in ./src/main.rs.

License

Licensed under the GPL-3.0 license.

About

Ray-tracer written in Rust for learning and playing around with computer graphics.

Resources

License

Stars

Watchers

Forks

Languages