-
Notifications
You must be signed in to change notification settings - Fork 4
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
Model Not Displaying in Cesium After Compressing #5
Comments
Hi, Can you try using the existing image?
shall take a look at the line endings |
Fix line endings (when cloning on windows) globally: do
Or per git clone:
|
Hi, Thank you for your prompt response! I ran the commands as you suggested. This resolved the Windows line ending issue, and the compressed B3DM models were generated successfully. However, when I attempted to visualize the compressed models in Cesium, they remain invisible. The uncompressed model displays correctly, but the compressed version does not show up at all. |
ok, can you attach one of the input b3dm's? |
Since the dataset is large, I’m sharing a subset for reference. Here are the links:
Please let me know if any other details are needed. Thank you! |
took a look at a.b3dm in Estrela_recorte.zip\Estrela_recorte\Data - the glb file in the b3dm is already Draco compressed by 'Agisoft Metashape' (I've used https://github.com/bertt/b3dm.tooling to get from b3dm to glb). |
Thank you for taking the time to investigate and for your support. I looked into it further, and you're right, Agisoft Metashape does indeed apply Draco compression by default. Thanks for clarifying that! |
Btw there is an old issue about this #2 to improve the error handling when there is already Draco compression. |
I encountered an issue when trying to run the Docker command:
I initially faced errors due to Windows-style line endings (\r\n) in the compress.sh script. I resolved this by converting the line endings to Unix-style using the dos2unix tool while working in WSL.
After successfully running the script, the compressed model was generated without any errors. However, when trying to display the compressed model in Cesium, it did not appear. The model loads without throwing any errors, but remains invisible. In contrast, the original uncompressed model displays correctly.
Any suggestions for resolving this or understanding why the compressed model is not rendering would be greatly appreciated.
The text was updated successfully, but these errors were encountered: