Computer Graphics Course Project: Image rendering with Ray Tracing.
- Compile with Makefile
- Run with following arguments:
./main [-n <round>] [-d <x> <y>] [-p] [-na]
[-i <input>] [-c <input>] [-o <output>] [-b <output>]
-n specifies the number of iterations.
-d uses debug mode, which only renders one pixel specified by <x> <y>.
-p uses preview mode, which only renders the outline of objects.
-na uses naive ray tracing. Without this argument, path tracing (also called Monte-Carlo ray tracing) is used.
-i specifies input file (in xml format, see files in 'input/' for example).
-c means continue rendering based on the given image (must be text format).
-o output as text format at the given location.
-b output as bmp format at the given location.
- Path Tracing
- Different fields of view (see example below)
- Texture Mapping
- Fast Triangle Intersection Check with KD-Tree
- Soft Shadows
- Vertex Normal Interpolation
- Multi-threaded Rendering