Skip to content

Add support for ellipsoid-based voxels #1711

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

Open
wants to merge 9 commits into
base: basic-voxel-support
Choose a base branch
from

Conversation

j9liu
Copy link
Contributor

@j9liu j9liu commented Jul 9, 2025

Description

Depends on #1685, so merge that first.

Screenshot 2025-07-09 154050

Data provided by NCEI

This PR adds support for loading and rendering ellipsoid-based voxels. Unlike box voxels, ellipsoid-based voxels account for the curvature of the Earth, and are thus effective at displaying data across a large region on the globe.

Author checklist

  • I have submitted a Contributor License Agreement (only needed once).
  • I have done a full self-review of my code.
  • I have updated the documentation as necessary.

Testing plan

Reach out to me offline for the pictured test data.

Known Issues

There are various visual artifacts... you may have noticed the dithering artifacts along the edges of the data, as well as the hole in the middle. There is also a purple stripe that might be the result of float imprecision with the shape math:

image

These artifacts appear in CesiumJS as well, but they are hidden by either depth testing or linear interpolation.

@j9liu j9liu marked this pull request as ready for review July 10, 2025 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant