cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Using Area Targets in Vuforia Studio

100% helpful (3/3)

With release 9.1.0, Vuforia Studio now supports Area Targets. Area Targets can be used when creating spatial instructions using the surroundings as interactive elements to be explored. For example, you can use an Area Target when you want to deliver augmentations to stationary objects in a scanned environment. You'll need to create an Area Target before you can import it into Vuforia Studio to leverage the Area Target widget. Below is an overview of the required steps to create and upload Area Targets for Vuforia Studio.

 

Step 1: Create a Vuforia Engine Developer Account

image.png

 

This account is separate from your regular PTC support account and is required to generate Area Targets.

 

Step 2: Download a Target Generator

Once you've created a Developer account, you'll need to download a target generator. The target generator you download will depend on the device used to scan your environment.

 

Vuforia Studio currently supports scans created with:

Step 3: Create an Area Target

 

Creating an Area Target using the Matterport Pro2 Camera:

 

  1. Log into the Vuforia Area Target Generator with your Vuforia Developer Credentialsimage.png
  2. Select New Area Target from Matterport Scanimage.png
  3. Enter your Matterport token informationimage.png
    1. See Retrieving Models with the Matterport™ API Token for instructions on obtaining your token ID

  4. Enter the Scanned Space ID and Area Target Nameimage.png
    1. The Scanned Space field is the Matterport™ SpaceID and a unique 11-digit ID that is associated with your individual scans.
    2. Find the unique ID of your scan by opening the scanned space from your Matterport™ account.image.png
    3. Copy the entire URL, or just the SpaceID portion as illustrated and paste it into the Scanned Space  field.
    4. Area Target name must not contain any spaces
  5. Select Create Area Target to generate an Area Target of your scan.

Full instructions for creating a scan and area target using the Matterport Pro2 Camera can be found here.

 

Creating an Area Target using the Vuforia Area Target Creator (requires internet connection):

  1. Login with your Vuforia Developer Credentials from step 1.image.png
  2. Select the Plus Button to create a new scan and enter a scan nameimage.png
  3. Start the scanimage.pngimage.png
  4. Press the Stop Button to finish the scan
  5. Select the Legacy Dataset option, then select Generate to generate an Area Target databaseimage.png

     

 

Step 4: Prepare your files for Studio

 

NOTE: All filenames are case sensitive

 

Area Targets created with the Vuforia Area Target Generator:

  1. Navigate to the location you entered when creating your Area Target
    1. Location defaults to C:/Users/<username>/Documents/Vuforia Areas
  2. Create a zip file titled <target_name>.zip that contains ONLY:
    1. <target_name>.dat
    2. <target_name>.xml
    3. <target_name>_authoring.glb

Area Targets created with the Vuforia Area Target Creator:

  1. Share your files to your Studio authoring machine
    1. Press the Container button and swipe one of the Area Target datasets listed to the left. A share icon will appear.
    2. Press the Share icon next to a listed datasetimage.png
    3. Select your transfer method
  2. It is possible to manually pull the files directly from your device. Using iTunes or a similar file explorer, navigate to the app's AreaTargetData folder and copy the desired Area Target directory. 
  3. Ensure that your <target_name>.zip file contains ONLY:
    1. <target_name>.dat
    2. <target_name>.xml
    3. <target_name>_authoring.glb

Step 5: Upload your Area Target file to Vuforia Studio

  1. Add an Area Target widget your canvasimage.png
  2. Select the green plus button next to Data set 
  3. Browse to the location of your <target_name>.zip file and select open

 

See our Help Center for more information on Area Targets in Vuforia Studio.

Comments

What is the best way to occlude the scan, so that when moving around the AR objects appear as if they are behind the walls and objects that are in the scan?

@randerson-3  Occlusion is not yet supported. This will be enabled in a future release -  it is currently targeted for the next Studio release (9.2.0).

Version history
Last update:
‎Mar 14, 2022 11:25 AM
Updated by:
Labels (1)
Contributors