Log in or register to post comments

Target object scale/size.

July 21, 2016 - 9:05pm #1

(summary : 3D model target appears so close to the camera (or too big)


I'm new to Vuforia ( and AR in general). I have been struggling with the size of 3D objects for a while now. I've been searching for a solution for few days but I made no progress.

I have a whole level attached to image target. I want the user to be able to view the whole level..say on a small table. The issue is the level appears so close to the camera (or too big). So far the only solution I came up with is to reduce the scale of the level. I have experimented with reducing the size of the physical tracker but Vuforia could not not track it reliably.

The problem with scaling the level down is that is effects all scale-based scripts such as movement control, not to mention Navigation does not work...among other issues. It's just frustrating and I don't want to deal with it.

Is there a way to make the objects appear smaller without setting scale to less than 1?



Target object scale/size.

July 25, 2016 - 1:09am #5

Ah I see. I found http://answers.unity3d.com/answers/417236/view.html which did work in my test - scale of child of emptyGo kept 1

Target object scale/size.

July 24, 2016 - 4:11pm #4

I'm just wrapping up a project on which we developed 5 mini games, 3 of which run in AR directly off of the image targets. After messing around with sizes 1 to 256 for the image we decided to go with 1 and scaled all of our levels to that. I have one game still running at size 256 but it has introduced all kinds of weird quirks. Depending on what you're doing I'd recommend of using size 1 or 10 for your markers based on my own experience.



Target object scale/size.

July 23, 2016 - 1:35pm #3

Thanks for the reply. The thing is if I change the imageTarget scale from 1 to 5, when I reparent the level it is scaled to 0.2 automatically to preserve its overall size/scale. this will lead to dealing with fractions for values such as speed ,radius and many others..which is ridiculous.

Target object scale/size.

July 22, 2016 - 1:42pm #2

have you tried setting the imageTarget width higher? You woul need to unparent your level for that step, so it does not get scaled with it.

So unparent level. Scale imageWidth of your imageTarget to appropriate scale ( you can see in untiy the direct size difference between imageTarget and your level). If your happy with size of target, parent your level again :)

Log in or register to post comments