Skip to content

transformation.py中的小bug #2

Description

@xiehao-ai

感谢作者的视频和开源代码,获益匪浅。
在学习代码时发现transformation.pyget_proj_matrix函数的参数fov未进行角度和弧度的转换,导致结果出现不正常的情况。
应在t2a = np.tan(fov / 2.0)之前加上fov = fov / 180.0 * np.pi

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions