]> OCCT Git - occt-copy.git/commit
0029300: Visualization, TKOpenGl - provide depth pre-pass option
authorkgv <kgv@opencascade.com>
Tue, 7 Nov 2017 21:11:57 +0000 (00:11 +0300)
committerkgv <kgv@opencascade.com>
Wed, 15 Jul 2020 13:09:42 +0000 (16:09 +0300)
commitc89ab82e4c64d30964e6667f8834a4c0db33063e
tree1d7762b23479a895a5b0200765b05cd6080897d3
parentcc964ef4d34cb0c2d847366836a751c3ffddb991
0029300: Visualization, TKOpenGl - provide depth pre-pass option

OpenGl_LayerList::Render() now handles new option Graphic3d_RenderingParams::ToEnableDepthPrepass
which prepends additional pass to rendering pipeline filling Depth Buffer in advance.
src/Graphic3d/Graphic3d_RenderingParams.hxx
src/Graphic3d/Graphic3d_ZLayerSettings.hxx
src/OpenGl/OpenGl_CappingAlgo.cxx
src/OpenGl/OpenGl_Context.cxx
src/OpenGl/OpenGl_Context.hxx
src/OpenGl/OpenGl_LayerList.cxx
src/OpenGl/OpenGl_PrimitiveArray.cxx
src/OpenGl/OpenGl_Text.cxx
src/ViewerTest/ViewerTest_ViewerCommands.cxx
tests/v3d/glsl/depthprepass [new file with mode: 0644]