## Using our Project

# Quaternion - Just Fractal

We have two version of our Quaternion project that you can use. One is in the folder “just_fractal”, which only generates the fractal and applies all the shading techniques.

You can compile it with make. It requires a modern g++.

You can run the program like so

`./ray`

This would generate a fractal with default options

`./ray 100 512 4`

This would generate a 100 frame animation spinning around the fractal, the resolution will be 512x512, and the normals will be 16x super sampled

# Quaternion - Fractal Box

The other Quaternion version is in the folder “fractal_box”, which generates the fractal in the Cornell box.

You can run the program like so

`./ray`

This would generate a fractal with default options

`./ray 512 4`

This will generate a fractal with a resolution of 512x512 and 16x super samples

# 3D Fractal Flame

The 3D fractal flame generator is located in the “3D_fractal_flame” folder.

You can compile it with Visual Studio 2013 and ICC++. It will probably work with MSVC++, you might have to change some things though… If nothing works just run the supplied binary in

`FractalFlame3D_CPU\x64\Release`

You can run the program like so

`./FractalFlame3D_CPU`

This would generate a fractal with default options

`./FractalFlame3D_CPU 100 512 4`

This will generate a fractal animation of 100 frames with a resolution of 512x512 and 16x super samples