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

Error plotting across boundaries. #40

Open
max-anu opened this issue Jan 6, 2025 · 0 comments
Open

Error plotting across boundaries. #40

max-anu opened this issue Jan 6, 2025 · 0 comments

Comments

@max-anu
Copy link
Contributor

max-anu commented Jan 6, 2025

Plotting a region which goes across the -180/+180 longitude causes problems.

Here's an example that fails:

min_lat, max_lat, min_lon, max_lon = (-52.20000076293945, 10.257999420166016, 89.24864196777344, 206.01136779785156)

vertical_exaggeration=20
cropbox=((min_lat, min_lon), (max_lat, max_lon))
lv = accessvis.plot_region(cropbox=cropbox, vertical_exaggeration=vertical_exaggeration)
lv.set_properties(diffuse=0.6, ambient=0.85, specular=0.25, shininess=0.03, light=[1,1,0.98,1], lightpos=[0,0,10000,1])
lv.display((640,480))

You can see strange ghosting occurring here:
Image

from owen: There's issues with wrapping the textures and topo. We need to support regions that cross data boundaries.

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

No branches or pull requests

1 participant