Generate Avatar from single image into Vizard using ReadyPlayerMe
Here are the steps to utilize the “Ready Player Me” avatar heads in Vizard, where you can generate an avatar head from a single selfie (using webcam or upload an image) and download as a .glb file
-
Go here to make your avatar from a single selfie https://readyplayer.me/
-
Download .glb file and open in Inspector (open Vizard and choose Tools- Inspector)
-
In Inspector, use the translate tools to move the avatar head to the ground plane. Make sure eyes are at:
0 in the “X” axis , just so eyes are level with 0 in the “Y” axis and just back so that the eyes aren’t being seen in front of your own in the “Z” axis.
You may also need to rotate the head 180 degrees.
-
Save the head model from Inspector as a .OSGB model into the folder where you will have your main Vizard script
-
Go to Tools- Vizconnect and choose a preset with a tracked “mark” avatar (such as the Vive or Oculus preset) and set the head to not be visible by going to Advanced- Avatars- Settings- uncheck Head of avatar
-
Save your vizconnect file in your main Vizard script folder (name it “vizconnect_config”, or another name of your choosing).
-
Create a new Vizard script in this folder and add the following code to link the avatar to the head model: