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

Artifacts in 2D / CV mode when rendering over the IDL #10401

Open
j9liu opened this issue May 25, 2022 · 0 comments
Open

Artifacts in 2D / CV mode when rendering over the IDL #10401

j9liu opened this issue May 25, 2022 · 0 comments

Comments

@j9liu
Copy link
Contributor

j9liu commented May 25, 2022

#10384 added correct 2D / CV projection to ModelExperimental, but it doesn't properly handle models that cross the IDL. For example, a green unshaded cube will be stretched across the entire map:

image

These artifacts also appear in the projected S2 globe:

image

@ptrgags made a diagram of what was likely happening. Due to the IDL and wrapping of coordinates, one side of the model is rendered 360 degrees off from where it should be.
image

Unfortunately there is no way to adjust the longitude / latitude of the positions to modulo them before projecting; it's not possible to derive them from the model matrix. The most thorough solution might be to follow what GeometryPipeline does: split the geometry along the IDL, and render them both.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant