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

GlobeControls: Allow for more control over ortho camera near distance #861

Open
gkjohnson opened this issue Dec 9, 2024 · 1 comment
Open
Milestone

Comments

@gkjohnson
Copy link
Contributor

It's currently pulled out very far which means it always looks correct but can affect atmospheric rendering. See #859.

A solution would be to keep a certain "buffer" over the surface of the ellipsoid when positioning the near plane.

Screen.Recording.2024-12-09.at.3.17.14.PM.mov
@gkjohnson gkjohnson modified the milestones: v0.3.45, v0.3.46 Dec 9, 2024
@gkjohnson
Copy link
Contributor Author

When computing the near plane for an orthographic camera it is just being set fairly crudely resulting in a large margin unnecessarily. Instead we should calculate the distance from the bottom (and top?) of the projection to an ellipsoid with some margin. The margin can then increase up to a certain point as the camera zooms out.

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

No branches or pull requests

1 participant