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*


9 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.

          • Hit fadadu
            which downgrade version of android studio should i use?
            • anchit (Moderator)
              3.0
  • css.php

    We've bought a Shopware Extension which is a hybrid App, which we can now offer in the Google Play Store and the IOS App Store. I'am still impressed how fast and how sharp the support team leads us through every process of the App-Store clarification. Very fast and useful response.

    Markus Walter

    Markus Walter

    Founder, Das Apartment Living

    Talk to Sales

    Global

    Live Chat
    Start a Project


      Message Sent!

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

      Back to Home