Sebastian Sylvan's Rust ray-tracer
Latest commit 11d82e3 Dec 5, 2013 @brson Merge pull request #7 from Thiez/master
Updated code to work with newest version of the compiler, added a multitask-feature.
Failed to load latest commit information.
.gitignore ignore windows executables Apr 8, 2012
README.rst Updated stuff to work with newest incoming, changed the concurrency t… May 15, 2013
manifest.json Minor cleanup in aabb_check Jul 14, 2013
rustray.rc Removed some unnecessary allocations, renamed std->extra, core->std May 29, 2013



May 2013

A raytracing proof-of-concept in Rust


  • Rust-0.6 (incoming)


$ rustc rustray.rc

It's usually worth compiling with '--opt-level 3'.

Quality Settings

Now raytracing parameters are hard-coded in, just edit it and re-compile rustray again.


This might take some time even on the strong machine, so consider choosing more simple model or adjust quality settings.

$ wget
$ ./rustray cow-nonormals.obj
 Reading "cow-nonormals.obj"...
 Reading model file...Building kd-tree... Done.
 Loaded model.
         Verts: 4583, Tris: 25811
         KD-tree depth: 14, #nodes: 3341
 Tracing rays... using 4 tasks ... Done!
 Writing "./oput.ppm"...Done!
 Total time: 16.149s, of which tracing: 11.161