-
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
Replace Gltf3DTileContent
with ModelExperimental3DTileContent
#10055
Conversation
Thanks for the pull request @j9liu!
Reviewers, don't forget to make sure that:
|
@ptrgags - Following up on your suggestion about the color style test, specifying the time doesn't fix the test failure. If you want to replicate my test, I put this at the beginning of
|
@j9liu okay, I'll take a look at this later today |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@j9liu this code is looking solid and the sandcastles are working fine.
Just a couple small things aside from that one test that's breaking (which I'll investigate more later today)
@ptrgags -- thanks for the feedback! Just implemented your changes, so all that's left is figuring out what's wrong with that last test. |
@j9liu I made a simpler sandcastle to see what's happening with the style. And it's not handling the alpha correctly. I'm going to investigate more today, There's a chance I could have introduced a regression in #10018, or the model coloring code isn't discarding when it finds alpha = 0 |
@j9liu I confirmed that the model color stage is where the problem is. Though the fix shouldn't happen in the shader, it should be the render state that's updated. I looked back at In
However,
And update unit tests as necessary. |
@ptrgags - Thanks for the guidance. I added your changes and the test passes now. Let me know if there are any concerns with the code I added. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@j9liu this is looking very close, just a few small tweaks before I merge it
@ptrgags - just pushed! |
@j9liu changes look good, I'm merging! |
Fixes #10049.
In this PR, all instances of
Gltf3DTileContent
have been replaced by instances ofModelExperimental3DTileContent
. The corresponding specs were removed. Additionally, missing tests were added for theglb
file format, and the 3D Tiles Next sandcastles were updated to no longer require theenableModelExperimental
flag.Implementing these changes causes three unit tests to fail:
Two of these failures are expected and will be addressed in a later issue. However, the color style test should be working, and @ptrgags mentioned he would look into this tomorrow.