Skip to content

round two of raytracer. gonna actually make something that looks sick instead of something that's realtime focused

Notifications You must be signed in to change notification settings

stephenjayakar/rustracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rustracer

Screenshot Table?
dragon specular
global illumination direct lighting importance
Direct lighting with hemisphere sampling Lambertian Sphere on top of plane

Not a racing program written in rust!

A raytracer that has reached the global illumination stage.

General inspiration was that I could no longer find the latest version of my CS-184 project.

setup

make sure you have rust :Z

Running with GUI

cargo run --release --features=gui -- --high-dpi

Mac OSX

brew install sdl2
cargo run

Windows

I got it to work by following the directions on the rust sdl2 bindings.

however, I got significantly lower performance on my system that is about 2x faster than my macbook.

plus the high-dpi system doesn't work the same as mac osx so things break.

let me know if you get it :)

dependencies

  • sdl2
  • rust

inspiration

  • cs-184 at Berkeley (carries some similar function names / formulas!)
  • scratchapixel
  • pbrt
  • my brain
  • my hopes and dreams

About

round two of raytracer. gonna actually make something that looks sick instead of something that's realtime focused

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published