CMSC 381 -- Lab 4

Lab 4

Getting Started

Log onto a computer science server making sure to change the port number.

Follow these instructions to get your files ready to start lab.
  • Use wget to download the file at
  • Uncompress the raydiate.tgz file by using tar -xvzf raydiate.tgz

The Problem

We have been exploring shading and rendering.


You have been given a directory of source code dealing with a raytracer.

  • READ the source code. (Where are things located? Ask questions when you don't know)
  • Fix any bugs you find.(i think there are at least two bugs)
  • Build a scene to ray trace. (use boxes, planes, cows ...)
  • Implement anti-alaising
  • Implement fresnel
  • Implement refraction
  • Please ask questions!


If you have changed file names or directory names you will need to change to the directory which contains the directory you wish to hand in. We will use the handin cmsc381 assignment directory command. In this case you will type: handin cmsc381 lab4 your_directory_name

You lab is due at 11:59pm Apr. 30th 2019.