By ashunkhs
on Fri, 04/12/2013 - 10:31
Hi guies..
I am Integrating JPCT-AE with Vuforia for as Vuforia sample Imagetarget teaport model. I followed the kelmar and Sam Rad 's answer on http://www.stackoverflow.com/questions/15199479/jpct-ae-vuforia/15227205#15227205 And now I am able to render my model as well as teaport in landscape mode only. :::::AND ::::::: When i make changes in `initApplication()` in imagetarget int screenOrientation = ActivityInfo.SCREEN_ORIENTATION_SENSOR; or ORIENTATION_PORTRATE; My model start rendering here and there on the screen means not as tea-port render. As I understand we need to change the matrix something to render model in portrait mode. But how and what. I do't know. If you have any idea, please refer me shortly. ...............thanks
Integrating JPCT-AE with Vuforia
Hi,
the issue might be related to the fact that you in portrait mode you need to swap the X and Y axis, since the Vuforia axis system are somehow defined in landscape mode.
One useful article that you could read is this:
Integrating JPCT-AE with Vuforia
HI
As u refer me the link
i got the x and y axis and swap it as :
Integrating JPCT-AE with Vuforia
Hi,
I'm not too familiar with the JPCT SDK, but have you tried with cam.setOrientation(dir, up), where:
dir.x = cam_dir_x;
dir.y = cam_dir_y;
Integrating JPCT-AE with Vuforia
thanks dude
i got it .
thank u very much.
but there is a small problem . i attached two screenshort .
i am loading a cercle but it renderig like eclipse . it happens with all the models.
if there is any solution pls check it.
Integrating JPCT-AE with Vuforia
Happy that your first issue is solved.
Concerning your "ellipse-like" visualization issue, this is probably due to an incorrect aspect ration of your JPCT camera; you should set the aspect ratio so to match the ratio between the view width and view height.
Integrating JPCT-AE with Vuforia
Hi ashunkhs/ AlessandroB,