Check Mobile App
Read now

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

Save

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.

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


7 comments

  • Mohammad Zulqurnain
    Thanks, This helped me alot. God bless you.
    • Vedesh Kumar (Moderator)
      Thanks for the appreciation. It means a lot.
  • YugesRaj
    Thank You So much…Keep doing this great thing….
  • toheed
    bro obj file is not generating the sfb and sfa file whenever i use import asset from sceneform
    • anchit (Moderator)
      Hi,
      Which android studio version are you using ?
      • Puja
        3.6
        • anchit (Moderator)

          For this problem, you can either downgrade your android studio or start using sfb files.

  • css.php

    Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!

    Deniel Kerr

    Owner and Founder. Opencart

    Talk to Sales
    Start a Project

      Message Sent!

      If you have more details or questions, you can reply to the received confirmation email.

      Back to Home