PadhaikoAll subjects

Past exam question: 2082 Kartik (Back), Q3(c)

Computer Graphics and Visualization · 5 marks

Open in the Padhaiko app

Topic: Parallel & Perspective Projection

Question

Why we need perspective projection in 3D environment? Explain transformation from world to viewing coordinates.

Solution

Need for Perspective Projection in 3D Graphics: While parallel projections preserve relative proportions and parallelism (useful for engineering blueprints and CAD), they look unnatural to human eyes. Perspective projection is essential in 3D environments because:

  1. Human Visual Realism: Human eyes and physical optical cameras operate via perspective geometry, where rays converge through a lens/pupil onto the retina/sensor.
  2. Perspective Foreshortening: Objects farther from the camera appear smaller than identical objects closer to the camera. This provides the primary visual depth cue.
  3. Vanishing Points: Parallel 3D lines that are not parallel to the projection plane converge to a single vanishing point (e.g. railroad tracks converging at the horizon), giving depth perception in architectural walkthroughs, games, and VR environments.

Viewing Coordinate Reference Frame Specification: The transformation from world coordinates to viewing (camera) coordinates maps all 3D scene geometry from a universal coordinate system into a coordinate system centered at the virtual camera. The camera is defined in world coordinates by:

Construction of Camera Unit Basis Vectors: From the camera parameters, an orthonormal right-handed viewing basis is constructed:

  1. View normal vector (): Vector along the camera viewing axis pointing backwards (opposite to the line of sight):
  1. Horizontal camera vector (): Perpendicular to both and , pointing to the camera's right:
  1. True camera up vector (): Perpendicular to both and :

Composite World-to-Viewing Transformation Matrix: Mapping world coordinates to viewing coordinates requires two operations:

  1. Translation: Translate camera position to the world coordinate origin:
  1. Rotation: Align the camera basis vectors with world axes :

Multiplying the two matrices yields the composite viewing transformation matrix :

Answer:
  1. Perspective projection is required in 3D graphics to deliver visual depth cues (foreshortening and vanishing points) consistent with natural human vision.
  2. The world-to-viewing transformation aligns the camera at position looking toward with orthonormal unit basis vectors via translation followed by rotation:

All past exam questions for Computer Graphics and Visualization