Plane Tracker

With plane tracking, you can create a project that lets people interact with their environment through the camera.

You can place 3D objects in the world, interact with them and animate them. For example, you could place a heart on the table, move it around and make it bounce.

You can also use targets to trigger effects when the camera is pointed at a specific texture in the world (example: a poster or a map).

The Plane Tracker

The Plane Tracker object tracks an infinite, horizontal plane. Currently, AR Studio supports one plane tracker in a scene at a time. However, you can place multiple objects on that plane.

Properties

Visible

Uncheck this box to stop the plane tracker and any children from being rendered in the scene.

Auto start

Check this box to find a plane in world space as soon as your effect is opened.

Transformation

You can't change the transformations for a plane tracker because it isn't an object.

Targets

See below.

Enable For

This sets camera-specific visibility. For the plane tracker, Enable For is set to Back Camera automatically and can't be changed. This means that the plane tracker will only be visible in the back camera of a mobile device.

The Plane Tracking Capability

When you insert a Plane Tracker into the scene, this capability is added automatically. Without this capability, you wouldn't be able to track a plane in your project.

Using Plane Tracking

To build a simple plane effect:

  1. Click Insert > Plane Tracker > Insert
  2. Right-click on the plane tracker in the Scene tab, select Insert and then select 3D Object

This will place your object on a plane in the world, but it's location will be fixed. To add interactivity and animation, you'll need to use scripting. To learn more, watch the tutorial.

Targets

You can create effects that are triggered when the camera is pointed at a target texture. For example, you could craft an effect to be triggered only when someone points the camera a poster for a movie.

To track a texture:

  1. Insert a Plane Tracker
  2. Go to Targets in the Inspector panel, click + and then select Target
  3. Click Choose File... next to Texture
  4. Select the texture file that you want to target from your computer

You can use this sample content to try out target tracking. If you point the camera at the image of a slice of pizza, a pizza slice will hover above it.

Visualizing and Simulating

When you insert a plane tracker, the following actions happen automatically:

  • The video feed you were using previously will no longer be visible in the Viewport
  • The Camera node will rotate to focus on the plane that's being tracked in the scene
  • The camera will switch from Front mode to Back mode, if it wasn't on Back mode already
  • The video in the Simulator will be replaced by a video visualizing world space.

To simulate moving a mobile device around in the world, click in the Simulator and use the arrow keys on your keyboard to navigate.