In this project we add antialiasing support to our ray tracers.
Requirements
Implement adaptive antialiasing with multiple samples per pixel.
Render multiple images of one or more scenes using antialiasing with different parameters and compare results.
Generate images that show the number of samples per pixel as pixel intensity, and report minimum and maximum number of samples per pixel.
Source Code
The following source code files are provided to help you with this and upcoming projects. You are not required to use them, but it is highly recommened that you use some of them. Some of these files include additional code as compared to the same files in the previous project, so make sure to download them all again.
scene.h: Includes the new Halton function and modifications to the RenderImage class for storing sample count per pixel.
viewport.cpp: OpenGL based preview and user interface launched by calling the ShowViewport() function based on the GLUT library (the Windows version is here).
You can check out the Halton Sequence Demo page to see what Halton sequences look like with different bases.