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

Z-Ordering #2960

Merged
merged 8 commits into from
Aug 24, 2015
Merged

Z-Ordering #2960

merged 8 commits into from
Aug 24, 2015

Conversation

bagnell
Copy link
Contributor

@bagnell bagnell commented Aug 21, 2015

Adds Scene.groundPrimitives. Use the raise/lower functions for correct z-ordering.

@@ -1606,6 +1620,7 @@ define([
}

scene._primitives.update(context, frameState, commandList);
scene._groundPrimitives.update(context, frameState, commandList);
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you think we should do this before _primitives.update so all ground primitives are drawn below all primitives if both were to have GroundPrimitives?

@pjcozzi
Copy link
Contributor

pjcozzi commented Aug 22, 2015

Code looks good, just that question.

@bagnell
Copy link
Contributor Author

bagnell commented Aug 24, 2015

@pjcozzi This is ready,

@pjcozzi
Copy link
Contributor

pjcozzi commented Aug 24, 2015

The amazement continues.

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.

2 participants