










Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!











ļ (^) field of computer science and art that deals with generating, processing, and displaying images and visual content using computers.
ļ (^) process where a computer creates and updates 2D or 3D images so fast (usually 30 to 60 frames per second or more) that the user sees changes immediately. ļ (^) Instead of waiting hours for a scene to process like in movies, the system draws each frame in milliseconds as you move or interact
TYPES OF COMPUTER GRAPHICS
An electronic visual output / visual data representation that uses a grid of pixels to show images, text, charts, or user interfaces, rather than simple pre-defined alphanumeric characters.
A Cathode Ray Tube (CRT) in computer graphics is a specialized vacuum tube display device that generates images by firing an electron beam onto a phosphor- coated screen. It include electron gun , deflection system , and phosphor screen.
ļµ (^) Direct Method ļµ (^) In this algorithm, we have two endpoints. ļµ (^) We find the slope of the line by using both the points, and we put the slope in the line equation y = mx + b. ļµ (^) Then we find the value of b by putting x and y equal to 0. ļµ (^) After this, we have a relation between x and y. ļµ (^) Now we increase the value of x and find the corresponding value of y. These values will be the intermediate points of the line. ļµ (^) After finding the intermediate points, weāll plot those points and draw the line. Scan Conversion (also called Rasterization ) is the process of converting the mathematical description of graphical objects (such as points, lines, circles, and polygons) into a set of pixels on a raster display (screen).
ļµ A polygon is a closed 2D shape made up of three or more straight line segments. ļµ Note:- The line segments are called edges, and their endpoints are called vertices. ļµ Examples ļµ Triangle ā3 vertices ļµ Quadrilateral ā4 vertices ļµ Pentagon ā 5 vertices ļµ Hexagon ā6 vertices
ļµ (^) Here: ļµ (^) A, B, C are vertices. ļµ (^) AB, BC, CA are edges. ļµ (^) The enclosed area is the polygon.
ļ (^) Process to identify and colour pixels residing along a closed geometric shapes. ļ (^) There are two primary categories of polygon filling algorithms: scan-line techniques (use the geometry of the polygon) and seed-fill techniques.