Hi matt:
I have used your code to generate a viewport for a single frame of images, but I have meet a problem with continuous dynamic viewport generation. As you answered earlier, the track file should be formatted, I set the first column of the track file to indicate the frame number, and the next three columns to indicate the head position, specifically yaw, pitch and roll. But after reading your code carefully, I found that your rotation matrix is 3x3. I don't quite understand the specific meaning of the rotation matrix, because many datasets use yaw, pitch and roll to indicate the head position.
Best wishes!
Hi matt: I have used your code to generate a viewport for a single frame of images, but I have meet a problem with continuous dynamic viewport generation. As you answered earlier, the track file should be formatted, I set the first column of the track file to indicate the frame number, and the next three columns to indicate the head position, specifically yaw, pitch and roll. But after reading your code carefully, I found that your rotation matrix is 3x3. I don't quite understand the specific meaning of the rotation matrix, because many datasets use yaw, pitch and roll to indicate the head position. Best wishes!