Skip to content

setupFrustum bug  #30

@ShihanWang

Description

@ShihanWang

in open_chisel/src/camera/PinholeCamera.cpp function: void PinholeCamera::SetupFrustum(const Transform& view, Frustum* frustum) const, line 2 where Frustum::SetFromParams(xxx) was used, but the 4th param should not be intrinsics.GetFx() ?
the code is :
void PinholeCamera::SetupFrustum(const Transform& view, Frustum* frustum) const
{
assert(frustum != nullptr);
frustum->SetFromParams(view, nearPlane, farPlane, intrinsics.GetFy(), intrinsics.GetFy(), intrinsics.GetCx(), intrinsics.GetCy(), width, height);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions