How can I convert a model matrix to look at matrix #5045
Unanswered
MeyerBuaharon
asked this question in
Q&A
Replies: 0 comments
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.
-
I am using open3d for my project, and it uses opengl for his visualiztion.
I am trying to understand how can I get my current model_matrix, save it on an ini file, and load it with a
look_at
function that they use.now,
get_model_matrix
is:and look_at` function is:
so in the end what I want is to get the matrix from the get_model_matrix which returns a 4x4 shape, and convert it to [center, eye, up].
If anyone is familiar with it and can tell me how I can convert I would appreciate it.
Example:
For look_at
the get_model_matrix:
For example, I can figure out that the eye column is the same as the last column in the model_matrix, but I can't understand the rest...
Beta Was this translation helpful? Give feedback.
All reactions