mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0028760: Visualization, TKOpenGl - avoid excessive frustum culling traverse within extra OIT rendering pass
Culling traverse is no more called implicitly within OpenGl_Layer::Render(). Instead, all layers are traversed at onces within OpenGl_View::render() beforehand. OpenGl_BVHTreeSelector methods have been renamed to better reflect their meaning. Non-persistent culling options has been moved to dedicated structure OpenGl_BVHTreeSelector::CullingContext so that OpenGl_BVHTreeSelector instance can be used for different Layers without modifying its state.
This commit is contained in:
@@ -336,7 +336,7 @@ public:
|
||||
|
||||
//! Returns selector for BVH tree, providing a possibility to store information
|
||||
//! about current view volume and to detect which objects are overlapping it.
|
||||
OpenGl_BVHTreeSelector& BVHTreeSelector() { return myBVHSelector; }
|
||||
const OpenGl_BVHTreeSelector& BVHTreeSelector() const { return myBVHSelector; }
|
||||
|
||||
//! Returns true if there are immediate structures to display
|
||||
bool HasImmediateStructures() const
|
||||
|
Reference in New Issue
Block a user