Skip to content

Camera Opengl to OSG or with MatrixTransfrom #1198

Answered by robertosfield
Daoudou asked this question in Q&A
Discussion options

You must be logged in to vote

You don't need to go through the LookAt functions, the matrices can be applied directly.

FYI, the Camera::setViewMatrix(matrix) sets the matrix directly, the Camera::setViewMatrixAsLookAt(..) generates the matrix based on the gluLookAt convention and then calls Camera::setViewMatrix.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Daoudou
Comment options

@Daoudou
Comment options

Answer selected by Daoudou
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants