Log in or register to post comments

World Center Mode - Reinit Camera Position

September 30, 2012 - 3:45pm #1

 

Hi Developpers, this is my problem, i don't know how reinit the AR Camera Position after change World CenterMode in NONE.

 

 

Here First Focus, Model Appears correctly In World Center 0,0,0, it is allright. You Can see icon EYES, it is clickable, when user click this point of view represent by icon, camera move to the icon clicked. In my code, used fo detach World Center :

QCARManager.Instance.WorldCenterMode = QCARBehaviour.WorldCenterMode.NONE;

It Works Nice. I can navigate inside my model with clickable icon.(without marker tracking)

 

 

Here i can move camera to icon point of view... I have a button for reinit view and when....

 

 

... When i refocus again my tracker, the 3D model moved and turned and i can't reinit ARCamera Position or matrix like the beginning, you know...

 

Anybody have a solution Please ?

 

Thanks in advance.

 

Loïc

 

World Center Mode - Reinit Camera Position

October 5, 2012 - 2:06am #5

Hi

Just a suggestion.

If you want some feedback quickly then it might help if you post up a video :)

N

World Center Mode - Reinit Camera Position

October 4, 2012 - 10:25am #4

Yes exactly you reason . SO you can try the prototype on google play (it is free).

https://play.google.com/store/apps/details?id=com.StudioEclyptik.ARDesign

Let me know what fo you think about ? if you have tips or idea maybe, don't hesitate.. please

As soon :-)

World Center Mode - Reinit Camera Position

October 4, 2012 - 9:46am #3

If that works, then good  ;)

But what is happening if you don't define the ImageTarget vector before making the model a child of that target? - you should be able to assign the transform.parent, and then position the model in local space.

World Center Mode - Reinit Camera Position

September 30, 2012 - 4:55pm #2

i Think to found the solution ! ;-)

Need to reset the Vector3 for position and rotation of image Target before put model(child) inside.  Model Replace in right place when AR mode restart.

 Uses this after reset Pos and Rot : QCARManager.Instance.WorldCenterMode = QCARBehaviour.WorldCenterMode.AUTO;


Someone confirm this ? Maybe another techniques....


Tchuss

Loïc

Log in or register to post comments