integration with vuforia help

Started by penprakash, February 28, 2013, 02:20:15 PM

Previous topic - Next topic

penprakash

 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

kelmer

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.