Re: OpenGL matrix to Camera

Started by Altarfinch, March 08, 2012, 12:15:55 PM

Previous topic - Next topic

Altarfinch

Dear sir,

I am currently integrating Vuforia (formerly QCAR) with jPCT but 3D objects are not well aligned in the corners of the screen.
For the moment I am only using the modelview matrix. I think I should use the projection matrix, but since it's not possible I have to configure the camera instead. Problem is : There is no function to set the distortion... I think it's not taken into account in the projection matrix calculation of jPCT.

Any clue ?

Yours faithfully,
Paul George.

EgonOlsen

There is no "distortion" when talking about the camera. I guess that you are talking about perspective projection and maybe about setting the field of view. You can do this for the camera by using the set?Fov-methods.

Vi_O

If that's still distortion you are after, I think that it is your hardware camera distortion parameters that are inadequate. Try to see if Vuforia lets you change it and calibrate your camera.