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

Zoom Bugfixes #22

Merged
merged 2 commits into from
Oct 5, 2024
Merged

Zoom Bugfixes #22

merged 2 commits into from
Oct 5, 2024

Conversation

aevyrie
Copy link
Owner

@aevyrie aevyrie commented Oct 5, 2024

Fixes for handling zoom at very large scales, as well as clipping artifacts during dolly zoom.

After this change, you can now zoom out past the object the size of the observable universe, and the camera controller will be able to handle zoom limits at this scale without "latching" when floating point computations break down.

This also fixes a dolly zoom bug that has been annoying me forever, where the first frame would show an artifact with the meshes being clipped by the near plane. Turns out this was an ordering issue when receiving dolly zoom events.

@aevyrie aevyrie changed the title Fix zoom failing at large scales Zoom Bugfixes Oct 5, 2024
@aevyrie aevyrie merged commit d8e4531 into main Oct 5, 2024
7 checks passed
@aevyrie aevyrie deleted the fix-zoom-large-scales branch October 5, 2024 06:51
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