Author Topic: integration with vuforia help  (Read 1870 times)

Offline penprakash

  • byte
  • *
  • Posts: 26
    • View Profile
integration with vuforia help
« on: February 28, 2013, 02:20:15 pm »
 I have followed the JPCT integration tutorial provided by JPCT wiki and i had a problem in camera view. Camera view shown only portion of the screen (1/4 bottom),  not coming full screen camera view. Can you please tell me why it is not displaying the full screen camera view. Also they have given updateCamera method, when this will be called and from where should this be called?

 

public void updateCamera() {
   Matrix m = new Matrix();
   m.setDump(modelViewMat);
        cam.setBack(m);
}

 

Prakash V

Offline kelmer

  • byte
  • *
  • Posts: 43
    • View Profile
Re: integration with vuforia help
« Reply #1 on: February 28, 2013, 11:47:39 pm »
You call that on each frame, that is inside the onDrawFrame method, after vuforia's render loop.

I don't know what might be happening with the camera; no camera code is touched in the wiki tutorial, so that shouldn't be happening if you followed it.