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
Attachment | Size |
---|---|
![]() | 140.76 KB |
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.