Get your Ready Player Me Avatar on Snapchat
I use Snapchat and that has a feature to create your Avatar using Bitmoji. But, I don't like the way it looks and I am sure many of you would agree with me. Now that we have Ready Play Me Avatars, I wanted to see how that would look in AR. So, I tried various features with that and the one that I loved the most was the full-body tracking.
So this blog is about how you can import your Ready Player Me Avatar to Snapchat’s Lens Studio and add full-body tracking to it.
Prerequisite:
Make sure that you have the following prerequisite done before continuing to the next section:
- You need to have a Ready Player Me Avatar created. If you are not sure how that’s done then you can check our YouTube video or the first section of this blog.
- You need to have a Snapchat account so that you can log into Lens Studio Account.
- You need to have Lens Studio downloaded and installed. Also, makes sure you have logged in using the same account.
Downloading FBX file of the Avatar.
On the Ready Player Me website, you will be allowed to download the .glb file. You can either download that and convert it to .fbx format using any modelling software like Blender. But, if you are not familiar with that then, the easiest option we have is to link the Avatar to VR Chat which will allow us to download the .fbx file directly. So,
-
Head over to your Ready Player Me hub → select the
Discover Apps
tab → selectVRChat
→ click onConnect Avatar
→ choose your avatar. You will get a pop up notifying you that it would take a few minutes. -
Once it's connected you can go back to the
Home
tab → click on the download button next to Customize look → click onDownload Avatar as .fbx file
→ rename the file and save it.
Importing to Lens Studio and Full Body Tracking
To have a good AR full-body tracking experience we need a good API and Snapchat has exactly that. The other thing that makes this development easier is that the Ready Player Me Avatar model comes with a full-body rig and with a single click this rig can be set up for AR. All we have to do is add the full-body tracking component, add the Avatar and assign the parts. So, within 5 minutes you would have created an AR version of your Avatar. Ready to see how that’s done?
-
Open Lens Studio and click on
NEW PROJECT
→ add a new object by clicking on thePlus sign ➕
at the top left corner → fromObject Tracking 3D
selectFull Body Tracking
-
Open the folder where you had saved the .fbx file, drag and drop it on the
3D Body Tracking 0
object → click onImport
and wait till the Avatar loads onto the scene → in the preview window, change the preview image from Person 1 to Skeletal by clicking on the drop-down and choosingSkeletal
.
Note: Changing the preview image is not important, the skeletal image will help us to confirm if the Avatar is correctly mapped to full body tracking. It does not affect the experience in any way.
-
Select the
3D Body Tracking 0
object → click onMatch Hierarchy
from the Inspector window and search for Hips → double click onHips
. This will automatically assign all the Avatar’s bones to the full-body tracking attach points.
-
Now you can test this by clicking on the webcam preview, which is the second icon at the top left corner of the Preview window. While testing you can tweak the Avatar’s transform values to what matches best for you.
Recording and Sharing
Lens Studio allows you to record the videos in two ways :
-
Either by using the record feature in the
Preview
window. You can find it at the bottom right corner of the window -
Or, by adding the lens to your Snapchat app on your mobile device. You can find
Send to Snapchat
button at the top right corner, above the inspector.
Now, to share the Lens with your friends you will have to publish the lens. To do that,
-
Click on
Publish Lens
button at the top left corner → enter a name for your lens, add a preview image/ video and icon for the lens if you want to → clickSubmit
, wait till it gets uploaded and then click onDone
. -
A pop-up window will open in your web browser. Click on
Submit New Lens
→ add relevant tags (this is not necessary) → click onSubmit Lens
. Snapchat will then review it and notify you once it's approved. It could take about 5 to 10 minutes. -
Click on
Manage lens
and you will be able to see your lens. If the status is Public, it means that your lens has been approved and it is now available for sharing. You can either share the URL link or download the snapcode image and share that as well.
Open the Snapchat app on your mobile device and scan the image below to try out my Avatar.
Conclusion
You can try many more things like creating a miniature avatar that copies your movements or maybe if you are a dancer you can have two of your avatars follow your moves behind you. You can even have more than 2 avatars and ask your friend to join as well.
____________________
Thank you
Thanks for reading this blog post. 🧡 If you are interested in creating your own AR and VR apps, you can learn more about them here on immersive insiders. Also, if you have any questions, don't hesitate to reach out! We're always happy to help.