Open zhj296409022 opened 8 months ago
The code is here
angle = np.radians(180) # 将角度转换为弧度
rotation_matrix = np.array([[np.cos(angle), 0, np.sin(angle), 0],
[0, 1, 0, 0],
[-np.sin(angle), 0, np.cos(angle), 0],
[0, 0, 0, 1]])
rotated_pose=np.dot(rotation_matrix,pose)
I want to texture mesh in a frame, but it awlays render a blank image when I rotate camera pose, how should I operate to obtain the correct rendering result?