1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0024437: Efficient HLR visualization based on OpenGL and GLSL

New interior style Aspect_IS_OUTLINE is supported for Graphic3d_AspectFillArea3d.
If this style is set, the triangles primitive array is drawn using the outline shader

A new flag theMostAllowedEdgeClass is passed to the methods StdPrs_ShadedShape: Add, FillFaceBoundaries.
It defines the most allowed continuity class of edges that will be included into the presentation.
The edges with more continuity will be ignored.
By default, the value is CN, i.e. all edges are included into the presentation.
The new methods in AIS_Shape: SetMostContinuityClass, MostContinuityClass allows specifying the most allowed continuity class of edges at the level of shape's presentation
This commit is contained in:
asl
2018-05-17 16:10:30 +03:00
committed by abv
parent 2b751582ac
commit 7dced57d92
17 changed files with 438 additions and 28 deletions

View File

@@ -74,7 +74,13 @@ Standard_CString OpenGl_ShaderProgram::PredefinedKeywords[] =
"occOitDepthFactor", // OpenGl_OCCT_OIT_DEPTH_FACTOR
"occTexTrsf2d", // OpenGl_OCCT_TEXTURE_TRSF2D
"occPointSize" // OpenGl_OCCT_POINT_SIZE
"occPointSize", // OpenGl_OCCT_POINT_SIZE
"occOrthoScale", // OpenGl_OCCT_ORTHO_SCALE
"occIsSilhouettePass", // OpenGl_OCCT_IS_SILHOUETTE_PASS
"occBackgroundColor", // OpenGl_OCCT_BACKGROUND_COLOR
"occSilhouetteColor", // OpenGl_OCCT_SILHOUETTE_COLOR
"occSilhouetteThickness" // OpenGl_OCCT_SILHOUETTE_THICKNESS
};
namespace