In this tutorial we'll look at the different ways to preview and test projects in Spark AR Studio and the Spark AR Player app. When you're done testing, follow the link in the extra credit section to get your effect published!
For this tutorial, you’ll need:
If you’re using a Windows machine and plan to test your effect on an iOS device, you’ll also need to install iTunes on your computer.
First open a saved project. You can use our Example Project if you like. Just download it and open the Wings Template. You can easily change how the wings look by editing the settings in the template. It's a nice idea to do this if you plan to publish a unique wings effect at the end of this tutorial!
With your project open, the Spark AR Simulator will help you visualize how your effect will look on a user’s device.
Click the dropdown at the top of the Simulator to change the device it represents. The Simulator is particularly useful for previewing your effects across different aspect ratios and device orientations.
At the bottom of the Simulator, you can switch between the front and back camera and also rotate your device horizontally to simulate the preview in landscape mode, like in most phones, and landscape view, such as in iPad screens.
Real-time simulation let’s you change the default Simulator video, so you can use a different camera feed to visualize your effect. You can choose the live camera feed or another default video recording. You can also upload your own test videos using the real-time simulator, which is useful when building a full-body effect.
It's a good idea to keep your own test videos short. Spark AR Studio accepts videos in .webm format.
To select a different Simulator video:
Next, to take a look at how your effect looks when it's being used in the camera, you can send it to Facebook or Instagram camera. To do this:
To preview your effect in Instagram, you need to link your Instagram account with the Facebook account you used to log in to Spark AR Studio. If this is your first time previewing in the app, make sure to link your Instagram account to the Facebook account first.
Finally, you can also use the Spark AR Player app to mirror your effect and test performance:
When you're ready to mirror your effect:
You should now see the effect playing on the device. It's a good idea to test an effect on as many types of device as you can using Spark AR Player before uploading it to Spark Hub.
Learn more about using Spark AR Player, including troubleshooting tips, in this article.
Once you’ve finished previewing and testing your effect, it’s time to upload it to Spark AR Hub and get it published. Learn how to publish your effect.