Slim raytracer
I started this raytracer when I was an undergrad and have slowly developed it over the years. It is designed to be simple, flexible, and fast. I use it for experimenting with graphic techniques.
Instructions
Click and drag to rotate the camera. Use the mouse wheel to zoom in and out. Press ~ or ` to bring up the console. See below for example commands.
command | action |
? | show help |
engine frameless | switch to the frameless renderer |
add_post convolve 3,3,{0,-1,0,-1,4,-1,0,-1,0} | add post-process edge detect |
set_all_shaders normal | shade all objects based on their normal vectors |
load ../test.obj | add the model in ../text.obj to the scene |
Downloads
source code for reference only, not licensed for redistribution.
mac OS X binary
win32 binary
The binaries include a ducky model by Gilles Tran.
Pics
2009-09-26
2008-10-28
2006-11-01
2004-12-05