duesentrieb66 Posted March 24, 2018 Posted March 24, 2018 Hello All, I have 2 identical triangles in different places and need to know the rotation and movement to get from triangle #1 to triangle #2. There is no perpendicular angle in that triangle(s). the rotation has to be in quaternions. The movement in x=x+/-n y=y+/-n z=z+/-n I am coding in Java3d but any other language would work for me to understand how to do that. Any help is much appreciated! Thanks, Duesentrieb
Country Boy Posted August 10, 2018 Posted August 10, 2018 (edited) "What I would do is first determine the translation necessary to move one vertex of the first triangle to the corresponding vertex of the second triangle. Then determine the rotation necessary to map the other two vertices to their corresponding vertices. The translation and rotation can be written as a single matrix multiplication using "quaternions". Edited August 10, 2018 by Country Boy
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now