Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: Images size  (Read 4373 times)

0 Members and 1 Guest are viewing this topic.

Jose

  • Regular poster
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 134
    • View Profile
Images size
« on: August 25, 2013, 04:29:05 PM »

Hi,

I'm wondering if there's any difference (performance speaking) maintaining the width and size of an image in powers of two if the video card need them that way. For example, is there any improvement in performance saving images 512x512 size instead 350x225?

Thanks in advance.
Logged

2.0

  • Regular poster
  • ***
  • Karma: 4
  • Offline Offline
  • Posts: 217
    • View Profile
Re: Images size
« Reply #1 on: August 25, 2013, 08:34:59 PM »

Hi,

I'm wondering if there's any difference (performance speaking) maintaining the width and size of an image in powers of two if the video card need them that way. For example, is there any improvement in performance saving images 512x512 size instead 350x225?

Thanks in advance.

Hi,

Image of 350x225 pixels in the videomemory automatically will be converted to 512x256 texture.
512 is the next power of 2 value after 350. 256, accordingly - after 225.
So manually you don't need to do anything (or you may try to decrease size of images).
Logged

Jose

  • Regular poster
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 134
    • View Profile
Re: Images size
« Reply #2 on: August 25, 2013, 10:11:05 PM »

Thanks for answering 2.0, you're right a 350x225 image will be converted to 512x256 not to 512x512. So, there's no performance gain in saving the image in 512x256?
Logged

2.0

  • Regular poster
  • ***
  • Karma: 4
  • Offline Offline
  • Posts: 217
    • View Profile
Re: Images size
« Reply #3 on: August 25, 2013, 11:08:31 PM »

Thanks for answering 2.0, you're right a 350x225 image will be converted to 512x256 not to 512x512. So, there's no performance gain in saving the image in 512x256?

I think, no.
Logged

Jose

  • Regular poster
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 134
    • View Profile
Re: Images size
« Reply #4 on: August 26, 2013, 01:44:26 PM »

Thank you very much 2.0!
Logged
 

Page created in 0.043 seconds with 24 queries.