Wednesday 17 October 2012

Image Optimisation and storage

Image optimisation is when you make the image an appropriate size to fit a model. Textures need to use the power of two rule. If you don't scale the image to a power of two then the image won't fit properly and be missing.If you don’t optimize textures then the game has to reposition the textures to make them fit which makes them go out of line and blury.



If you don’t use the power of two rule then then engine has to reposition and expand the texture to make it fit. This means the engine has to do more processes which in turn will slow down the game and lower the fps. It lowers the fps because the processing power needs to be used for a lot of other things.Interpolation is when there is extra data needed to fill in the gaps so it makes up extra pixels and that’s where the blurring comes from – filling in the missing data. Loss-less compression is where you save a file which will increase the file size to compress it better. This means it won’t resize the image but will increase the file size. A file format such as JPEG is a file format described as lossy. All game engines don’t physically resize textures but some do such as the unity game engine.

No comments:

Post a Comment