Skip to content

transformation.py中的小bug #2

@xiehao-ai

Description

@xiehao-ai

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

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