0% found this document useful (0 votes)
19 views

Computer Graphics Unit 3 Part1 Manjula S

The document discusses computer graphics clipping and different clipping types. It describes how clipping works by only displaying parts of an image inside a clipping window and mapping objects inside the clipping window to a viewport. It also discusses the Sutherland–Hodgman algorithm for polygon clipping.

Uploaded by

Anuja Namratha
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

Computer Graphics Unit 3 Part1 Manjula S

The document discusses computer graphics clipping and different clipping types. It describes how clipping works by only displaying parts of an image inside a clipping window and mapping objects inside the clipping window to a viewport. It also discusses the Sutherland–Hodgman algorithm for polygon clipping.

Uploaded by

Anuja Namratha
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

Unit 3 – Part 1

-By Manjula. S

-By Manjula. S
 The portion left outside the region of the
window in Computer Graphics is called the
Clipped Part.
 The process of display inside image of the
window is called Clipping.
 The only part of the scene that shows up on
the screen is what is inside the clipping
window.
 Sometimes the clipping window is
suggested to as the world window or the
viewing window.

-By Manjula. S
-By Manjula. S
 Graphics packages allow us also to control the
placement within the display window using
another “window” called the viewport.
 Objects inside the clipping window are mapped
to the viewport, and it is the viewport that is
then positioned within the display window.
 clipping window selects what we want to see;
the viewport indicates where it is to be viewed
on the output device.
 By changing the position of a viewport, we can
view objects at different positions on the
display area of an output device.

-By Manjula. S
 The mapping of a two-dimensional, world-coordinate scene
description to device coordinates is called a two-dimensional
viewing transformation.
 This transformation is simply referred to as the window-to-
viewport transformation or the windowing transformation.
 In analogy with three-dimensional viewing, we can describe
the steps for two-dimensional viewing as indicated in Figure
2.

-By Manjula. S
Clipping Types:
 Point Clipping
 Line Clipping
 Polygon Clipping(Fill area Clipping)
 Curve Clipping
 Text Clipping

-By Manjula. S
-By Manjula. S
-By Manjula. S
-By Manjula. S
-By Manjula. S
-By Manjula. S
Sutherland-Hodgman Polygon :
Clipping of polygon is done starting
from Lift Clipper,Right Clipper, Bottom Clipper
and Top Clipper. At each step, a new sequence
of output vertices is generated and passed to
the next window boundary clipper.

-By Manjula. S
-By Manjula. S
-By Manjula. S
-By Manjula. S
-By Manjula. S

You might also like