-
Notifications
You must be signed in to change notification settings - Fork 241
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
index order not preserved #579
Comments
May be I am only person with this problem? |
@ua4192 I believe this is an effect of the (higher compression) edgebreaker compression method. You can disable that and use sequential compression with the |
Hi. Many thanks for the information. Do you know what more or less will be the increment of the size of glbs comparing wusing --draco.compressionLevel=10? Many thanks in advanced. |
The file size will be higher (less compression) with level 0 than with level 10, but it's hard to say how much higher. Reordering vertices allows Draco compression to be more effective. |
Hi.
I have a big problem with gltf-pipeline.
I use this convertor to convert my models to GLB with Draco compression.
Everything works fine but the index order I have set on my models is not preserved after conversion.
I need to preserve index order because my models are composed by many individual other models (merge).
The point is that before exporting the scene I sort the models to be merged order by box size (bounding box) in ascendant mode.
In this way, depending on the distance to the merged model I can use the setDrawRange method in order to hide the small models inside the merged model.
The problem is under gltf-pipeline because if I export to GLTF without Draco compression it preserves the index order and setDrawrange works as expected.
Is there any possibility to keep the index order untouched?
Many thanks in advanced.
Best regards
The text was updated successfully, but these errors were encountered: