Deadline: Oct. 10th, 11:59pm (2016)

Your tasks in this assignment are listed below

  1. Setup your programming environment and compile the provided code
  2. Create a random tetrahedron in obj file format
    • You will need 4 vertices and therefore 12 numbers
    • Use http://www.random.org/integers/ to generate these numbers between 10 and 100
    • Use the provided code to render your tetrahedron
    • Keep trying different numbers until your tetrahedron has a positive volume
  3. Create a 3D head model using https://recap360.autodesk.com/ (it can be your own head, your friend's head, etc, but it needs to be a head).

What and How to submit

  • Submit two pictures of you, one with your tetrahedron and one with your 3D head, on Blackboard
  • Your face should show up next to the tetrahedron/head rendering.

How to set up your programming environment for OpenGL on Windows

Things that you need for this assignment should be inside obj-viewer\lib and obj-viewer\GL However,

Here is another link with very detailed instruction that can help you step up your programming environment: http://web.eecs.umich.edu/~sugih/courses/eecs487/glut-howto/#win


How to set up your programming environment for OpenGL on Linux

From a terminal, follow the commands below

  1. sudo apt-get update
  2. sudo apt-get install build-essential
  3. sudo apt-get install freeglut3-dev
  4. make (in obj-viewer directory)

You might want to setup an IDE for your future assignments.

  • If you would like to use Eclipse, you can install eclipse by saying
sudo apt-get install eclipse eclipse-cdt
  • Then the easiest way is to use the provided makefile in eclipse by creating a makefile (empty) project

How to set up your programming environment for OpenGL on Mac OSX

OpenGL and GLUT come with the system. Ideally, you should be able to compile the code by just typing

  • make (in obj-viewer directory)

However, you might want to setup an IDE for your future assignments.

  • If you would like to use Eclipse, then the easiest way is to use the make file in eclipse by creating a makefile project