Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

matthewscottgordon/vanrijn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Development has moved to https://git.gordon.earth/matthew/vanrijn.

Vanrijn

This project is very much a work-in-progress and at this point.

Vanrijn is (or at least will be) a physically based ray tracer. Many thanks to the authors of the book "Physically Based Rendering: From Theory to Implementation from which many of the algorithms used here are taken. This is, however not a Rust port of the C++ PBRT rederer described in that book.

This crate is structured as a library; main.rs is just a glorified test harness which shows an example of using the library to render a scene. It uses SDL2 to display the rendered image.

On Ubuntu 19.04, if you have the libsdl2-dev package installed you should be able to run "cargo run" and see a window with a test scene rendered into it. In theory it should work on any platform with SDL2 installed but I've only tested it on Ubuntu Linux.

About

Ray tracer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages