Modify the dda algorithm for negative sloped lines, Computer Graphics

1. Modify the DDA algorithm for negative sloped lines; discuss both the cases i.e., slope > 1 and 0 < slope < 1.

28_Modify the DDA algorithm for negative sloped lines.png

 

Ans. For the generation of lines along with negative slopes as:

 Slope < 1: successively raise y and respectively reduces x

Slope > 1: successively raise x and respectively reduces y

Aliter: This hint will use further.

As the shown above figure say L1 and L2 are lines along with -ive slope along with a magnitude of <1 and >1 respectively. So for the generation of that line, you may take reflection of the line regarding the concerned axis and obey the general algorithm of line generation. So then you may inverse reflection the transformation and this will offer you the line generation of -ive slope.

Posted Date: 4/3/2013 2:12:44 AM | Location : United States







Related Discussions:- Modify the dda algorithm for negative sloped lines, Assignment Help, Ask Question on Modify the dda algorithm for negative sloped lines, Get Answer, Expert's Help, Modify the dda algorithm for negative sloped lines Discussions

Write discussion on Modify the dda algorithm for negative sloped lines
Your posts are moderated
Related Questions
mcqs of illustration in nts test

Relation between polar coordinate system and Cartesian system A frequently utilized non-cartesian system is Polar coordinate system. The subsequent figure A demonstrates a pol


What is Transformation?  Transformation is the process of introducing changes in the shape size and orientation of the object using scaling rotation reflection shearing & trans

What are the uses of homogeneous coordinates? Convert translation rotation and scaling in homogeneous coordinates. In mathematics homogeneous coordinates introduced by August

Construction of a Solid with a Translational Sweep Figure demonstrates construction of a solid along with a translational sweep. Translating the control points of the periodic

Light Sources - polygon rendering and ray tracing methods Light Sources are key parts in any ray traced scene, since without them; there would be no rays to trace. Light sour

Normal 0 false false false EN-IN X-NONE X-NONE MicrosoftInternetExplorer4

Question : (a) List and describe important aspects to take into consideration when looking at paper for print. (b) Describe clearly the meaning of the following words: I.

a__________of a scene is apart of a scene by which relate one part of the scene with the other parts of the scene