Redeem Now
Read More
Read now

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.

. . .

Comments (4)

Add Your Comment

  • Mohammad Zulqurnain
    Thanks, This helped me alot. God bless you.
    • Vedesh Kumar
      Thanks for the appreciation. It means a lot.
  • toheed
    bro obj file is not generating the sfb and sfa file whenever i use import asset from sceneform
    • anchit
      Which android studio version are you using ?
  • 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