]> OCCT Git - occt-copy.git/commit
0029295: Visualization, TKOpenGl - provide distance culling option
authorkgv <kgv@opencascade.com>
Sun, 5 Nov 2017 15:07:25 +0000 (18:07 +0300)
committerkgv <kgv@opencascade.com>
Wed, 15 Jul 2020 13:09:41 +0000 (16:09 +0300)
commitcc964ef4d34cb0c2d847366836a751c3ffddb991
tree8ed5449a0d597c1d95eb343f631d1ad45982dc38
parentcb127824b2961ce7c560e16e6085b87238aa72f2
0029295: Visualization, TKOpenGl - provide distance culling option

Graphic3d_ZLayerSettings::CullingDistance() and ::CullingSize() - added
new properties configuring culling of small and distant objects, disabled by default.
OpenGl_BVHTreeSelector now handles size culling and distance culling in addition to frustom culling.
src/Graphic3d/Graphic3d_ZLayerSettings.hxx
src/OpenGl/OpenGl_BVHTreeSelector.cxx
src/OpenGl/OpenGl_BVHTreeSelector.hxx
src/OpenGl/OpenGl_Layer.cxx
src/OpenGl/OpenGl_Layer.hxx
src/OpenGl/OpenGl_View_Redraw.cxx
src/ViewerTest/ViewerTest_ViewerCommands.cxx
tests/v3d/glsl/culldist [new file with mode: 0644]
tests/v3d/glsl/cullsize [new file with mode: 0644]