3d Transformations Matrices and Equations

The major difference in 2d and 3d transformations is another dimension. 3d has one more dimension called z axis. The floor of the room is an example of 2d where in only two dimensions matters, one is length (x axis) and other one breadth (y axis). Lets include the height of the room, now you […]

Read More »

Cohen Sutherland Algorithm With Solved Example

Cohen Sutherland Algorithm Objective: The line to be clipped against the window. This means clip the line segment which is not visible in the window. Assumptions: x1,y1, and x2,y2 be the starting and endpoints of the line. Xmin, ymin and xmax,ymax be the starting and ending points of the window. As shown in the figure. […]

Read More »

2d Scaling Transformation Numerical Examples

Problem Statement-1 Magnify a triangle placed at A (0,0), B (1,1) and C (5,2) to twice its size keeping the point C (5,2) Fixed. If the point C (5,2) needs to be fixed this means the transformation scaling needs to be done with respect to the point C (5,2). So, we will bring the point […]

Read More »

Numerical Examples of Rotation in 2d Transformation

Example – 2 (from Exams) Rotate a triangle placed at A(0,0), B(1,1) and C(5,2) by an angle 45 with respect to point P(-1,-1). The calculations available for computer graphics can be performed only at origin. It is a case of composite transformation which means this can be performed when more than one transformation is performed. […]

Read More »

We have disabled - Right- Click - How about stay to read :)