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

Computer Graphics

Uploaded by

Robel Amare
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

Computer Graphics

Uploaded by

Robel Amare
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Introduction

When we have to display a large portion of the picture, then not only scaling &
translation is necessary, the visible part of picture is also identified. This process is not
easy. Certain parts of the image are inside, while others are partially inside. The lines or
elements which are partially visible will be omitted.

For deciding the visible and invisible portion, a particular process called clipping is used.
Clipping determines each element into the visible and invisible portion. Visible portion is
selected. An invisible portion is discarded.

In the context of computer graphics clipping is a method to selectively enable or disable


rendering operations within a defined range of interest. Mathematically, clipping can be
described with the terminology of constructive geometry. A rendering algorithm draws only
pixels at the intersection between the clip area and the scene model (for example 3D
configurator). Lines and areas outside the visible volume (frustum) are removed.

Types of Lines:
Lines are of three types:

1. Visible: A line or lines entirely inside the window is considered visible


2. Invisible: A line entirely outside the window is considered invisible
3. Clipped: A line partially inside the window and partially outside is clipped. For
clipping point of intersection of a line with the window is determined.
Clipping can be applied through hardware as well as software. In some computers, hardware
devices automatically do work of clipping. In a system where hardware clipping is not available
software clipping applied.
Following figure show before and after clipping

Applications of clipping:
1. It will extract part we desire.
2. For identifying the visible and invisible area in the 3D object.
3. For creating objects using solid modeling.
4. For drawing operations.
5. Operations related to the pointing of an object.
6. For deleting, copying, moving part of an object.

Types of Clipping:
1. Point Clipping
2. Line Clipping
3. Area Clipping (Polygon)
4. Curve Clipping
5. Text Clipping
6. Exterior Clipping

You might also like