-
-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
glTF extension CESIUM_RTC is not supported which causes texture to not be loaded #1705
Comments
I confirm that this file does not render as expected in F3D: While it works fine in https://gltf-viewer.donmccurdy.com/ |
Use |
I can confirm this is the same from my side, for gltf meshes with draco + KTX2 compression (KHR_texture_basisu extension with etc1s compression), which are not rendering in f3d while they render in donmccurdy gltf-viewer or viewer.needle.tools There are no obvious errors in the verbose output of f3d with the OP provided draco-compressed file, but there is error Should I open a dedicated issue for KTX2 texture compression support (the same way it was done for
|
Thanks, just did it here: #1707 |
@Saijin-Naib have you been able to run with |
Yes, just now sorry:
|
F3D is not built with draco support afaict, what is the output of |
This is my package for Alpine, which I built with DRACO:
|
Humm, what about this:
|
Just tried the above command, which says for me that the draco plugin is already loaded (I installed f3d 2.5.0 via What's weird is that the following sample assets with draco compression and png textures do load: Duck, Avocado, BoomBox, and Lantern. Could this be caused by the CESIUM_RTC glTF extension in the case of the OP mesh file?
|
No change in behavior, unfortunately. This line looks salient (to my very limited knowledge):
Would that explain the mesh not loading? Is that an issue with how my distro has DRACO built/packaged, and why it does not view anything here but @mwestphal got at least an untextured mesh? Alpine APKBUILD for DRACO: |
Found the issue:
In order to get access to glTF + draco you need a more recent VTK (9.3.20240214) . This issue should stay open anyway because the texture is not loading in the file you shared. |
Ah, excellent find! It looks like vtk is in the RC phase for 9.4, so I will wait and re-build against that. In the meanwhile, I am opening an MR against our DRACO to ensure it is built with mesh/pointcloud compression support enabled as well, to see if that improves things. Does the CESIUM_RTC line look salient from jo-chemla? |
Indeed! Ill update the issue accordingly Thanks for all your debugs @jo-chemla @Saijin-Naib ! |
I've update the issue and added it in the list: #608 |
Describe the bug
When loaded in f3d v2.5.0, a file using CESIUM_RTC extension is not loaded correctly
To Reproduce
Steps to reproduce the behavior:
odm_textured_model_geo.zip
Original issue below:
Describe the bug
When loaded in f3d v2.5.0 with DRACO support, a DRACO-encoded GLB does not render.
To Reproduce
Steps to reproduce the behavior:
odm_textured_model_geo.zip
Expected behavior
The DRACO-encoded GLB renders properly.
System Information:
F3D Information
Paste the content of
f3d --version
:Additional context
The same file renders in Blender, MeshLab, CloudCompare, and WebODM's PoTree viewer.
The text was updated successfully, but these errors were encountered: