]> OCCT Git - occt-copy.git/commit
0024437: Efficient HLR visualization based on OpenGL and GLSL
authorasl <asl@opencascade.com>
Thu, 17 May 2018 13:10:30 +0000 (16:10 +0300)
committerabv <abv@opencascade.com>
Tue, 3 Jul 2018 07:42:17 +0000 (10:42 +0300)
commit7dced57d92bab21ef3868a06c9be6b9cbe35a116
tree9504151bba937ede1ece78c40ae942e9201c8219
parent2b751582ac3141524c35b0abf3c5c138fb0bb7ba
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
17 files changed:
src/AIS/AIS_Shape.cxx
src/AIS/AIS_Shape.hxx
src/Aspect/Aspect_InteriorStyle.hxx
src/OpenGl/OpenGl_Context.cxx
src/OpenGl/OpenGl_Context.hxx
src/OpenGl/OpenGl_PrimitiveArray.cxx
src/OpenGl/OpenGl_SetOfShaderPrograms.hxx
src/OpenGl/OpenGl_ShaderManager.cxx
src/OpenGl/OpenGl_ShaderManager.hxx
src/OpenGl/OpenGl_ShaderProgram.cxx
src/OpenGl/OpenGl_ShaderProgram.hxx
src/OpenGl/OpenGl_Text.cxx
src/StdPrs/StdPrs_ShadedShape.cxx
src/StdPrs/StdPrs_ShadedShape.hxx
src/ViewerTest/ViewerTest.cxx
tests/bugs/vis/bug24437 [new file with mode: 0644]
tests/bugs/vis/bug29787 [new file with mode: 0644]