-
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
3D Tiles in 2D/CV #4884
3D Tiles in 2D/CV #4884
Conversation
Contains local, ecef, quantized, and rtc: |
There's also some new selection/visibility failures in this branch. |
@@ -30,7 +30,6 @@ | |||
//Sandcastle_Begin | |||
|
|||
var viewer = new Cesium.Viewer('cesiumContainer', { | |||
scene3DOnly : true, |
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.
Remove this from the other 3D Tiles Sandcastle examples.
|
|
Part of #3241 |
The 3D Tiles Batch Table Hierarchy example works in 2D, but not in CV. |
The 3D Tiles Point Cloud Styling example only works in 3D; the tileset does not show up in 2D or CV. |
@pmconne - keep an eye on progress here for 3D Tiles in 2D and Columbus View. |
var sseDenominator = camera.frustum.sseDenominator; | ||
error = (geometricError * height) / (distance * sseDenominator); | ||
|
||
if (tileset.dynamicScreenSpaceError) { |
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.
Can we still account for this in CV? What about 2D?
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.
I don't think it would make sense in 2D. Maybe CV, but we don't have fog in CV either.
@bagnell it would be good to test this with a massive tileset and make sure 2D uses the SSE to not load too many tiles. |
Just those comments, good start @bagnell. |
Here are some updated models: |
This is ready for another look. I still need to add tests, but all of the issues mentioned should be fixed. |
Yes, the rest of the tests are in #4922. |
In the 3D Tiles Batch Table Hierarchy example:
|
In the 3D Tiles Sandcastle example, the "Instanced" tileset does not show up in 2D and CV. |
Just those two issues. |
@pjcozzi This is ready. |
Looks good! |
Add 3D Tiles support for 2D and Columbus View.
The majority of this change was for models using RTC or are positioned in ECF (model matrix is identity). I'll open a PR for those changes in master. @lilleyse Can you create two simple glTF models from the tilesets you made for me for testing?