CLEAR

There may be differences between your version of Spark AR Studio and this tutorial because the product is currently in beta and we update it regularly.

Tutorial: Changing the Shapes of Faces

In this tutorial, you'll learn how to change the shape of faces in your scene, by applying deformations to the face mesh.

Deformation blend shapes must be created in external 3D modeling programs. For this tutorial, we've provided one for you - download the sample content to follow along.

You can use the Face Reference Assets in the Help menu to create your own deformation blend shapes.

If you open the finished effect in the sample content folder, you'll see that the effect you're going to build makes faces look very small.

Inserting and Editing Face Meshes

To get started, open Spark AR Studio and create a new project.

You'll apply the deformation to a face mesh. So click Insert, select 3D Objects, and click Face Mesh.

You should see a face mesh in the Viewport and the Simulator and listed in the Scene tab as the child of a face tracker. The face tracker was inserted by default, so that the face mesh would track your face automatically.

Applying Deformations

Make sure the face mesh is selected in the Scene tab, then:

  1. Go to the Inspector panel.
  2. Click + next to Deformation.
  3. Select the 3D object from the sample content folder.

The face in your scene should now have changed shape. This is because a face warp material was automatically created from the morph object that you inserted and applied to the face mesh.

You can adjust the intensity of the deformation. Go to Blend Shapes and move the slider until you're happy with the result you see in the Viewport and Simulator. For this effect, we're going to move it to 70%.

In the Viewport, you'll see that the eyes and mouth look covered. To change this:

  1. Inspect the properties of the face mesh.
  2. Go to Eyes and Mouth, below Properties.
  3. Uncheck both boxes.