Skip to main content

Define window and viewport

Short answer

A window is a rectangular area in world coordinates that selects the portion of the scene to display; a viewport is the rectangular area on the display device where the window content appears. The window-to-viewport transformation maps the window onto the viewport.

Define window and view port.

Window: a rectangular area in the world coordinate system that selects which part of the scene is to be displayed.

Viewport: a rectangular area on the display device (screen, in device or normalised coordinates) in which the contents of the window are shown. The window-to-viewport transformation maps the window onto the viewport.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Computer Graphics chapter 3 questions →