You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation handles the near zeros value really well by computing with the largest denominator. However, this will leave the w to be not always positive. Though it will not affect general operation like multiplication, it can result in unexpected behaviors in quaternion blendings.
Moreover, this only happens when the trace is near zero making it more mysterious and unpredictable. I am currently implenting a dual quaternion blending function with it, and it really takes me several good days to find out the reason.
So I suggest add a line of standardize at the end.
The text was updated successfully, but these errors were encountered:
Summary:
An OSS user has pointed out in #1703 that the output of matrix_to_quaternion (in that file) can be non standardized.
This diff solves the issue by adding a line of standardize at the end of the function
Reviewed By: bottler
Differential Revision: D52368721
fbshipit-source-id: c8d0426307fcdb7fd165e032572382d5ae360cde
The current implementation handles the near zeros value really well by computing with the largest denominator. However, this will leave the
w
to be not always positive. Though it will not affect general operation like multiplication, it can result in unexpected behaviors in quaternion blendings.Moreover, this only happens when the trace is near zero making it more mysterious and unpredictable. I am currently implenting a dual quaternion blending function with it, and it really takes me several good days to find out the reason.
So I suggest add a line of standardize at the end.
The text was updated successfully, but these errors were encountered: