sceneview-android icon indicating copy to clipboard operation
sceneview-android copied to clipboard

SceneView IS NOT RENDERING GLB FILES CONTAINING KTX2 TEXTURE

Open Tomlp14 opened this issue 3 years ago • 4 comments

Will SceneView support rendering GLB files containing KTX2 texture in the future? Or there is already a way to do so? I used one of your sample projects to do some testing (Ar Model Viewer)

With KTX2 texture Without KTX2 texture (PNG)
Screenshot_20220517-164401_AR Model Viewer) Screenshot_20220517-164241_AR Model Viewer
With KTX2 texture Without KTX2 texture (PNG)
:-------------------------: :-------------------------:
Screenshot_20220518-125718_AR Model Viewer Screenshot_20220518-125902_AR Model Viewer

I'm sharing few resource with you guys: KTX explanation by Khronos group : https://www.khronos.org/ktx/

Tomlp14 avatar May 18 '22 22:05 Tomlp14

Hi,

We are actually using KTX for the environment part only (Indirect light and Skybox) Mostly for 3D only usage (and for reflections in case of non AR Environmental HDR lighting mode) This part is completely dependent on Filament new features and I have to say that we didn't investigate it yet.

Would you mind asking it on the Filament discussions section and link it here?

Thanks for the report

ThomasGorisse avatar May 19 '22 08:05 ThomasGorisse

I just took a look and KTX2 was added in Filament 1.22.1 a few days ago (https://github.com/google/filament/issues/4771). So it should work as soon as we update to this Filament version.

StevenMOG avatar May 19 '22 08:05 StevenMOG

I'm currently updating Filament to 1.22.1 within SceneView but got some wavering render issue. I'll let you know when it's pushed.

Thanks both for your report.

ThomasGorisse avatar May 19 '22 12:05 ThomasGorisse

You can follow the status here: https://github.com/google/filament/issues/5577

ThomasGorisse avatar May 19 '22 13:05 ThomasGorisse

It's now handled by SceneView > 0.8.0

ThomasGorisse avatar Aug 18 '22 08:08 ThomasGorisse