"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Orientation of "Image" extracted from "Frame" object, how to change it?

Hi

Since I cant change the rendering code of the application, I need to extract "Image" from the "Frame" object in function "renderFrameQCAR" and use it. Problem I have is I can't find any way to control the orientation of this image. I always get (on iPad) 640 * 480 landscape image (Image looks correct only in landscape right orientation).

I initially got excited when I saw function QCAR::setRotation() but it turned out it is available only with Unity version of iOS library. What options do I have? Or do I need to rotate and rescale the image myself?

Thanks 

S

Thanks N, I will take a look at handleARViewRotation to transform the image myself. Is there any reason why setRotation() is offered in Unity version of library but not in regular iOS? Would you consider this enhancement for future release?

Thanks

S

HI STKSTK,

After discussing with a few developers this is used mainly by the Unity plug-in at the OpenGL texture level i.e. a stage beyond the camera feed.

So it will not provide the results that you are after.  None of the samples use this function.

HTH

N