viromedia / virocore

ViroCore cross-platform AR/VR renderer
MIT License
370 stars 108 forks source link

Can't load GLB files #329

Open federico-camonapp opened 4 years ago

federico-camonapp commented 4 years ago

Environment

Please provide the following information about your environment:

  1. OS: Mac
  2. Version: 2.17
  3. Device(s): Samsung Galaxy S8

Description

Some GLB models load as expected. However, some others don't. I've double checked them here and here, and they all seem correct. Based on the logs, I can see the following errors:

  1. Failed to parse glTF manifest (for model-a.zip)
  2. Attempted to parse an unknown geometry attribute: TEXCOORD_1 (for model-b.zip)

If it helps, I'm generating the GLB models using Khronos glTF Blender I/O v1.1.45.

Thanks!

dthian commented 4 years ago

Hey @federico-camonapp, unfortunately it looks like the GLTF Loader in Viro currently supports one texcoord per geometry as shown here.

federico-camonapp commented 4 years ago

Ok! Thanks @dthian for that quick reply, I guess nothing to do for now (maybe updating to the latest version of TinyGLTF in the future?).