google / filament

Filament is a real-time physically based rendering engine for Android, iOS, Windows, Linux, macOS, and WebGL2
https://google.github.io/filament/
Apache License 2.0
17.63k stars 1.86k forks source link

Filament incompatible with sanctioned glb models #2443

Closed tellypresence closed 4 years ago

tellypresence commented 4 years ago

As mentioned on khronos site, the kenney models "tower defense kit" fail to load due to filament error, e.g. for towerRound_sampleF.glb:

 E/Filament: Unable to parse glb file.

with throwable CompletionException:

java.lang.IllegalStateException: Failed to load gltf

(First raised in https://github.com/google-ar/sceneform-android-sdk/issues/1055)

romainguy commented 4 years ago

Thank you. As mentioned in google-ar/sceneform-android-sdk#1055, the asset you mentioned is non-conformant (doesn't follow the glTF specifications) and that's why it is rejected by our validating glTF parser.