google-ar / sceneform-android-sdk

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

Cannot convert .fbx with textures to .sfb #218

Open 0v3rt1r3d opened 6 years ago

0v3rt1r3d commented 6 years ago

Hello! I try convert a model from .fbx format to .sfb using https://github.com/necrostylery/google-ar-asset-converter. The model contains links to textures, and when I try to convert it I got:

Command to converter: ./converter -a -d --mat ../default_materials/fbx_material.sfm ~/correct_path_to_fbx/sun.fbx

Output from converter:

WARNING: 2 textures declared in source assets were not found on disk:
> - Tex\Sun01_A.png
> - Tex\Sun02_A.png

The directory ~/correct_path_to_fbx contains Tex\Sun01_A.png and Tex\Sun02_A.png

Actually, I got sfb-file, but it doesn't include textures.

Also, I try to use gradle-plugin com.google.ar.sceneform.plugin for converting, but I have the same problem running gradle-task

What am I doing wrong?

gstanlo commented 6 years ago

It's not quite clear what might be wrong -- are you able to share the asset (or a similar, stripped down version of it) to stanlo@google.com?

coasterli commented 5 years ago

@gstanlo

I get same problem here. No warning during convert, but textures still not included in the output sfb.

Could you please double check it for me?

image