3D Targets (Object Targets)
Last updated
Was this helpful?
Last updated
Was this helpful?
Vuforia is able to recognise and process 3d objects as targets for AR content creation. At present, the main limitation to this AR content creation is the need to use Vuforia's proprietary scanning software, , to create an Object Target.
An object target works in a similar way to image-based (2D) targets but utilises a feature scan as its target source. Objects should be rigid and opaque.
The basic workflow for working with Object Targets is as follows:
Scan physical object using Vuforia Object Scanner
Upload the file to the Vuforia Target Manager online
Download the updated Target Manager Database.
Add the object target to your project in Unity
Add the Device Database
Add and Configure the Object Target as a GameObject
At present, the Vuforia Object Scanner is only available as an Android Application. The only supported phones are Samsung Galaxy Devices as shown below:
App
Supported Devices
OS Version
Object Scanner
Samsung Galaxy S9
Samsung Galaxy S8+
Samsung Galaxy S8
Samsung Galaxy S7
Samsung Galaxy S6
Latest supported OS on the device
Source: Vuforia Library
By using an Android Emulator such as Genymotion, on your PC you can download and install the Vuforia Object Scanner from the Google Play store. By using your PC webcam, rigid and opaque objects can be scanned with reasonable success.
If you haven't already, download the device database from your Vuforia Target Manager.
Import the .unitypackage
file by heading to Asset > Import Package
Add an ARCamera
instance to your scene.
GameObject > Vuforia > ARCamera
Add an ObjectTarget
instance to your scene.
GameObject > Vuforia > 3D Scan
Change the Object Target Behaviour. With the ObjectTarget
selected, change the Database
and Object Target
fields in the Inspector Window
Add any content you desire to augment the object. This can be 2d content such as text or 3d assets such as .FBX
files.
Make the content a child of the ObjectTarget
. This way the content will only be displayed once the ObjectTarget
is recongnised.
The basic workflow within Unity is extremely similar to that of .