Read complete story

ARCore – How to generate .sfb model from .obj files

I hope you guys have enjoyed the introduction blog for the ARCore library for Android. If not then I recommend you to read the blog as you will need to understand that why we need this conversion. Below is the link to the introduction blog.

ARCore Library for Android

Now let us focus on the main topic of the blog. That is how to convert the .obj to .sfb file for ARCore lib.

Step to convert the .obj file to .sfb

  1. Install the Google Sceneform Tools plugin from plugins.
  2. Create a sampleData folder in your project’s app folder.
  3. Copy your 3D model source asset file (*.obj, *.fbx, or *.gltf), and all of its dependencies (*.mtl, *.bin, *.png, *.jpg, etc.) into the sampledata folder.
  4. Right-click the 3D model (.obj) and select Import Sceneform Asset.
  5. Change the path or name as per the requirements.
  6. Click Finish to begin the import process.
  7. You will find the .sfb file at the location that you mentioned in the fifth point.

That’s all for this blog. Thank you very much. This is Vedesh Kumar signing off.

. . .

Comment

Add Your Comment

Be the first to comment.

css.php
Hire Us!
Brief us about your requirements and we'll get back to you.
Woo! Hooy!
We have just recieved your project brief and our expert will contact you shortly.
Send Again
Close