CS 5620/6620 - Fall 2025 - Rendering with Ray Tracing
Project 8 - Antialiasing
In this project we add antialiasing support to our ray tracers.
Requirements
Implement antialiasing with multiple samples per pixel.
Render multiple images of one or more scenes using antialiasing with different parameters and compare results.
Implement adaptive antialiasing with a varying number of samples per pixel.
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 them and refrain from modifying 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.
rng.h: A random number generator class using the PCG algorithm, a function for generating Halton sequences, and a class for storing pre-computed Halton sequnces.
renderer.h: Includes modifications to the RenderImage class for storing sample count per pixel and ShadeInfo for managing the shaded pixel sample index.
viewport.cpp: Includes new features for displaying the sample count image.
You can check out the Halton Sequence Demo page to see what Halton sequences look like with different bases.
Optional Feature Suggestions
Implement reconstruction filtering.
References
[Amanatides 1984]
John Amanatides. 1984. Ray tracing with cones. In Proceedings of the 11th annual conference on Computer graphics and interactive techniques (SIGGRAPH '84), Hank Christiansen (Ed.). ACM, New York, NY, USA, 129-135.
[Dippé and Wold 1985]
Mark A. Z. Dippé and Erling Henry Wold. 1985. Antialiasing through stochastic sampling. In Proceedings of the 12th annual conference on Computer graphics and interactive techniques (SIGGRAPH '85). ACM, New York, NY, USA, 69-78.
[Kajiya 1986]
James T. Kajiya. 1986. The rendering equation. In Proceedings of the 13th annual conference on Computer graphics and interactive techniques (SIGGRAPH '86), David C. Evans and Russell J. Athay (Eds.). ACM, New York, NY, USA, 143-150.
[Mitchell and Netravali 1988]
Don P. Mitchell and Arun N. Netravali. 1988. Reconstruction filters in computer-graphics. In Proceedings of the 15th annual conference on Computer graphics and interactive techniques (SIGGRAPH '88), Richard J. Beach (Ed.). ACM, New York, NY, USA, 221-228.
[Painter and Sloan 1989]
J. Painter and K. Sloan. 1989. Antialiased ray tracing by adaptive progressive refinement. In Proceedings of the 16th annual conference on Computer graphics and interactive techniques (SIGGRAPH '89). ACM, New York, NY, USA, 281-288.