mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +03:00
0032301: Visualization, TKOpenGl - depth peeling is broken with OpenGl_Caps::buffersOpaqueAlpha option
OpenGl_LayerList::renderTransparent() - color mask is now set to write into Alpha channel of depth peeling FBOs. OpenGl_View::blitBuffers() - avoid using undefined color for glClear(GL_COLOR_BUFFER_BIT) operation.
This commit is contained in:
@@ -36,6 +36,11 @@ vdump $imagedir/${casename}_weight.png
|
||||
vrenderparams -oit peeling 4
|
||||
vdump $imagedir/${casename}_peel.png
|
||||
|
||||
# test opaqueAlpha option - result should be the same
|
||||
vcaps -opaqueAlpha 1
|
||||
vdump $imagedir/${casename}_peel_rgb.png
|
||||
vcaps -opaqueAlpha 0
|
||||
|
||||
# VTK viewer, just for comparison
|
||||
set hasVtk 0
|
||||
if { [vdriver -default] == "TKOpenGl" } {
|
||||
|
Reference in New Issue
Block a user