Position of Video on Target

0 votes
asked Aug 15, 2017 by matzon (120 points)
Hello,

i tried to dive into the helloArVideo Demo.

As i understood, there are different video renderers for each video but they have no distinctive properties. Each time a video is rendered i can set a different size, e.g. imagetarget.size divided by two to get half the video size.

The video is then displayed right in the center of the image target. Is it possible to "shift" it around like to the top left of the recognized image target?

Can this be achived with the projectionMatrix?

Thanks in advance.

1 Answer

0 votes
answered Sep 7, 2017 by kenn (18,790 points)
You have to understand the OpenGL ES code in the sample and modify that part.
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.
...