Closed YaroslavShchekaturov closed 1 year ago
Hi!
Rt is w2c (there is a formula in the README in Section Reconstructing Custom Scenes).
So for the given function, Rt transforms a world point to OpenCV camera space, and the matrix gl_transform
transforms the point from OpenCV camera space to OpenGL camera space. The projection_matrix
uses OpenGL conventions for the clip space transformation.
Dear @mworchel Thank you very much for your response!
Hi there!
Which camera convention do you use? Is Rt a c2w or w2c matrix here?
def to_gl_camera(camera, resolution, n=1000, f=5000):