Skip to content

renpenguin/console-raytracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Console raytracer

This is a raytracer written in Rust for displaying raytraced images in the terminal with support for lighting, shadows, reflections and multi-threaded rendering.

  • Based on the book Computer Graphics from Scratch by Gabriel Gambetta.
  • The engine used for the canvas is gemini-engine by me - a monospaced 2d/3d rendering engine for the terminal, though for this project i only really used the 2D half of it

This project can also be added as a cargo package with cargo add --git https://github.com/, if you wanna put together your own scene.

The result looks like this: The render result

Yup, every single one of those pixels is a text character. The final result takes only ~30 milliseconds to render

About

An ASCII raytracer built from scratch

Topics

Resources

Stars

Watchers

Forks

Languages