-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Hello,
In README.md, there is: "The unit of the CAD models is the meter."
I downloaded the free AccuCities CAD model TQ3280 – Free 3D London Sample and the units of that model seem to be centimeters. At least when I measure the length of the model tile side in MeshLab, I get roughly 100 000. I've tried it for all the detail levels of .obj format.
My intention is to render the model from the given camera poses. Currently, to get valid renderings, I have to multiply the translation vector of camera poses by 100 and apply rotation around the global X axis by 90 degs. (For the sake of completeness, I also have to rotate the local coordinate frame around X by 180 degs to get to the OpenGL camera convention, but that is not part of the issue, so I don't include that in the example below.)
T = camr_npz['R'] @ np.array([[1,0,0,0], [0,0,-1,0], [0,1,0,0], [0,0,0,1]])
R = T[0:3, 0:3]
t = T[0:3, 3]
t = 100 * t
Did I misunderstand the instructions?
Thank you in advance!
Edit: Fixed the code.