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

[Planets] Offset camera distance to Quadtree / LOD resolver #28

Open
kenjinp opened this issue Feb 12, 2023 · 1 comment
Open

[Planets] Offset camera distance to Quadtree / LOD resolver #28

kenjinp opened this issue Feb 12, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@kenjinp
Copy link
Owner

kenjinp commented Feb 12, 2023

Right now, if you have highly distorted surfaces like a big mountain, the quadtree won't resolve to the highest LOD, because the camera never gets close enough to the surface of the sphere.

@kenjinp kenjinp added the enhancement New feature or request label Feb 12, 2023
@kenjinp kenjinp moved this to Triage in Hello-Worlds Roadmap Feb 12, 2023
@kenjinp
Copy link
Owner Author

kenjinp commented Aug 15, 2023

I've implemented this as a hook/component here: https://github.com/kenjinp/hello-worlds/blob/main/apps/docs/examples/moon/Moon.tsx#L71

Should investigate if this can be generalized and extracted to the library, requires knowing exact planet data height data from height generator function

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
Status: Triage
Development

No branches or pull requests

1 participant