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

Improve distribution of detail #27

Open
Ralith opened this issue Sep 18, 2020 · 0 comments
Open

Improve distribution of detail #27

Ralith opened this issue Sep 18, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@Ralith
Copy link
Owner

Ralith commented Sep 18, 2020

Planetmap presently uses a traditional cubemap projection to distribute information over a radial domain. This is effective, but leads to some areas having ~50% more detail than others. Adopting a nonlinear projection within each cube face would allow us to drastically improve that for a small additional sampling cost. A variety of such mappings are compared in Cube-to-sphere Projections for Procedural Texturing and Beyond, which ultimately recommends a 5th-order polynomial approach that ~doubles the (very small) cost of applying the projection in exchange for reducing maximum area distortion to 7%. The increased sampling cost is further offset by the capacity to significantly reduce the number of samples (e.g. vertexes) necessary to achieve a certain minimum level of detail.

Applying this would lead to improved storage efficiency and isotropy, and make it much easier to define isotropic functions (e.g. for tree placement) in terms of individual chunks.

@Ralith Ralith added the enhancement New feature or request label May 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant