Replies: 1 comment 1 reply
-
|
After some more debugging and research, this seems like a resurgence of #543 - it seems like rotating primitives is bugged in the current version. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
It's my first time working with rendering, and I'm trying to rotate an object based on
pitchandrolleuler angles. However, I've been having more trouble than expected, and the usual suspects (the examples, the docs, asking an LLM) haven't been able to help me solve it myself.I've slimmed my code down to a runnable demo app, which you can find here
Here's a screenshot:
It's a combination of the
point_cloudandscreenexamples. Changing the pitch and roll sliders should rotate theAxesobject (in the screenshot, the one on the right) without changing the view of the global coordinate system (the axes on the left). However, changingpitchdoesn't seem to do anything until you changeroll, and they don't work correctly. I expect the axes object we're rotating to rotate around its origin with the arrows remaining orthogonal, but somehow the arrows stop being orthogonal with each other when the transformation is appliedThis is how I'm doing the rotation:
I'm really not sure why I can't get a simple rotation to work, if someone would be able to point me in the right direction I'd greatly appreciate it.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions