"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

Technical: Reference frame 3d mesh position

Hi,

I am trying to integrate libgdx and vuforia. I think I am almost there.

Except that I can't figure out how to position the 3d mesh properly.

https://www.youtube.com/watch?v=Wga1O4Inw1o

This video is the current status of the development. As you can see in the video, the cube recognizes the rotation and closer or further camera changes.

However, the cube is always centered at the center of the viewport. It doesn't follow the trackable position.

I followed this article to get the camera attributes https://developer.vuforia.com/library/articles/Solution/Get-the-Camera-Position and set them accordingly in libgdx camera. 

I also set the projection of the camera as modelviewprojection float[16] returned by "Matrix.multiplyMM(modelViewProjection, 0, vuforiaAppSession.getProjectionMatrix().getData(), 0, modelViewMatrix, 0);"

And the 3d mesh position is at 1.0f, 1.0f, -1.0f. 

Please help me what  I missed. Thanks.

Best Regards,

Win