Computer Graphics

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)…...
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…...
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…...
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.…...
Read More