Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
9.2.2023: Due to updates GitLab will be unavailable for some minutes between 9:00 and 11:00.
Open sidebar
CAMP
campvis-public
Commits
c740d32c
Commit
c740d32c
authored
Aug 19, 2013
by
Christian Schulte zu Berge
Browse files
fixed SimpleRaycaster not writing depth image
parent
30e6fec6
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/vis/processors/simpleraycaster.cpp
View file @
c740d32c
...
...
@@ -68,8 +68,10 @@ namespace campvis {
if
(
p_enableShadowing
.
getValue
())
_shader
->
setUniform
(
"_shadowIntensity"
,
p_shadowIntensity
.
getValue
());
glEnable
(
GL_DEPTH_TEST
);
glClear
(
GL_COLOR_BUFFER_BIT
|
GL_DEPTH_BUFFER_BIT
);
QuadRdr
.
renderQuad
();
glDisable
(
GL_DEPTH_TEST
);
LGL_ERROR
;
output
.
second
->
deactivate
();
...
...
modules/vis/processors/volumerenderer.cpp
View file @
c740d32c
...
...
@@ -115,6 +115,7 @@ namespace campvis {
}
else
if
(
getInvalidationLevel
()
&
RAYCASTER_INVALID
)
{
_raycaster
.
process
(
data
);
p_outputImage
.
issueWrite
();
}
validate
(
INVALID_RESULT
|
PG_INVALID
|
EEP_INVALID
|
RAYCASTER_INVALID
);
...
...
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