Author Topic: Pixel perfect on ipad and retina ipad with HD atlas only?  (Read 2168 times)

vxx

  • Guest
Pixel perfect on ipad and retina ipad with HD atlas only?
« on: July 04, 2013, 02:49:58 AM »
Hello.

a few questions for the decision to move on NGUI.

- I whant to provide only HD atlas, and use it with pixel perfect on both 2048×1536 and 1024x768, remaining same screen proportions. As i need only this resolutions, HD sprites should looking the same, as 2d software zoom by 50%, the same quality as 50% reduced, right?  Performance not critical for me while development (not so complex gui, and can provide SD atlas later). More important thing is flexibility: working with two atlases at a time is not an option at all while developing.
As for now, no NGUI using, i have no pixel perfect objects with sprites, matching HD, and shown "as is" on SD, and it look quite ok. But whant pixel perfect for clear fonts.
Is it possible?

- Im going to instantiate sprite in the position of 3d object in the scene (lifebar, popup menu etc). Its auto ajust after instancing to be pixel perfect? And in case object moving?

thank you

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Pixel perfect on ipad and retina ipad with HD atlas only?
« Reply #1 on: July 04, 2013, 08:28:03 AM »
Yes, specify FixedSize on the UIRoot and give it a manual height of 1536 pixels. However keep in mind that it won't be pixel perfect on 1024x768. Only one of the two resolution can possibly be pixel-perfect without using different atlases.