Skip to content

Latest commit

 

History

24 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASCII Ray Tracing in Rust

A simple ray tracer inspired by the "Ray Tracing in one weeked" book, which display the rendered scene using ascii. The camera can be moved around inside the scene.

I had already written something similar in C++, but now im learning Rust and thought I could rewritte that project to learn more about the Rust programming language.

Table of Contents

  1. Installation
  2. Usage
  3. Configuration

Installation

Make sure you have Rust installed

git clone https://github.com/SlowlyCoding/ascii-ray-tracing-rust
cd ascii-ray-tracing-rust
cargo run

Usage

The camera can be moved around

W A S D - forwards, left, backwards, right

Q E - up, down

← → ↑ ↓ - tilt camera

+ - - adjust camera FOV

Esc - quit

Configuration

You can make your own scene and change some options by adjusting the scene on line 24 inside src/main.rs

About

Simple Ray Tracer written in Rust

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages