CS3388 ASSIGNMENT 2

CS3388 ASSIGNMENT 2


Due date: Friday February 15th 2019, at 11:00pm
Weight: 10% of final mark

This assignment consists of the design and implementation of a program that allows a user to create and render 3D wiremesh objects defined with parametric functions. Your program will display spheres and tori with the use of Bresenham's algorithm for 2D line segments, the synthetic camera, and the parametric functions for the sphere and the torus. Your program will perform the following:

To assist you in this assignment, you are given a program that sets up the camera matrix. The camera matrix program requires matrix code found in matrix.h. Use your own implementation of Bresenham's line to trace the wiremesh objects.

Before submitting your assignment, please refer to the assignment marking scheme and submission guidelines.