Image rotation

March 25, 2015 - 3:24am #1


      I have a doubt regarding the drawing of 2d image on to the targetmarker. I am using vuforia sample examples for this and they were drawing teapot on to the marker. I want to draw 2d image, and rotate the image from 0 to 180 but the problem is it is drawing as a cube and I am not able to see the image after 90degree since the image is at the top visible plane. Therefore when the plane passes the 90 degree bottom plane is visible. Can anyone please help me out in drawing 2d image(plane). Thank you

Image rotation

April 8, 2015 - 11:53am #4

Could you post a few screenshots of desired and undesired effect?

Image rotation

March 30, 2015 - 10:51pm #3

Thank you dm3d for your suggestion. I figured out the problem. I was doing exactly the same way mentioned in the article suggested by you. Actually I disabled the CULL_FACE and now I am able to see the image after it is rotated 90 degrees.


I have another doubt. I am able to get the image onto the targetmarker. But the problem is that the image does not fits onto the marker unless the camera is focussed onto the targetmarker. I mean to say that initially the image will be somewhat 70 degrees rotated about z axis upon focussing the targetmarker image fits onto the marker. I am struck and not able to move forward.

Image rotation

March 26, 2015 - 7:13pm #2

The following guide demonstrates drawing texture to a 2D plane using older C++ Android sample:


Log in or register to post comments