Skip to content

SirMorfield/miniRT_rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My first Rust project: a ray tracer

It's based on https://github.com/SirMorfield/miniRT in CPP.

This image was rendered by this code: dragon

Build and run

make build-run-release
# server
RUST_BACKTRACE=1 cargo run NetServer obj/teapot.obj output.bmp 127.0.0.1:6969

# client
RUST_BACKTRACE=1 cargo run NetClient obj/teapot.obj output.bmp 127.0.0.1:6969

while true; do RUST_BACKTRACE=1 cargo run NetClient obj/teapot.obj output.bmp 127.0.0.1:6969; sleep 2; done

About

From C to C++ to Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published