Skip to content
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 Fixes #6341

Merged
merged 7 commits into from
Mar 19, 2018
Merged

Draco Fixes #6341

merged 7 commits into from
Mar 19, 2018

Conversation

ggetz
Copy link
Contributor

@ggetz ggetz commented Mar 16, 2018

@lilleyse

Includes updates as suggested in #6191 and fixes for concurrency found when loading tilesets

  • Updated Sandcastle example to include "Load Draco Compressed Model"
  • Updated docs to include supported extensions

@cesium-concierge
Copy link

Signed CLA is on file.

@ggetz, thanks for the pull request! Maintainers, we have a signed CLA from @ggetz, so you can review this at any time.

⚠️ I noticed that CHANGES.md has not been updated. If this change updates the public API in any way, fixes a bug, or makes any non-trivial update, please add a bullet point to CHANGES.md and comment on this pull request so we know it was updated. For more info, see the Pull Request Guidelines.


I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome.

🌍 🌎 🌏

loadResources.primitivesToDecode.dequeue();
return promise.then(addDecodededBuffers(taskData, model, context));
return promise.then(addDecodededBuffers(model, context))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we rename addDecodededBuffers to createAddDecodedBuffersCallback or something similar, otherwise it looks like a bug in promise usage in the code.

Although why is this even a separate function? Might be more readable to just declare it inline since it's the only place it's used.

@ggetz ggetz mentioned this pull request Mar 16, 2018
1 task
Copy link
Contributor

@lilleyse lilleyse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes look good. Also check out my note here: #6191 (comment)

* </li><li>
* {@link https://github.com/KhronosGroup/glTF/blob/master/extensions/1.0/Vendor/WEB3D_quantized_attributes/README.md|WEB3D_quantized_attributes}
* </li><li>
* {@link https://github.com/KhronosGroup/glTF/blob/master/extensions/2.0/Khronos/KHR_materials_pbrSpecularGlossiness/README.md|KHR_materials_pbrSpecularGlossiness}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cesium doesn't support the spec-gloss extension at the moment.

@lilleyse
Copy link
Contributor

Oh I think I missed your recent commit. One second...

@ggetz
Copy link
Contributor Author

ggetz commented Mar 16, 2018

@lilleyse Sorry if I missed it, but do you have any thoughts regarding #6191 (comment)?

@ggetz
Copy link
Contributor Author

ggetz commented Mar 19, 2018

@lilleyse Updated!

@lilleyse
Copy link
Contributor

Thanks @ggetz, the new approach looks good.

@lilleyse lilleyse merged commit 393f3d8 into master Mar 19, 2018
@lilleyse lilleyse deleted the draco-fixes branch March 19, 2018 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants