Using custom 3D objects with ARCore Augmented Faces

200 Views Asked by At

I am trying to use multiple custom objects to be placed on the face using ARCore SDK. I import the face mesh FBX file provided by Google in the SDK using Blender and place my custom object relative to the face mesh. then I remove the face mesh and export the object as .obj file to be used inside my app.

However, the object is not shown at the position I placed it at relative to the face mesh.

I am using sceneform to render the object on the face.

Any idea what I am doing wrong?

Google Documentation for adding custom objects

I followed the same hierarchy google provided, I left the bones and removed the face mesh and set the main asset as a parent to my object, but still the object is not placed correctly on the face.

Blender Screenshot

I added a modifier and vertex group as shown in the screenshot. I also reassigned the pivot point of the object to be the same as the face anchor, but sill not shown in the desired position

1

There are 1 best solutions below

4
Luis On

I don't know if you figured it out, but for me I had the same issue, what I did was adjust my object relative to people's face instead of google's presets, which may be out of place inside blender.

Now that may not be the best approach because it means you are constantly testing and moving the object in blender to then import to the app, but it works for me. To circunvent this, I made my own guidelines inside blender, for my specific use case, and place new objects relative to this "custom guide".