Color Generating Techniques- Computer Graphics

There are two ways by which you can see some objects colorful, let’s say RED – the first method would be – if you wear RED Glasses on your eyes and second method would be you color the object RED. In other words – either you paint the source (eyes) or the destination (Object). We […]

Read More »

Area Fill Algorithms

Flood Fill vs Boundary Algorithms Objective – Color the entire area with the color already present in the area. Flood fill algorithm This method is useful when area to be filled has multiple colors in it. Find any point in this area and replace it with fill color. Start filling the surrounding points using the […]

Read More »

Computer Graphics – Notes – Short Q & A’s

When it comes to scoring marks, short questions play a real significant role. Find answers like – aspect ratio, resolution, persistence and many more – rewritten in a simplified language.  Whats more these questions are picked from final question papers of various universities or schools.

Read More »

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 »

2d- Scaling Transformation

In simple words , scaling means an object can be viewed differently with various scales. An object with length 3cm might appear small when viewed with a scale in meters. Cars will appear bigger if you are looking down on the cars parked at a parking lot from 2nd floor of a building, but same […]

Read More »

2d Transformations – Computer Graphics

Welcome again to learn a complex topic simply. Learn by solving numerical problems. Let the theory take a back seat this time. Moving, Rotating , Zoom-in or Zoom out an object on the screen is called Transformations. There are two types of transformations in computer graphics. Geometric Transformations Coordinate Transformations Geometric Transformations – As the […]

Read More »

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