Homeworks

Homework 7 (Due on 5 Dec)

PDF | Solutions | Splines of solution

FAQ:

Homework 6 (Due on 7 Nov. 2pm)

PDF | Framework (v.3) | Test Images | Solution

Setting up & Running the framework

  1. Extract the framework ZIP file into a project root folder, so it's laid out as follows:
       <project root>
            dlls/
            jars/
            resampler/
    
  2. Create the project in Eclipse: File -> New -> Java Project -> Choose "Create project from existing source" and set "Directory" to <project root>. Name it something, such as "resampler"
  3. Right click on the project in the package explorer -> Build Path -> Configure Build Path… -> Java Build Path -> Libraries -> Add JARs… -> expand your project, expand "jars", highlight all three, and click OK. The three JARs might have already been added to the Build Path so probably you don't need this step.
  4. Make a Run configuration for MainFrame
  5. Under the Run... menu, go to the Arguments tab.
  6. In the VM Arguments pane, put the following:
       -Djava.library.path=./dlls/
    
    This tells java how to find the JOGL (Java OpenGL, pronounced "joggle") dlls it needs to run the program. If you are running under Linux or MacOS, you might need to download the library from JOGL's website and put files under appropriate library.

Screenshots:

FAQ:

Homework 5 (Due on 17 Oct)

PDF (v.2) | Solutions | Rasterizer MATLAB script

FAQ:

Homework 4 (Due on 26 Sep)

PDF (v.2) | Solutions

FAQ:

Homework 3 (Due on 19 Sep)

PDF | Solutions

FAQ:

Homework 2 (Due on 12 Sep)

PDF (v.2) | Solutions

FAQ:

Homework 1 (Due on 4 Sep)

PDF | Solutions | Gamma Correction Applet | Gamma.java (In case the applet does not work)

FAQ: