zhiva: (Default)
[personal profile] zhivaFriday, June 8th, 2012 04:59 pm
A coworker picked up the development of a project for which I wrote demo. Today he asked me for help, because on retina devices slingshot band was too thin and with offset and he couldn't figure why. Offset was fixed by multiplying anchor points coordinates by scale factor, but we couldn't do anything with the width. After a few minutes I tried my demo in retina mode, and it worked fine. We put the texture from demo into the project, and it worked fine.

Turns out hd texture for the rubber band in the project was not a bigger version of this texture, but a picture of a curved rubber band. Which, of course, was then stretched by glDrawArrays and looked like a very very thin band. ¯\_(ツ)_/¯

December 2025

S M T W T F S
 123456
78910111213
14151617 181920
21222324252627
28293031   
Page generated Thursday, January 22nd, 2026 12:56 am
Powered by Dreamwidth Studios