1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-18 14:27:39 +03:00

0027130: Visualization, Ray tracing - skip structures with transformation persistence flag

Objects with transform persistence are detected as non ray-tracable and redered using the rasterization approach.
The renderFiltered() method moved to the OpenGl_Group class.

v3d/raytrace/bug27130: test case added
This commit is contained in:
mzernova
2020-07-09 11:32:40 +03:00
committed by bugmaster
parent 21c7c45701
commit 4552cb8552
8 changed files with 67 additions and 29 deletions

View File

@@ -108,7 +108,7 @@ namespace
thePlane->Update (aContext, anObjAspectFace != NULL ? anObjAspectFace->Aspect() : Handle(Graphic3d_Aspects)());
theWorkspace->SetAspects (thePlane->AspectFace());
theWorkspace->SetRenderFilter (aPrevFilter);
if (!theWorkspace->ShouldRender (&thePlane->Primitives()))
if (!theWorkspace->ShouldRender (&thePlane->Primitives(), aGroupIter.Value()))
{
continue;
}