Hi,
It has been 3 weeks [including 2 all-nighters] that I have been working on this project on a mini-iPad:
'ALIGNING an AR view of a room with the ACTUAL view'
[as seen via the device camera view in vuforia]
I have tried creating huge markers [1m height] and placing them a short distance apart [multi-marker setup], so that I can get the AR view to align as closely as possible to the actual view, but there is a variance between the farthest points in the AR view and the actual room view.
I have looked at a number of discussions in the developer portal.
Some of the discussions which are closest to what I am looking for are:
https://developer.vuforia.com/forum/unity-3-extension-technical-discussion/ar-camera-field-view
https://developer.vuforia.com/forum/unity-3-extension-technical-discussion/vertical-fov-unity
http://docs.unity3d.com/ScriptReference/Camera-projectionMatrix.html
http://kwazylabs.com/blog/unity_sync_ar_camera_with_2nd_camera/
https://en.wikibooks.org/wiki/Cg_Programming/Unity/Projection_for_Virtual_Reality
I can keep trying all the ideas suggested in the discussions but I am lossing time and there is immense pressure on me to complete my PhD research ASAP [already 3.5 yrs have passed].
I shall therefore be most grateful if someone could kindly commit some of their spare time with me so that I can get through this challenge in the optimum way and in an optimum timeframe.
'ALIGNING an AR view of a room with the ACTUAL view'
some of the ideas that Ithink are most promising are:
'ALIGNING an AR view of a room with the ACTUAL view'
here are the results of using a multi-target configuration with extended tracking turned ON:
- i was trying to check/understand the programmed behaviour of the client if it detects two markers in a multi-marker setup
'ALIGNING an AR view of a room with the ACTUAL view'
this is the subject i am essentially dealing with: http://www.vision.caltech.edu/bouguetj/calib_doc/htmls/parameters.html
i am basically trying to find a way to align the AR view perspective projection exactly with the camera view perspective projection....
'ALIGNING an AR view of a room with the ACTUAL view'
i wonder if anyone can tell if the below patch is implementable, or is it a hoax?
doesn't look like a hoax but i can't really figure out how to implement it....
e.g. does Ui camera mean the device camera? if so, then whre in the code can we implement this sync?
Simply mentioning that code
Simply mentioning that code snippet is not suitable - we need declaration part also to test the validity of the code!
'ALIGNING an AR view of a room with the ACTUAL view'
Looking at the video, the jump seems due to some inaccuracy in the measurement of the relative size and/or position of the 2 markers with respect to each other;
'ALIGNING an AR view of a room with the ACTUAL view'
thnx, will do that asap!
'ALIGNING an AR view of a room with the ACTUAL view'
i also want to know if it is possible to adjust the perspective projection of the AR view, i.e. via the 'projection matrix' or any other label...
'ALIGNING an AR view of a room with the ACTUAL view'
I would not recommend trying to tweak the projection matrix, cause Vuforia handles that and already tries to produce the most accurate projection matrix based on the knowledge of the camera parameters and the tracking information.
'ALIGNING an AR view of a room with the ACTUAL view'
sounds good, thnx very much!