Use AR Library to import complete 3D objects, audio clips, patch assets, textures 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.
AR Library is a a tool in Spark AR Studio. Download and open Spark AR Studio to get started.
To open AR library, click the Library icon in the toolbar:
You can also open AR Library by:
AR Library will open in a separate window:
To find assets either browse categories in the menu on the left, or use the search bar.
You can use these 3D objects for prototyping. To find them:
Sketchfab 3D models
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.
Importing 3D objects
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 Free.
There's a vast range of loops and one-shot sound files included in AR Library, grouped into 3 categories so you can easily find the sounds you need to build creative sonic experiences. To find them:
Music: Sounds here are tonal and/or rhythmic with a musical nature. This category includes music loops, musical stingers, and instrument elements.
Sound Effects: This category includes sounds that work well as individual design elements, used to emphasize events like interactions and animations. For example, sounds from real and imaginary creatures and realistic sound effects like machines and tools.
Ambient Sounds: Either real or imagined, ambient sounds can set the mood in exciting and immersive ways. For example, by extending sound through loops. Files here include complex sounds blended into single files, letting you quickly create unique soundscapes that reinforce visuals.
Recommended audio file behavior
Next to the name of the audio file we’ve added a recommended behavior:
This is how we think the audio file will work best in an effect. There are 3 recommended behaviors:
Adding the audio file to your project
To add the audio file to your project, click Import Free.
Use environment textures to add realistic light to objects that use physically-based materials. To find them in AR Library:
You'll also see the default Blender environment textures available in Spark AR library.
Find out how to use these textures to create the same image-based lighting that you can achieve in Blender.
A block is a saved part of a project you can use again and again, export to other projects or share with creators. To find a block in AR Library:
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:
Adding script packages to your project
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.