The starter code that we will be using this quarter is below.

  • fieldViewer - the main code we will be using
  • fieldViewerMatrix - a version of the main code with linear algebra support
  • fieldViewerStripped - a stripped version of fieldViewer with no image IO or movie support. This is made available for build debugging purposes only.
  • fieldViewerFFT - a version of fieldViewer with support for the Fast Fourier Transform (FFT).
  • colorFieldViewer - a version of fieldViewer that supports RGB colors.
  • particleFieldViewer - a version of colorfieldViewer that also draws particles.
  • soundStarter - a version of fieldViewerMatrix with sound support.

If you need an Xcode project, slightly older versions are also available:

The above starter code requires that the libpng, libjpeg, and FFTW-3 libraries are installed.

David Adams, the 2012 TA, wrote up a document describing how to install the necessary libraries and build the code here.

We have had luck with MacPorts, but you are welcome to use Fink or Homebrew as well.

If you are building from XCode and not the command line, I strongly recommend installed a "command line here" utility such as OpenTerminalHere. Otherwise when you read and write files, you may have no idea where XCode is putting things.

If you are having trouble playing the output QuickTime files, try the VLC player or QuickTime 7. QuickTime 10 is known to have trouble playing the movie files. Use a different player.

Joseph Tilbian put together a version of fieldViewer that runs on Ubuntu 11.04. You can get it here. This is only here for your convenience, and is not officially supported by the class.