Montana Tech of The University of Montana
Computer Science & Software Engineering

CSCI 441
Computer Graphics
Spring 2018



ASSIGNMENT 4

The goal of this assignment is to familiarize yourself with defining objects and using the matrix stack.

Two of the example programs from the textbook will help you here. The first one is about defining multiple models, and the second one is the one about using a matrix stack. These are associated with the lectures on Fri. 2/2 and Mon. 2/5, and you can download the code from there. For this assignment, you are to define a new simple object and then get it to rotate around the "sun" in the matrix stack example. I would suggest that you get the un-animated object to display in the multiple models code first, before attempting to add it to the matrix stack code. However, you only need to turn in the final code and your shaders. This assignment is similar to exercises 4.1 and 4.3 at the end of the chapter in your text.


Submit your java source code and GLSL files to the Moodle dropbox for assignment 4. If there are any special requirements for compiling and running your code (such as a specific directory structure), make sure that you specify this in the comments of your code.



Page last updated: February 01, 2018