As a result of the coronavirus (COVID-19) outbreak, we have a reduced capacity to review effects and delays in publishing are expected. Learn more.
In Spark AR Studio you can create effects that are triggered when the camera is pointed at an image in the real world, for example a poster for a movie. You'll an object called a target tracker to do this.
Start by adding a target tracker:
It’ll be listed in the Scene panel. You’ll also see a square in the middle of the Viewport and Simulator. This square represents the space for the target image:
This is a texture representing the real life image that will trigger the effect. To add it:
You'll see the texture appear in the Viewport:
To add the effect you want to trigger when the camera is pointed at the target, add the objects you want to appear as a child of the target tracker.
When the target tracker is selected in the Scene panel you can view and edit its properties in the Inspector.
Set which layer the target tracker is assigned to.
When this box is checked, the target tracker is visible in the effect.
Add the texture that will trigger the effect.
Change the position, scale or rotation of the target.
Set whether the target tracker works through the front or back camera, before the effect is captured or during capture.
Create simple patch graphs to represent the target tracker.
To create a patch, drag the target tracker from the Scene panel into the Patch Editor.
A series of 3 patches will be created: