first of all, thank you for providing this wonderful 3D render tutorial. It helps me to understand the whole process, instead of a black box that you just call it.
However, I do have a question on the camera_matrix function in camera.py. When I pressed left/right/up/down, the rotation doesn't look right (it feels more like translation). After I searched a bit, I think the camera_matrix needs to be inversed before the function return it, based on this blog
def camera_matrix(self):
self.camera_update_axii()
return np.linalg.inv(self.translate_matrix() @ self.rotate_matrix())
After I revert the camera matrix, the rotation does looks way better. Although now the tank looks up side down.
Would like to know what do you think.