Basics and Types of Computer Graphics

Computer Graphics are visual representations of data displayed on a computer monitor. It can be a series of images called video or a single image. Computer graphics are very useful. They are used for movie making, video making, computer program and web development, scientific modeling, and commercial art.

Computer graphics can be 2D or 3D. They are made differently and used differently. People use different computer software’s to make different kinds of graphics.

2D graphics

2D graphics are usually split into two categories. Vector graphics and raster graphics.

Vector Graphics

Vector graphics uses geometrical objects, like points, lines, curves, and polygons, to create a complex image.  Vector graphics are made with programs like Adobe illustrator and inks cape and were used for some older computer games. Today, these software’s are often used for when computer graphics have to be printed out.

Raster Graphics

Raster graphics us pixels to make up larger image, it does not mean that the artist has to change a pixel at a time-taster programs often have tools like paintbrushes, eraser, and paint buckets to make a picture. Programs used to make these include Adobe Photoshop and coral paint shop pro. Images that are difficult to make, often made in the form of a raster image.

Pixel

Everyday most of us look at pixels in different amounts and sizes-on our phones, computers, TVs. This bunch of ones and zeroes are turned into millions of bright dots in a variety of brilliant colors. On the monitor of computer, a pixel is usually a square. Every pixel has color and all the pixels together are the picture.

The quantity of pixels determines the resolution of the picture. Typical resolutions range from 320 multiply by 200 multiply by 2000 multiply by 1500. For a simple image, a number describes the intensity of each pixel. It can be expressed between black and white. However, for internal binary representation reasons, it is usually stored as an integer between 0 (black) and 225 (white). So, the very first step to get a pixel to light up in the desired color. Each pixel is actual three single-color pixels in red, green and blue. The combinations of these three colors allow us to create the entire variety of the color spectrum that we need to draw graphics. Ass the basis for all this, we are using a bunch of zeroes and ones.

Now we know that we will have to write into memory to get pixels onto screen. See the pictures above to understand how we get a rasterized version of the line that can be expressed as pixel from points. Ones we are having this implemented, we are capable a triangle- and triangles are useful, because they can be used approximate all other shapes.

Filling the Blanks

Drawing lines is bit limiting, so it would be nice to fill in pixels between lines delimiting a shape. The algorithm took 6 steps with 4 operations (comparing the color of the four neighbors) fill a total of 9 pixels. This is not very effective and can be improved by using another algorithm, such as scan line fill.

3D graphics

3d graphics are graphics that look like images because they are three-dimensional. This means the computer thinks it has a height, a length, and depth, and displays them as this.

You can also check:

About Arsalan Mukhtar

Iamarsalan.com's content is in good hands with Arsalan Mukhtar! He works with a great team to write interesting and helpful articles. If you need the latest news, advice, or cool stories, Arsalan Mukhtar's got you covered! Check out the website and see what they can do for you. Now-a-days it is very difficult to find the quality data on internet because lots of low-quality websites are now designed that contain very useless data on them.

Leave a Reply

Your email address will not be published. Required fields are marked *