-
Notifications
You must be signed in to change notification settings - Fork 334
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
Orbit eye: bugfixes and usability improvements #3817
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great to have this fixed at last!
But I don't think we should provide a "default" view coordinates opinion in our API.
We can have an internal default fallback for the world-up in re_space_view_spatial
. And I vote for +Z=up
After rolling the up-axis, the next rotation causes a big (non-smooth) jump |
d3a9a86
to
fd1a2ec
Compare
fd1a2ec
to
09a0b5f
Compare
Would be nice to get this in @teh-cmc :) |
Yep I'd love to; it's looking pretty good now, there's just one last math issue left and it goes way beyond my very limited abilities 😶 I'll get someone to help me next week so we can land this! |
I wish we could get this in - having a fixed up-axis would really help camera interaction |
|
* Continuing the work in #3817 ### What - The orbit eye now always maintains an up axis internally (+Z by default, if there is no `ViewCoordinates`). - When a user rolls the camera (middle mouse drag), we now change the internal up-axis, which makes rolling then orbiting a much better experience as you don't end up in a weird state with no up axis. - The orbit eye center visualization now indicates the current up-axis https://github.com/rerun-io/rerun/assets/1148717/daeb1e57-8fe3-4ac9-84fc-c673bb70ad09 - Fixes #3539 - Fixes #3420 ### Checklist * [x] I have read and agree to [Contributor Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and the [Code of Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md) * [x] I've included a screenshot or gif (if applicable) * [x] I have tested the web demo (if applicable): * Using newly built examples: [app.rerun.io](https://app.rerun.io/pr/5193/index.html) * Using examples from latest `main` build: [app.rerun.io](https://app.rerun.io/pr/5193/index.html?manifest_url=https://app.rerun.io/version/main/examples_manifest.json) * Using full set of examples from `nightly` build: [app.rerun.io](https://app.rerun.io/pr/5193/index.html?manifest_url=https://app.rerun.io/version/nightly/examples_manifest.json) * [x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG * [x] If applicable, add a new check to the [release checklist](https://github.com/rerun-io/rerun/blob/main/tests/python/release_checklist)! - [PR Build Summary](https://build.rerun.io/pr/5193) - [Docs preview](https://rerun.io/preview/c4c8821a33c3df282e31c64ca1d719358666b72a/docs) <!--DOCS-PREVIEW--> - [Examples preview](https://rerun.io/preview/c4c8821a33c3df282e31c64ca1d719358666b72a/examples) <!--EXAMPLES-PREVIEW--> - [Recent benchmark results](https://build.rerun.io/graphs/crates.html) - [Wasm size tracking](https://build.rerun.io/graphs/sizes.html) --------- Co-authored-by: Clement Rey <[email protected]>
RUB
if unspecified.23-10-11_19.11.55.patched.mp4
What
Checklist