Viewing Transformations

Viewing transformation is the process of converting world-coordinate objects into a view-coordinate system so that they can be correctly displayed on the screen from the observer’s point of view.

1. Introduction

In computer graphics, objects are defined in a world coordinate system. Viewing transformations determine which part of the scene is visible and how it appears on the display.

2. Viewing Pipeline

The viewing pipeline is a sequence of steps that convert a 3D scene into a 2D image on the display device.

3. World Coordinate System

The world coordinate system defines the positions of all objects in the scene before viewing transformations are applied.

4. Viewing Coordinate System

The viewing coordinate system is defined with respect to the observer or camera. Objects are transformed from world coordinates to viewing coordinates.

5. View Window

The view window specifies the rectangular region in the viewing coordinate system that is selected for display.

6. Viewport

A viewport is the rectangular area on the display device where the contents of the view window are mapped.

7. Window-to-Viewport Transformation

This transformation maps points from the view window to corresponding positions in the viewport.

xv = xvmin + (xw − xwmin) × (xvmax − xvmin) / (xwmax − xwmin)
yv = yvmin + (yw − ywmin) × (yvmax − yvmin) / (ywmax − ywmin)

8. Importance of Viewing Transformations

9. Applications

Practice Questions

  1. What is viewing transformation?
  2. Explain the viewing pipeline.
  3. Differentiate view window and viewport.
  4. Why is window-to-viewport transformation needed?
  5. Where are viewing transformations used?

Practice Task

Explain with diagrams: ✔ World to viewing coordinate transformation ✔ View window and viewport mapping ✔ Viewing pipeline stages