Use AR Library to import complete 3D objects, audio clips, patch assets and scripts into your Spark AR Studio projects. It's a quick and easy way to start building your own effects.
AR Library includes assets provided by Facebook and Sketchfab:
Attribution is provided automatically when people view the effect. You don’t need to provide attribution when publishing your effect.
To see the license for each asset, select the asset in AR Library.
To open AR library, click the Library icon in the toolbar:
You can also:
AR Library will open in a separate window:
To find assets either browse categories using the menu on the left, or use the search bar.
Use these 3D objects for prototyping. To find them:
We've partnered with Sketchfab to provide a huge range of 3D models. Before you can download 3D objects from the library, you'll need to log in with your Sketchfab account. If you don't have a Sketchfab account you can create one for free.
To browse Sketchfab 3D models:
To manage the Sketchfab account you're logged into AR Library with, click Preferences in the toolbar, then AR Library.
When you've selected an object you'll see information about it under Specifications. For example, for 3D objects you'll see how many vertices it has or if there are animations included:
The specifications should help you make sure any assets you import follow our technical guidelines, so your effect works well on different devices.
To add the asset to your project, click Import.
There’s a huge range of sounds available, especially created for AR effects. To find them:
You can browse by 3 categories:
To add the audio to your project, click Import Free.
AR Library includes a range of useful script packages for adding more functionality to your code. For example, the cannon script package adds the appearance of gravity to objects, and the sparkar-head-rotation-trigger script package provides a function to enable firing events in response to head movements.
To browse and import script packages:
The script package will be listed in the Assets panel under Packages:
To add a script package to your project:
spark-ar-librarywith the library you just installed:
// in script.js const library = require('spark-ar-library');
Patch assets are ready-made patch graphs. Use them to quickly add logic, visual effects and complexity to your projects. There are 2 categories to choose from:
To find them:
The patch asset will be listed in the Assets panel. Drag it into the Patch Editor and connect it to other patches to add it to your project.
When the asset is selected in Spark AR Studio, in the Inspector you'll see:
Add assets from AR Library to your scene like you would any other object or asset imported into Spark AR Studio.