Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to get correct miltiview rendering result in one frame #57

Open
zhj296409022 opened this issue Oct 18, 2023 · 1 comment
Open

how to get correct miltiview rendering result in one frame #57

zhj296409022 opened this issue Oct 18, 2023 · 1 comment

Comments

@zhj296409022
Copy link

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?

@zhj296409022
Copy link
Author

zhj296409022 commented Oct 18, 2023

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant