-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
The model compressed with draco cannot be displayed in cesium without any error message #10516
Comments
@lilleyse Would you be able to take a look at this, or recommend someone else to look into what may be causing this? If this is strictly an issue with gltf-pipeline or the draco module, we sure ensure the issue is in the right place. |
@lilleyse No, this isn't fixed in |
Ok, I think this is a duplicate of #7471 then |
@lanvada as a workaround could you try |
I'm going to close since this is a duplicate of #7471. |
I use gltf-pipeline to compress the model. however, the compressed model cannot be displayed in cesium.
this is the input parameter :
gltf-pipeline -i {input} -o {output} -d --draco.compressionLevel=7 --draco.quantizePositionBits=20
I also tested the model in gltf-viewer and it loads correctly in the gltf-viewer
I found the following four situations during testing:
quantizeBits
parameter is set.compressionLevel
parameter is set.unifiedQuantization
parameter while setting thequantizeBits
parameter. No matter if theunifiedQuantization
parameter is set to true or false, the model can be loaded in cesium but cannot be loaded in gltf-viewerSandcastle example:
This is my model before compression:
stairs-raw.zip
This is my compressed model:
stairs-draco.zip
Browser:
Edge
Operating System:
Windows
The text was updated successfully, but these errors were encountered: