BIT304 · 2080 · 10 marks
Differentiate between parallel and perspective projection. Perform the rotation of triangle with vertices A(5,7), B(12,85) and C(5,3) counterclockwise 30 degree about the pivot point (5,3).
Differentiate between parallel and perspective projection. Perform the rotation of triangle with vertices A(5,7), B(12,85) and C(5,3) counterclockwise 30 degree about the pivot point (5,3).[10]
Model Answer: Parallel vs Perspective Projection and Triangle Rotation
Part 1: Parallel vs Perspective Projection
| Aspect | Parallel Projection | Perspective Projection |
|---|---|---|
| Projectors | Projection lines (projectors) are parallel to each other | Projectors converge to a single point (center of projection) |
| Center of projection | At infinity | At a finite distance |
| Vanishing point | None; parallel lines remain parallel | One or more vanishing points; parallel lines converge |
| Depth realism | Does not depict realistic depth; size independent of distance | Realistic depth; distant objects appear smaller (foreshortening) |
| Scale/proportion | True dimensions and proportions preserved | Scale varies with distance from viewpoint |
| Mathematics | Simpler (orthographic/oblique matrices, no division) | More complex; requires division by the depth coordinate |
| Applications | Engineering/technical drawings, CAD, blueprints | Realistic rendering, architecture, games, photography |
Part 2: Rotation of Triangle 30° CCW about Pivot (5,3)
Given data:
- Vertices: $A(5,7)$, $B(12,85)$, $C(5,3)$
- Angle: $\theta = 30^\circ$ counterclockwise
- Pivot: $P(p_x,p_y) = (5,3)$
Rotation about a pivot: $$x' = p_x + (x-p_x)\cos\theta - (y-p_y)\sin\theta$$ $$y' = p_y + (x-p_x)\sin\theta + (y-p_y)\cos\theta$$
Trig values: $\cos 30^\circ = 0.8660$, $\sin 30^\circ = 0.5$
Vertex A(5,7): $\Delta x = 0,\ \Delta y = 4$ $$x'_A = 5 + (0)(0.866) - (4)(0.5) = 5 - 2 = 3$$ $$y'_A = 3 + (0)(0.5) + (4)(0.866) = 3 + 3.464 = 6.464$$ $$A' = (3,\ 6.464)$$
Vertex B(12,85): $\Delta x = 7,\ \Delta y = 82$ $$x'_B = 5 + (7)(0.866) - (82)(0.5) = 5 + 6.062 - 41 = -29.938$$ $$y'_B = 3 + (7)(0.5) + (82)(0.866) = 3 + 3.5 + 71.012 = 77.512$$ $$B' = (-29.938,\ 77.512)$$
Vertex C(5,3): $\Delta x = 0,\ \Delta y = 0$ (this is the pivot) $$x'_C = 5 + 0 - 0 = 5,\quad y'_C = 3 + 0 + 0 = 3$$ $$C' = (5,\ 3)$$
Final Result:
- $A' \approx (3.00,\ 6.46)$
- $B' \approx (-29.94,\ 77.51)$
- $C' = (5,\ 3)$
(Note: vertex B(12,85) appears unusually large for a triangle, but the computation follows the given data exactly.)
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.