-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Fill poles #42
Fill poles #42
Conversation
…en they are not covered by streaming imagery.
…reparation for culling tests for the poles.
…d some minor tests.
…l be used in lighting the poles.
Conflicts: Source/Scene/CentralBody.js
…aps because the intensity changed with the zoom level.
Looks good, except for a couple of issues:
Also, please update CHANGES.md. |
…dinates and window coordinates.
…and remove duplicates from ExtentTessellator.
You should use the new Extent object everywhere an extent is used. For example, Tile.extent, Tile.tileXYToExtent, maxExtent in all the TileProviders and CentralBody. |
…ace. It seems to be a bug in ANGLE.
@bagnell Let me know when this is ready for me to have another look. Also, do you need to test on my AMD card today? |
Don't forget to update CHANGES.md. |
occluded = (occludeePoint && !state.occluder.isVisible(new BoundingSphere(occludeePoint, 0.0))) || !state.occluder.isVisible(boundingVolume); | ||
|
||
if (frustumCull || occluded) { | ||
this._vaNorthPole = this._vaNorthPole && this._vaNorthPole.destroy(); |
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.
Why destroy the north and south poles here? They use a trivial amount of memory, and it runs the risk of shader recompiles when the poles come in and out of view.
… poles. Tweaked the ExtentTessellator to handle these extents.
I added the final changes based on review. Ready for the merge. |
Very nice. Merge in master, then I'll merge this back to master. |
Conflicts: Source/Core/ExtentTessellator.js Specs/Core/ExtentTessellatorSpec.js
I merged master and fixed the broken tests and examples. |
Merge in v1.38
Fill the poles in screen space.