How to set background image texture after tracked found in Vuforia ImageTarget?

僤鯓⒐⒋嵵緔 提交于 2019-12-12 00:43:35

问题


I am developing AR application with Unity3D and Vuforia. I am using Vuforia ImageTarget tracking. I want to set background behind ImageTarget and it's Object after track found. How to set background image texture after tracked found in Vuforia ImageTarget? Example : I want background here this link


回答1:


Actually, this is possible using a new feature of Vuforia called Extended Tracking. Select your ImageTarget and in the Inspector check the Extended Tracking box in the Image Target Behavior script like so:

Go to 8:10 of this video to see a demonstration of Extended Tracking: https://www.youtube.com/watch?v=HTm8kkCCNO4

Edit: The spaceship is moving in the video because the video filmer put a movement script on it.

However, there are some things to be aware of when you use Extended Tracking. The first is that your literal room you are doing this in needs to look somewhat unique--you can't be surrounded by white walls and be using a white table. Also, the room you are in must be static--there should be no movement in the background. Finally, it likely won't be as smooth as that Chinese beer commercial. They definitely are using some smoothing script so you don't realize the trees are moving.



来源:https://stackoverflow.com/questions/36706706/how-to-set-background-image-texture-after-tracked-found-in-vuforia-imagetarget

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!