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

Normalize quaternions #3094

Merged
merged 3 commits into from
Aug 24, 2023
Merged

Normalize quaternions #3094

merged 3 commits into from
Aug 24, 2023

Conversation

jleibs
Copy link
Member

@jleibs jleibs commented Aug 24, 2023

What

Without normalizing quaternions, the cameras.rs scene part could end up determining that a quaternion is not iso, resulting in unexpextedly failing to show the view frustum.

Checklist

@jleibs jleibs added this to the 0.8.2 milestone Aug 24, 2023
@jleibs jleibs marked this pull request as ready for review August 24, 2023 15:12
@jleibs jleibs force-pushed the jleibs/normalize_quaternions branch from 2df28af to 6b0a918 Compare August 24, 2023 15:13
@jleibs jleibs requested a review from Wumpf August 24, 2023 15:13
@jleibs jleibs force-pushed the jleibs/normalize_quaternions branch from 8b348e6 to 596b11c Compare August 24, 2023 15:30
@jleibs jleibs added 🪳 bug Something isn't working 📺 re_viewer affects re_viewer itself labels Aug 24, 2023
@jleibs jleibs merged commit 1f6b87b into main Aug 24, 2023
@jleibs jleibs deleted the jleibs/normalize_quaternions branch August 24, 2023 16:18
jleibs added a commit that referenced this pull request Aug 31, 2023
Without normalizing quaternions, the cameras.rs scene part could end up
determining that a quaternion is not iso, resulting in unexpextedly
failing to show the view frustum.

* [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 [demo.rerun.io](https://demo.rerun.io/pr/3094) (if
applicable)

- [PR Build Summary](https://build.rerun.io/pr/3094)
- [Docs
preview](https://rerun.io/preview/596b11c21a3d8470ddba00d4c24aef965b45869a/docs)
<!--DOCS-PREVIEW-->
- [Examples
preview](https://rerun.io/preview/596b11c21a3d8470ddba00d4c24aef965b45869a/examples)
<!--EXAMPLES-PREVIEW--><!--EXAMPLES-PREVIEW--><!--EXAMPLES-PREVIEW--><!--EXAMPLES-PREVIEW-->
- [Recent benchmark results](https://ref.rerun.io/dev/bench/)
- [Wasm size tracking](https://ref.rerun.io/dev/sizes/)
jleibs added a commit that referenced this pull request Aug 31, 2023
Without normalizing quaternions, the cameras.rs scene part could end up
determining that a quaternion is not iso, resulting in unexpextedly
failing to show the view frustum.

* [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 [demo.rerun.io](https://demo.rerun.io/pr/3094) (if
applicable)

- [PR Build Summary](https://build.rerun.io/pr/3094)
- [Docs
preview](https://rerun.io/preview/596b11c21a3d8470ddba00d4c24aef965b45869a/docs)
<!--DOCS-PREVIEW-->
- [Examples
preview](https://rerun.io/preview/596b11c21a3d8470ddba00d4c24aef965b45869a/examples)
<!--EXAMPLES-PREVIEW--><!--EXAMPLES-PREVIEW--><!--EXAMPLES-PREVIEW--><!--EXAMPLES-PREVIEW-->
- [Recent benchmark results](https://ref.rerun.io/dev/bench/)
- [Wasm size tracking](https://ref.rerun.io/dev/sizes/)
jleibs added a commit that referenced this pull request Aug 31, 2023
Without normalizing quaternions, the cameras.rs scene part could end up
determining that a quaternion is not iso, resulting in unexpextedly
failing to show the view frustum.

* [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 [demo.rerun.io](https://demo.rerun.io/pr/3094) (if
applicable)

- [PR Build Summary](https://build.rerun.io/pr/3094)
- [Docs
preview](https://rerun.io/preview/596b11c21a3d8470ddba00d4c24aef965b45869a/docs)
<!--DOCS-PREVIEW-->
- [Examples
preview](https://rerun.io/preview/596b11c21a3d8470ddba00d4c24aef965b45869a/examples)
<!--EXAMPLES-PREVIEW--><!--EXAMPLES-PREVIEW--><!--EXAMPLES-PREVIEW--><!--EXAMPLES-PREVIEW-->
- [Recent benchmark results](https://ref.rerun.io/dev/bench/)
- [Wasm size tracking](https://ref.rerun.io/dev/sizes/)
@jleibs jleibs mentioned this pull request Aug 31, 2023
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪳 bug Something isn't working 📺 re_viewer affects re_viewer itself
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants