-
Notifications
You must be signed in to change notification settings - Fork 24
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
Draco decoding error for some mesh chunks #7044
Comments
Might be worth comparing this with the export mesh task from voxelytics (and see whether they use the same byte range and read the same byte content from it before passing it to the decoder) |
I had a look at this issue, but didn't make much progress so far. Since this is an oversegmentation mesh file, it would be very helpful to get to know the segment ID of the respective undecodable mesh. @fm3 Do you think you could find that out in the backend using the test branch Philipp prepared? Once we know the segment ID, I could check whether the export mesh task is able to export/decode the respective mesh. |
The undecodable chunk at The segment has three chunks (as listed by the backend):
|
I am in fact getting
It works with other segment ids. So I would conclude that this is not a webknossos problem. |
Recomputing the mesh file with the newest version of Voxelytics fixed the issue. Since there were quite a few mesh related fixes since October 2022 (computation date of the erroneous mesh file) it's likely that this was caused by a bug in Voxelytics that has been fixed in the mean time. I replaced the mesh file with the new working version and the full agglomerate 355 mesh can be loaded without any errors, now: link |
Context
Precomputed meshes (computed on mapping 0) with some other mapping (maybe this is unrelated to the mapping)
See #7001 (comment) where this was protocolled first, but it's independent of that PR.
Expected Behavior
all chunks should be decoded with no error.
Current Behavior
some chunks cannot be decoded by the draco library on the front-end.
Steps to Reproduce the bug
Generic:
Tailored repro:
Also see this dev instance where only the problematic chunk is fetched:
I suspect that this is a back-end problem as I couldn't find anything unusual in the front-end (and we simply hand the buffer to the draco decoder). The requested and received byte sizes match, but I don't have more insights unfortunately. The draco buffer seems to be recognized as such (otherwise, another error would be thrown earlier), but the format seems to be off.
One thing I noticed is that the failing chunk might be empty anyway (I didn't see obvious holes in the mesh, at least).
The text was updated successfully, but these errors were encountered: