-
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
Skip LODs #5128
Skip LODs #5128
Conversation
…ceToTile calculations
I want to do more profiling, but #5128 (comment) needs to be addressed first. Please rise and repeat until you think it is reasonable compared to the |
??? @pjcozzi What are you testing with? These are my results with AGI: |
Will send you the dataset offline. |
@pjcozzi These are my results: Not sure what's happening. Are you sure it was done loading? I get similar results like that if it's still loading. |
Are you guys using the combined Cesium.js with debug code removed? Just a kindly reminder that all non-trivial performance testing should be done with the that build to avoid our developer error checks from skewing the numbers. |
I'm seeing similar results to @pjcozzi with a release build Like @pjcozzi this seems like a pretty simple fix. Back face commands could be saved in the command's derived commands rather than cloning every time. Also the stencil render state could be saved somewhere too, maybe also as part of a stencil derived command, or otherwise as just the render state. A tile's EDIT: I don't think I'm right about |
We could just make the |
It's not that well specified right now, but the main way is to add a property to the command's |
In the 3D Tiles roadmap, #3241, are any of the following items no longer relevant:
|
@austinEng the separate |
@lilleyse Actually the change to do this here broke a bunch of tests. My guess is that this is because the original code just sets the visibilityPlaneMask to that of the other tile and ignores the external tileset's root bounding information. Is this the desired behavior or are our tests wrong? |
@pjcozzi @lilleyse Updated to use derived commands to signficantly improve performance. My profiles are showing Can you check your performance numbers? |
Looks a lot better for my tests. For my one tileset, the GC is high at ~3.2%, but it is similar in the |
So +1 from me to merge this when you guys are ready. |
Double check that point clouds still work fine, since their commands do not go through the batch table. Looking at the code it should be fine since |
@lilleyse Added the CESIUM_3D_TILE pass and resolved the issue with external tilesets |
Ran on a point cloud tileset for good measure. Time to release it!! |
This PR updates tile selection to skip levels of detail, often resulting in a 50% decrease in data downloaded.
Task list: