Mapping between mouse conditioning values and degrees in Matrix-Game 2
Hi! I was wondering what is the mapping between yaw/pitch degrees and the mouse x/y action values that are used to condition the model? Matrix-Game-2/utils/visualize.py includes a linear mapping from the action value mouse_x to on-screen mouse locations, but it seems like it's only for visualization purposes.
global_scale_factor = 0.1
mouse_scale_x = 15 * global_scale_factor
mouse_scale_y = 15 * 4 * global_scale_factor
Could you provide information regarding the mapping between degrees and the mouse conditioning values?
Thanks for your attention to our work! The camera values can be transformed into real degrees with a simple linear transformation indeed. You could directly multiply 15 to the camera values to get the real degrees. The code you mentioned in the issues is just for visualization.