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

0024521: Visualization - automatic back face culling is not turned on for Solids packed into compound

StdPrs_ToolShadedShape::IsClosed():
- return true if shape is closed Solid (NOT just free closed Shell)
- accept compound of closed Solids as well
- ignore Solids with incomplete triangulation

TKOpenGl, automatically disable back face culling when:
- clipping/capping planes are in effect
- for translucent objects

Update bug23227 test case (now back faces are clipped).

OpenGl_Workspace::AspectFace() - disable culling in case of hatched style
This commit is contained in:
kgv
2014-01-16 21:09:20 +04:00
committed by bugmaster
parent fd03ee4b3b
commit 3b1817a9e2
10 changed files with 316 additions and 143 deletions

View File

@@ -44,10 +44,11 @@ struct TEL_COLOUR
};
typedef TEL_COLOUR* tel_colour;
typedef enum
typedef enum
{
TelCullNone,
TelCullFront,
TelCullUndefined = -1,
TelCullNone = 0,
TelCullFront,
TelCullBack
} TelCullMode;