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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user