Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use pseudocode to describe the DDA algorithm for scan converting of line whose slope is between -45 o and 45 o . Hence Compute which

Use pseudo–code to describe the DDA algorithm for scan converting of line whose slope is between -45o and 45o. Hence Compute which pixels should be turned on to represent the line from (6, 9) to (11, 12).      

  • Given,     

    Find:

    • The dot product of vectors a, b, and c
    • The vector cross product of vectors, , and. Illustrate your answer with a suitable diagram.                                  
  • Find the angle between vector a and b                     

    Use pseudo–code to describe the DDA algorithm for scan converting of the line whose slope is between -45o and 45o. Hence Compute which pixels should be turned on to represent the line from (6, 9) to (11, 12).

    Perform Sutherland Hodgeman clipping on each of the figures below to the rectangular clip region shown dashed. Show the intermediate results after clipping with the top edge, the results after clipping with the top and right edges, the results after the top, right and bottom edges, and the final results. (You should show 8 figures in all.).                                                       

    Consider  a pentagon with the following coordinates A(0,0), B(4,0), C(6,4), D(4,6), and E(0,4).

    • Sketch the pentagon ABCDE on a 2-D coordinate system.
    • Translate the pentagon by the vector. Sketch the resulting image on the same axes as in 3(i). Call the image pentagon.

    • Rotate the pentagon ABCDE about the origin through an angle of 45 degrees clockwise sketch the resulting image on the same axes as in 3(i) Call the image pentagon A2B2C2D2E2                                                    
    • Shear the pentagon ABCDE along the x-axis by a factor of 2. Sketch the resulting image on the same axes.
  • The matrix defines a transformation called a simultaneous shearing of shearing. The special case when b = 0 is called shearing in the x-direction when a = 0 we have shearing in the y-direction. Illustrate the effect of these shearing transformation on the square A(0,0), B(2,0), C(2,2) and D(0,2) when a = 3 and b = 4

Step by Step Solution

3.42 Rating (155 Votes )

There are 3 Steps involved in it

Step: 1

DDA algorithm is Digital Differential Analyzer algorithm In this algor... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Algebra and Trigonometry

Authors: Ron Larson

10th edition

9781337514255, 1337271179, 133751425X, 978-1337271172

More Books

Students also viewed these Computer Network questions