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

A potential bug about fov in gui code #23

Open
yuyuyu223 opened this issue May 9, 2024 · 0 comments
Open

A potential bug about fov in gui code #23

yuyuyu223 opened this issue May 9, 2024 · 0 comments

Comments

@yuyuyu223
Copy link

In the calculation of custom_cam, H and W should be proportional to the tangent values of fovx and fovy. The bug in the code will not be a problem in a square viewport, but it will cause distortion in a rectangle viewport.

image

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