
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Due date: September 23rd^ , 11.59.59 pm
Delivery: A document containing:
Email to [email protected]
Problem: Your task is to derive a transformation matrix for transforming an axis-aligned box to the canonical viewing volume. An axis-aligned box has its sides parallel to planes defining the coordinate system.
Each vertex is represented as a 4-dimenstional vector in homogenous coordinates. The input is given as a cube with 6 vertices with coordinates given by 6 variables (near, far, right, left, top, bottom). Your matrix must transform these vertices to corresponding vertices of the canonical viewing volume.
You need to show how each one of the input vertices maps to the vertices of the canonical volume and present the matrix.
Hints:
x
y
z
(-1, -1, 1, 1) (right, bottom, near, 1)
(left, top, far, 1)