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

What is the local coordinate system for Transforms 1 and 2 in this model? #7

Open
coderextreme opened this issue Jun 6, 2024 · 1 comment

Comments

@coderextreme
Copy link

Am I missing something? Why are two of the boxes in the same position?
localcenters.x3d.txt

@create3000
Copy link
Owner

create3000 commented Jun 6, 2024

The middle shape is transformed like this P'=P*R*-C*C and the outer shape is transformed like this P'=P*-C*C. You can see now that the center (C) can be canceled out, so both shape stay on the same position and here on (0 0 0).

Every Transform node does P'=P*-C*-SO*S*SO*R*T*C. If unset, the matrices are identity matrices and can be removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants