vorce / graviton

A basic ray tracer written in C with SDL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

# Written in 2004, kept here for reference and historical reasons

Graviton
--------
A small, basic raytracer written in, I hope, clear and clean
C code.
The most 'interesting' bits are in ray.c I guess :-)
(No, don't expect anything revolutionary, it's just the standard
half assed ray-tracing code)

Controls:
Mouse movement controls x,y of light[0]
mouse wheel controlz light[0] z coordinate
(fine tune with arrow keys + pageup/down)

Would not exist without (many of these URLs does not exist anymore):
* http://www.libsdl.org
* http://www.cfxweb.net/~lyc/tomtrace.html
* http://www.cfxweb.net/~cfxamir/tutorials.html
* http://www.2tothex.com/raytracing/index.html
* http://polygone.flipcode.com/
* http://home.hccnet.nl/w.vdongen/Raytracer/History.html
* http://lycium.cfxweb.net/

About

A basic ray tracer written in C with SDL


Languages

Language:C 98.6%Language:Makefile 1.4%