Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CAMP
campvis-public
Commits
4465267b
Commit
4465267b
authored
May 10, 2017
by
Jakob Weiss
Browse files
Fixed stereocameragenerator.cpp
(cherry picked from commit 00cdb42948e45681b5cde12629f6970b906b0eec)
parent
c908bd58
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/stereo/processors/stereocameragenerator.cpp
View file @
4465267b
...
...
@@ -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
));
cam
Righ
t
.
setProjectionMode
(
cgt
::
Camera
::
FRUSTUM
);
cam
Lef
t
.
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
};
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment