- Home /
Augmented Reality
Hii Everyone..
I am working on augmented reality . And i have started with vuforia. Demo project is working perfectly.
My question is how can i see object in camera view without scanning target image? That 3d model will be fixed. But i want it to be set in camera view and perform operation on it like zoom , rotate etc.
Currently in demo , i have one target image stored in cloud database,. By scanning that image, 3d model is seen in our camera view.
But now i want my selected 3d model to be set in camera view and adjust it as per my requirement.
Now for your problem, it might actually be a tough one. You want to be able to zoom while the object keeps the original scale.
Problem is that vuforia does not return the distance to the object, it takes the size of the marker and knowing its original dimensions it assumes a distance. I do not know if Vuforia considers the zoom in the calculation process so it would be complicated to know whereas it was a zoom or a movement.
Best would be to ask them directly, https://developer.vuforia.com/forum
Hi Ekta l am working on augmented reality too. i used vuforia for my first test. but l have a problem with that. i cant connect my webcam to play mode and l'm confused about it!! do u have an idea about it to help me?
Answer by inkypinkyponky · Oct 03, 2015 at 02:36 PM
Hi Ekta Mehta.. Even I am in search of same problem. By any chance did you get solution for the question you posted ?
Answer by Player-of-Players · Feb 22, 2016 at 09:16 AM
Take one camera and plane in your scene. Follow the steps...
Render your device camera on the Plane obj.
Place the plane at maximum distance where camera can render.
Resize the plane to fix with viewport.
Instantiate the object you want to augment, between plane and camera.
use this free asset : https://www.assetstore.unity3d.com/en/#!/content/30111 to zoom and rotate your object.
you don't need Vuforia for it. if you want that object be like in real world, then use google cardboard camera to render it.
If i am failed to explain it well, i can send you the code.
Your answer
Follow this Question
Related Questions
How to prevent image from rendering to screen but seen by camera 0 Answers
How can I build AR app in Unity using GoPro as the web camera(or IP Camera)? 1 Answer
How to use opencv face detection with ARCore camera? 0 Answers
My main camera and AR camera returns to origin when in play mode in unity 0 Answers
How to have camera follow x&y only of another object? 2 Answers