Saturday, May 7, 2016

Vector Graphics & Raster Graphics

Graphics as you know it is what we see on screen it is a way of illuminating pixels of the screen with different colors that makes a picture. When it comes to graphics there are 2 types’ vector and raster

Let’s first consider raster graphics  
They are graphics that is develop by programs like Photoshop each pixel information is saved in a file so when displayed it can be mapped to positions of the screen this is normally fast since it is 1 to 1 mapping from image pixel values to screen the draw is faster compare to vector but the drawback is it will pixelate when zoomed i.e. when you enlarge it pixels also get enlarged and begin to show them as blocks of squares

Next we have the vector graphics

They are mathematical algorithms use to draw geometrical things like lines, curves ellipse and so on so the values of the variables are kept in file and when need to display take the values and draw it using and equation like an equation for line or ellipse this method is slow compare to raster graphics since the data  need to be processed before any drawing can be made but the benefit of it is you can zoom it to  whatever the level you want, it will use a translation, rotation or scaling functions of geometry to calculate the end result. Resulting a smooth translation of the object software like illustrator use this to draw images. also 3D's Max and Maya like 3D animation software and most of the 2D animation software use these as models and Raster graphics as texture to them

No comments: