"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

Rotate video texture

Hi guys, 

I am trying to rotate my video texture 90 degree. I want to change angle between marker and video texture.

I mean they should be perpendicular to each other as the attach file

Anyone help me for this ?

Thanks

 

AlessandroB

Fri, 07/05/2013 - 05:59

Hi, have a look at the code in renderFrame() in VideoPlayback.cpp and simply add a rotation before the code that draws the texture rectangle, using SampleUtil::rotate() function.

 

mdfaizuddin15

Thu, 01/05/2017 - 10:11

Hey,

When I rotate the video through 90 degrees (in Script and Unity), the video is not stable anymore. It starts following the camera. Any idea why this is happening?