encyclopegia.org

Viewport

A viewport is a polygon viewing region in computer graphics.[src] In computer graphics theory, there are two region-like notions of relevance when rendering some objects to an image.[src] In textbook terminology, the world coordinate window is the area of interest (meaning what the user wants to visualize) in some application-specific coordinates, e.g.[src] miles, centimeters etc.[src] The word window as used here should not be confused with the GUI window, i.e.[src] the notion used in window managers.[src] Rather it is an analogy with how a window limits what one can see outside a room.[src] In contrast, the viewport is an area (typically rectangular) expressed in rendering-device-specific coordinates, e.g.[src] pixels for screen coordinates, in which the objects of interest are going to be rendered.[src] Clipping to the world-coordinates window is usually applied to the objects before they are passed through the window-to-viewport transformation.[src] For a 2D object, the latter transformation is simply a combination of translation and scaling, the latter not necessarily uniform.[src] An analogy of this transformation process based on traditional photography notions is to equate the world-clipping window with the camera settings and the variously sized prints that can be obtained from the resulting film image as possible viewports.…[src]

A viewport is a polygon viewing region in computer graphics.[src] In computer graphics theory, there are two region-like notions of relevance when rendering some objects to an image.[src] In textbook terminology, the world coordinate window is the area of interest (meaning what the user wants to visualize) in some application-specific coordinates, e.g.[src] miles, centimeters etc.[src] The word window as used here should not be confused with the GUI window, i.e.[src] the notion used in window managers.[src] Rather it is an analogy with how a window limits what one can see outside a room.[src] In contrast, the viewport is an area (typically rectangular) expressed in rendering-device-specific coordinates, e.g.[src] pixels for screen coordinates, in which the objects of interest are going to be rendered.[src] Clipping to the world-coordinates window is usually applied to the objects before they are passed through the window-to-viewport transformation.[src] For a 2D object, the latter transformation is simply a combination of translation and scaling, the latter not necessarily uniform.[src] An analogy of this transformation process based on traditional photography notions is to equate the world-clipping window with the camera settings and the variously sized prints that can be obtained from the resulting film image as possible viewports.[src] Because the physical-device-based coordinates may not be portable from one device to another, a software abstraction layer known as normalized device coordinates is typically introduced for expressing viewports; it appears for example in the Graphical Kernel System (GKS) and later systems inspired from it.[src] In 3D computer graphics, the viewport refers to the 2D rectangle used to project the 3D scene to the position of a virtual camera.[src] A viewport is a region of the screen used to display a portion of the total image to be shown.[src] In virtual desktops, the viewport is the visible portion of a 2D area which is larger than the visualization device.[src] When viewing a document in a web browser, the viewport is the region of the browser window which contains the visible portion of the document.[src] If the size of the viewport changes, for example as a result of the user resizing the browser window, then the browser may reflow the document (recalculate the locations and sizes of elements of the document).[src] If the document is larger than the viewport, the user can control the portion of the document which is visible by scrolling in the viewport.[src] ==See also== Image plane Angle of view ==References==[src]

32 sentences · 32 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Viewport." encyclopegia.org, 2026, https://encyclopegia.org/wiki/viewport. Accessed 26 November 2026.

Chicago

"Viewport." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/viewport.

APA

encyclopegia.org. (2026). Viewport. Retrieved November 26, 2026, from https://encyclopegia.org/wiki/viewport

Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1359248130 · 0.5 · snapshot enwiki-001359248130

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.