Incremental Instant Radiosity
-----------------------------

See paper for details about the algorithm: http://www.tml.tkk.fi/~samuli/

Some of the keys:
  q - visualize some map
  w - visualize secondary lights
  e - visualize direct light
  r - visualize indirect light
  t - visualize voronoi
  y - visualize light path

Also arrows move camera and mouse with right button down changes
viewing direction.

The end of main.cpp will probably be most interesting if you just want
to play with the implementation.

This implementation includes codes from

 * Hannu Saransaari (most of it)
 * Samuli Laine (hacks and fixes)
 * Jussi Räsänen (VectorMatrix.h)
 * Esa Nuuros (Defs.h Timer.h, Vector.h?)
 * Janne Kontkanen (glutil.h?)

The code is a total mess, I'm sorry about that. We were in a huge hurry to
implement all the features that we needed for the paper. I cleaned it up a
bit but there's still a lot of ugliness. I hope it will still be useful. I
don't also give any promises that it will still be as efficient as in the
paper because there are some modifications (clean up and stuff). -Hannu

If you have questions about the implementation, contact
hsaransa (at) cc (dot) hut (dot) fi.

Required hardware and software
------------------------------

Microsoft Windows XP. (may also work on Linux)

Microsoft Visual Studio 8.

CGAL 3.2.1 - http://www.cgal.org/

GLEW - http://glew.sourceforge.net/install.html

GLUT - http://www.xmission.com/~nate/glut.html

NVIDIA GeForce 8800 GTX or GT is required.

A fast CPU also.