Open gl code for two-dimensional straight line


Q1. Write down the matrix of rotation of a point via an angle of 45o in the counter clock-wise direction. Examine its effect on the line joining A(2, 3) and B(7, 11).

Q2. Write down the open GL code which defines a two-dimensional straight line segment having co-ordinates (180, 15) and (10, 145).

Q3. Write down the transformation sequence for rotating an object regarding an axis which is parallel to the x-axis.

Q4. Write down the two basic characteristics of the fractal object? Illustrate the self-similar and self-affine fractals?

Q5. Describe the concept of vanishing points. What do you mean by principal vanishing point? Write down an illustration of one point perspective projection with the z-axis vanishing point.

Q6. How do we recognize that a given polygon is a concave polygon? Explain how we can split to a set of the convex polygons?

Q7. Obtain the matrix which represents two-dimensional scaling by factor Sx and Sy all along x and y-axis correspondingly.

Request for Solution File

Ask an Expert for Answer!!
Computer Graphics: Open gl code for two-dimensional straight line
Reference No:- TGS011002

Expected delivery within 24 Hours