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

Print warnings or errors when singular transformation matrices are detected. #137

Open
ziriax opened this issue Aug 12, 2020 · 2 comments
Open

Comments

@ziriax
Copy link
Contributor

ziriax commented Aug 12, 2020

See e.g. the test scene ZeroParentScaleTestAnim.ma

Related to #136

@fire
Copy link
Contributor

fire commented Sep 15, 2020

We thought of a way to avoid this. Use a no inherit parent and then it's reset. Continue onwards normally.

The case comes when we have too many 0.01 transforms. The next one in the chain gets reset.

Thoughts?

@ziriax
Copy link
Contributor Author

ziriax commented Sep 15, 2020

I don't think a general solution exists, this is just the unfortunate choice that was made by the graphics industry to use linear algebra matrices to represent scene graph kinematics...

They should have picked dual quaternions, or more generally Clifford algebra instead, and keep scaling as a final deformation stage, but they didn't. So now we're stuck with these singularties forever ;)

See e.g. the SIGGRAPH video https://www.youtube.com/watch?v=tX4H_ctggYo&t=18m

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

No branches or pull requests

2 participants