Notice: If you are member of any public project or group, please make sure that your GitLab username is not the same as the LRZ identifier/Kennung (see https://gitlab.lrz.de/profile/account). Please change your username if necessary. For more information see the section "Public projects / Öffentliche Projekte" at https://doku.lrz.de/display/PUBLIC/GitLab . Thank you!

Commit 4465267b authored by Jakob Weiss's avatar Jakob Weiss

Fixed stereocameragenerator.cpp

(cherry picked from commit 00cdb42948e45681b5cde12629f6970b906b0eec)
parent c908bd58
......@@ -81,7 +81,7 @@ namespace campvis {
camera.getFocus() - rightVec, camera.getUpVector(),
camera.getFovy(), camera.getRatio(), nearDist, farDist);
camLeft.setFrustum(cgt::Frustum(left, right, bottom, top, nearDist, farDist));
camRight.setProjectionMode(cgt::Camera::FRUSTUM);
camLeft.setProjectionMode(cgt::Camera::FRUSTUM);
dataContainer.addData(p_sourceCameraID.getValue() + ".left", new CameraData(camLeft));
dataContainer.addData(p_sourceCameraID.getValue() + ".right", new CameraData(camRight));
......@@ -92,4 +92,4 @@ namespace campvis {
{
}
};
\ No newline at end of file
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment