google-ar / sceneform-android-sdk

Sceneform SDK for Android
https://developers.google.com/sceneform/develop/
Apache License 2.0
1.23k stars 603 forks source link

How to copy sfb file from one Android Studio project to another ? #700

Open agGitHub opened 5 years ago

agGitHub commented 5 years ago

I have got a project (implementing Sceneform) that contain sfb files in the raw folder.

I want to copy/paste these sfb files to another project. But when I paste them, the content is no more readable even if the file is ok in the 3D preview window. See picture here : https://i.stack.imgur.com/3I28A.png

How to copy/paste a .sfb file from one project to another ?

Thanks !

agGitHub commented 5 years ago

Ok, found the solution. You have to create a sampledata folder like explained here: https://developers.google.com/ar/develop/java/sceneform/import-assets

And copy/paste also all your sfa, fbx, bin, etc.. files here.

And then the text in the sfb file will become readable.

You can close this question ! :)