mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0030434: Visualization, TKV3d - add "NoUpdate" state of frustum culling optimization
Frustum culling is now managed by Graphic3d_RenderingParams::FrustumCullingState flag and can be switched into Graphic3d_RenderingParams::FrustumCulling_NoUpdate state useful for debugging the algorithm. Draw Harness command vrustumculling has been replaced by vrenderparams -frustumCulling.
This commit is contained in:
@@ -3173,24 +3173,6 @@ void V3d_View::Translate (const Handle(Graphic3d_Camera)& theCamera,
|
||||
theCamera->Transform (aPanTrsf);
|
||||
}
|
||||
|
||||
// =======================================================================
|
||||
// function : IsCullingEnabled
|
||||
// purpose :
|
||||
// =======================================================================
|
||||
Standard_Boolean V3d_View::IsCullingEnabled() const
|
||||
{
|
||||
return myView->IsCullingEnabled();
|
||||
}
|
||||
|
||||
// =======================================================================
|
||||
// function : SetFrustumCulling
|
||||
// purpose :
|
||||
// =======================================================================
|
||||
void V3d_View::SetFrustumCulling (const Standard_Boolean theToClip)
|
||||
{
|
||||
myView->SetCullingEnabled (theToClip);
|
||||
}
|
||||
|
||||
// =======================================================================
|
||||
// function : DiagnosticInformation
|
||||
// purpose :
|
||||
|
Reference in New Issue
Block a user