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: Support orthographic camera #519

Open
gkjohnson opened this issue Mar 29, 2024 · 1 comment · May be fixed by #606
Open

GlobeControls: Support orthographic camera #519

gkjohnson opened this issue Mar 29, 2024 · 1 comment · May be fixed by #606
Milestone

Comments

@gkjohnson
Copy link
Contributor

gkjohnson commented Mar 29, 2024

Currently when zooming in and out the orthographic camera does not move meaning it does not work with an ortho camera causing the interaction state to not change. One issue is we need to be able to know how much of the earth is visible and at what point to enable rotation.

Setting the near clip plane also needs to be adjusted.

@gkjohnson gkjohnson added this to the v0.3.32 milestone Mar 29, 2024
@gkjohnson gkjohnson modified the milestones: v0.3.32, v0.3.33 Apr 24, 2024
@gkjohnson gkjohnson modified the milestones: v0.3.33, v0.3.34 May 14, 2024
@gkjohnson
Copy link
Contributor Author

gkjohnson commented Jul 3, 2024

Related to #537, #531

The simplest approach will probably be to use a "virtual" perspective camera that uses a reasonable default FoV (like ~70 deg) positioned such that it matches the view frame at some distance? The problem is which distance.

edit distance from focus point can be calculated based on world size of orthographic projection.

@gkjohnson gkjohnson modified the milestones: v0.3.37, v0.3.36 Jul 3, 2024
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 a pull request may close this issue.

1 participant