A3 - CS 33400 Fall 2010 Voicu Popescu Due: Saturday...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
1 CS 33400 Fall 2010 Voicu Popescu Due: Saturday September 25 at 6:00am Assignment 3—Hello 3-D world In a nutshell Implement an interactive 3-D computer graphics application. Details 1. Planar pinhole camera class Constructor Rotations (pan, tilt, roll) Translations (left-right, up-down, front-back) Zooming (in and out, a.k.a. changing the focal length) Interpolation: given a second camera and a fractional number compute an intermediate camera by linear interpolation between the two cameras; Save to text file, load from text file; Visualization: draw the camera, given another camera and a framebuffer. 2. Triangle mesh class Stores an array of triangle vertices, an array of vertex colors, and an array of triangle connectivity data; Constructor: loading from file; Constructor: axis aligned box; Center: computes center of mass; Position: translates the mesh to a new center of mass; Scale: scales the mesh about its center of mass; Rotate: rotates mesh about arbitrary axis theta degrees;
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/27/2012 for the course CS 334 taught by Professor Staff during the Fall '08 term at Purdue University.

Page1 / 2

A3 - CS 33400 Fall 2010 Voicu Popescu Due: Saturday...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online