Methods for drawing thick lines, Computer Graphics

Describe any two methods for drawing thick lines.

Two method for drawing thick lines are: (1) Using the line- width command: "setline width scale factor (iw)" Line width parameter "iw" is assigned a positive number to indicate the relative width of the line to be displayed. A value of 1 specifies standard- width line. (2) For raster implementation, a standard width line is generated with single pixel at each sample position, as in the Bresenham algorithm. Other- width lines are displayed as positive integer multiples of the standard line by plotting additional pixel along adjacent parallel line paths. For lines with slope  magnitude less than 1, the line drawing routine can be modified to display thick lines by plotting a vertical span of pixels at each x position along the line. The number of pixel in each span is sat equal to the integer magnitude of parameter 1w. As shown in figure below a double width line is plotted by generating a parallel line above the original line path. For lines with slope magnitude greater then 1, thick lines can be plotted with horizontal spans, alternately picking up pixels to the right and left of the line path.

Posted Date: 7/1/2012 6:42:55 AM | Location : United States







Related Discussions:- Methods for drawing thick lines, Assignment Help, Ask Question on Methods for drawing thick lines, Get Answer, Expert's Help, Methods for drawing thick lines Discussions

Write discussion on Methods for drawing thick lines
Your posts are moderated
Related Questions
Assume here are three polygon surfaces P,Q, R along with vertices specified by as: P: P1(1,1,1), P2(4,5,2), P3(5,2,5) And as Q: Q1(2,2,0.5), Q2(3,3,1.75), Q3(6,1,0.5) R: R1(0.5,

List of 3-D Animation Software Here is a short list of several 3-D animation software are - Softimage ( Microsoft) -  Alias/Wavefront ( SGI) -  3D studia MAX (Autodesk

Points and Lines - Graphic primitives In the previous section, we have seen to draw primitive objects; one has to firstly scan convert the objects. This concern to the operat

QUESTION (a) What are the main purposes of using master pages? (b) How do you select a master page item on a document page? (c) How do you resize a graphics frame and its

Bresenham Line Generation Algorithm for Positive Slope (BLD algorithm for positive slope (0 - If slope is negative then utilize reflection transformation to transform the

Put the system of a geometric data table for a 3d rectangle. Solution : Vertex Table Edge Table Polygon Surface Table

Question: a) The implications of transparency are a major influence on the design of system software. There are eight forms of transparency. Name and give a small description o

What do you mean by Perspective projection?  Perspective projection is one in which the lines of projection are not parallel. Instead, they all converge at a single point known

Various cases of Cohen Sutherland Line Clippings Currently, we study how this clipping algorithm works. For the sake of simplicity we will tackle all the cases with the assist

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