Jump to content
  • Advertisement
Sign in to follow this  
mojtaba_e

Texture resolutions problem ?

This topic is 4234 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi there, I wanna to use 2D textures in my game(3D). I am designing my textures in Photoshop. I have a question. What is the main difference between Image Size(width & height) and Resolution?1 What is the best way to use this texture (run fast,use low texture memory,...) : 1) a texture with 300 resolution and 128*128(dimension) 2) a texture with 72 resolution and 256*256(dimension) Somebody have any idea ?

Share this post


Link to post
Share on other sites
Advertisement
You're getting yourself confused in your terminology.

The first number you presented (what you called 300 resolution and 72 resolution) are the DPI resolution, or the dots per inch resolution. It doesn't actually effect the image file size, it affects the image display size. A normal monitor displays at 72 dpi. Normally JPEGS and PNGS default to this. If you create a canvas for a 4" x 5" picture, it will default to using 72 dpi, or 72 dots per inch. That exact same image could be printed at 144 dpi and it would come out half the size. The dpi is set for an image to reflect what medium it is going to be diplayed with.

Your second number, 128x128 or 256x256, are your actual resolutions, or pixel counts. It is a more literal interpretatioon of an image. This is image is 128 x 128 pixels in size. This determines the actual file fize and how quickly an image will be rendered.

Share this post


Link to post
Share on other sites
Creating textures you should use 72dpi.
300dpi is usually used for printed media (combined with CMYK colors).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!