Claurissa Tuttle
Graphics 6620


Project 7.

Required images:


This first image is of the function (cos(500*pi(x^2+y^2))+1)/2 where x and y range from [-1, 1], using 1 sample per pixel and no filtering.

This second image is of the same thing as above, only 9 jittered samples per pixel and a triangle filter were used (a support of 2 is used).

This third image is using 9 jittered samples, a support of 2, and a ButterworthFilter.

The following three images are of the creative scene from my last project, but withe same filtering and sampling options as the images above respectively.
As you can see, this first image has jagged edges, which looks good on the interior of the wood, but not so good everywhere else.

The next two images have smooth edges, as well as a smoother look to the wood. The differences in the images are not very apparent.



Code listing:

Program 7 tarred

Design Choices:

It wasn't clear to me the best way to put the sampling and filtering into the architecture. For now, the sampling is taken care of in the main file. The filters all have their own classes, but aren't currently incorporated into the scene file. The filter used is specified in the main file as well. I chose to do this because I didn't have a clear understanding of sampling and filtering at first and I wanted to get something working without having to deal with the architecture. For the next project, I'm considering changing this.

Extra Credit:

None so far.