www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: ashunkhs on April 16, 2013, 01:00:23 pm

Title: set aspect ration of your JPCT camera when Integrate JPCT-AE with Vuforia
Post by: ashunkhs on April 16, 2013, 01:00:23 pm
HI ,

  I got success to Integrate JPCT-AE with Vuforia now my model rendering same as teaport in imageTagget sample.
  But it was in Landscape mode only .

  Because Vuforia axis system are somehow defined in landscape mode. So i set the orientation and position of JPCT camera object.

Now my model is rendering in portrait mode same as teaport . But model is my model is not shown in original state ,
means i load a circle and it become eclipse. (http://)
 
so i just attached two screen short ,if there is any solution to set aspect ratio so to match the ratio between the view width and view height.  please refer to me .





[attachment deleted by admin]
Title: Re: set aspect ration of your JPCT camera when Integrate JPCT-AE with Vuforia
Post by: EgonOlsen on April 16, 2013, 08:20:48 pm
I think that you have to adjust the fov on rotation. The wiki page about Vuforia has something about fov and i think that there's a thread that deals with this, too.