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

Fixed additive refinement traversal bug #5778

Merged
merged 3 commits into from
Aug 25, 2017
Merged

Conversation

lilleyse
Copy link
Contributor

Fixes #5766

This fixes an issue exclusive to additive refinement and with skipLevelOfDetail set to true (default).

Tiles with additive refinement were not getting loaded unless they were leaf tiles or they couldn't refine to their children due to SSE. Many interior tiles did not fit this condition and were never loaded. This fix forces additive tiles to always load during the traversal.

@pjcozzi
Copy link
Contributor

pjcozzi commented Aug 25, 2017

Code looks OK. Could be worth adding a comment why additive always loads the tile.

@ggetz could you please test this?

@ggetz
Copy link
Contributor

ggetz commented Aug 25, 2017

Yep, looks like it's working! We may want to also update the thumbnail for the example, since it shows the initial view where not all the building are loaded.

@lilleyse
Copy link
Contributor Author

Updated thumbnail

@ggetz
Copy link
Contributor

ggetz commented Aug 25, 2017

@pjcozzi This should be good to go.

@pjcozzi
Copy link
Contributor

pjcozzi commented Aug 25, 2017

Thanks @lilleyse @ggetz!

@pjcozzi pjcozzi merged commit b1ec41a into master Aug 25, 2017
@pjcozzi pjcozzi deleted the 3d-tiles-additive-fix branch August 25, 2017 14:52
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.

3D Tiles selection bug?
3 participants