I'm having some issues using GUITextures. Whenever I have a normal scene (without AR) they show up just fine, but when using AR they all get vertically streched. The streching changes when switching between different Camera Device Modes (default, optimize_speed etc.), but I cannot get them nice and square. I suspect this has something to do with the camera image being set to a different aspect ratio then my device screen and thus stretching my GUI in the process, but I cant quite tell for sure. Is there any way to fix this? I am using a HTC Desire and a HTC HD2 running on android, both with a native resolution of 800x480.
- Sort Posts
- 5 replies
- Last post
Stretched GUITextures
June 18, 2014 - 10:41am #5
We're having the same stretched GUI texture, when we play video-on-texture with vuforia.
However, the TrackerBehaviour script mentionned in that other thread seems to have been removed in favor to some other package.
Those stretched GUI textures ruins our user interface. Is there anything that can be done about it?
Thanks
Re: Stretched GUITextures
July 26, 2011 - 12:35am #4
Excellent!
That thread didnt show up during my search, but it works nicely.
Thanks!
Hi VGSIprog ,
the issue you are observing with GUITexture is connected to the use of the VideoPlayback feature and is discussed in this thread:
https://developer.vuforia.com/forum/unity-3-extension-technical-discussion/guitexture-aspect-ratio-gets-stretched-during-texture-v
Please follow up in that thread, where the solution is also provided.