By aleem_razzaq
on Tue, 12/11/2012 - 12:25
Hi, i am following Videoplay back sample for iOS, i am successfully loading one texture on my marker now i want to load two texture on same time on single marker, with different positions and scales. And these two texture can be in any form not in just rectangular. As far as my experienced in Vuforia when i load a texture other than rectangular shape it makes image's edges black where image are not in rectangular shape.
This will be great for me. Thanks in advance.
Load 2 Image Texture in VideoPlayback Sample
Hi Aleem,
It sounds like what you want to do is to extend and modify the VideoPlaybackBehaviour.cs.
For starters if you look at where the textures are declared public:
Load 2 Image Texture in VideoPlayback Sample
Thanks Nalin. My second question about unity but here i am asking for Xcode, i am build app both in xcode and in unity. So how can i scale icon and change position in xcode objective c.
Load 2 Image Texture in VideoPlayback Sample
I am not sure I understand?
1) Are you creating the same app in Unity and also in XCode native? if so why?
...or 2) are you wanting to combine a unity generated project with additional objective C in XCode?
Load 2 Image Texture in VideoPlayback Sample
1) Are you creating the same app in Unity and also in XCode native? if so why?
Load 2 Image Texture in VideoPlayback Sample
If you set it to 0 I would expect it to crash with a division by 0 error on this line:
Load 2 Image Texture in VideoPlayback Sample
Thanks Nalin, I set SCALE_ICON to 1 only because divident should be set as it is dimension, now it looks better.
Load 2 Image Texture in VideoPlayback Sample
Load 2 Image Texture in VideoPlayback Sample
Hi.
I've to load an image from url. how can i do that ?