C C++ Roff Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

About

A raytracer in C. It has shadows, reflections, lightning (phong model). You can build it with CSFML 2.0 or libPNG.

Usage

You could use included xcode project, or use a makefile located in raytracer directory. If you have CSFML 2.0 installed, then use make with_csfml, otherwise use make with_libpng (use apt-get or brew or whatever to get libpng). It has 3 hardcoded demos, you can edit scene.c to change them.

For instance:

./raytracer teapot

Have fun.

Screenshots

frist
second

License

The MIT License (MIT)