0029295: Visualization, TKOpenGl - provide distance culling option
authorkgv <kgv@opencascade.com>
Sun, 5 Nov 2017 15:07:25 +0000 (18:07 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 9 Nov 2017 15:08:05 +0000 (18:08 +0300)
commit4ecf34cce7d5ea995a2ce1d35ffa91790fc42aa1
treec05e4af9cade52a79842b9e719759eb7bc8db559
parent761d8807667d3b1735e9d7680d384a768b54145a
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]