Point clipping - 2-d viewing and clipping, Computer Graphics

Assignment Help:

Point clipping - 2-d viewing and clipping

Point clipping is the method related to suitable display of points in the scene, though this type of clipping is utilized less frequently in comparison to the other types, that is, line and polygon clipping. Although, in several situations, for example: the scenes that involve particle movements as explosion, dust and so on, this is quite helpful. For the sake of simplicity, suppose that the clip window is rectangular in shape. Consequently, the minimum and maximum coordinate value, that is, (Xwmax, Ywmax) and (Xwmin, Ywmin) are sufficient to identify window size and any point (X,Y), that can be displayed or shown should satisfy the subsequent inequalities. Or else, the point will not be visible. Hence, the point will be clipped or not can be determined on the basis of subsequent inequalities.

   Ywmax

≤ X ≤ Xw Xwmin  max

≤ Y ≤ Yw Ywmin  max

     Ywmin 

Xw      Xw min max

Figure: Point Clipping

This is to be noticed that (Xwmax, Ywmax) and (Xwmin, Ywmin) can be either world coordinate window boundary or viewport boundary. Additionally, if any one of these four inequalities is not satisfied then the point is clipped that is not saved for display.


Related Discussions:- Point clipping - 2-d viewing and clipping

Basic tests - producing polygon surface, Basic Tests - Producing Polygon Su...

Basic Tests - Producing Polygon Surface A few basic tests that must be performed before producing a polygon surface through any graphic package as: 1) All vertexes are list

Introduction of curves and surfaces, Introduction of Curves and Surfaces ...

Introduction of Curves and Surfaces This section has covered the methods of generating polygons, closed and curves surfaces. Under those methods we have discussed different ty

Xy-shear about the origin - 2-d and 3-d transformations, xy-Shear about the...

xy-Shear about the Origin - 2-d and 3-d transformations Suppose an object point P(x,y) be moved to P'(x',y') as a outcome of shear transformation in both x- and y-directions a

What are spot colours, Question 1: Name at least four file formats an...

Question 1: Name at least four file formats and explain in detail what they mean and how they are use? Question 2: What are "Process Colours"? Answer in a single para

What is a model sheet?, Question 1 Briefly explain the twelve principles o...

Question 1 Briefly explain the twelve principles of animation Question 2 Explain the methods to set-up pre and post-infinity curves Question 3 What is a model sheet? Exp

Picture information - raster graphics and clipping, Picture Information - ...

Picture Information - Raster Graphics and  Clipping Now, the picture information is accumulated in the form of bit plans on which all bit plane complete information of pictur

Bresenham line generation algorithm, Bresenham Line Generation Algorithm ...

Bresenham Line Generation Algorithm This algorithm is exact and efficient raster line generation algorithm. Such algorithm scan converts lines utilizing only incremental integ

Scan line algorithm and seed fill algorithm, Scan line algorithm and seed f...

Scan line algorithm and seed fill algorithm Two basic approaches are followed in area filling on raster systems.  In the first approach overlap intervals for scan lines that cr

Implement cohen sutherland and liang barsky algorithm, Implement Cohen Suth...

Implement Cohen Sutherland and Liang Barsky line clipping algorithms in C-language.  Test your code for line segments with end points falling in various regions.

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd