occt: master 3b1817a9

Author Committer Branch Timestamp Parent
kgv bugmaster master 2014-01-16 17:09:20 master fd03ee4b
Affected Issues  0024521: Visualization - automatic back face culling is not turned on for Solids packed into compound
Changeset 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
mod - src/InterfaceGraphic/InterfaceGraphic_telem.hxx Diff File
mod - src/OpenGl/OpenGl_Clipping.cxx Diff File
mod - src/OpenGl/OpenGl_Clipping.hxx Diff File
mod - src/OpenGl/OpenGl_Workspace.cxx Diff File
mod - src/OpenGl/OpenGl_Workspace.hxx Diff File
mod - src/OpenGl/OpenGl_Workspace_5.cxx Diff File
mod - src/StdPrs/StdPrs_ShadedShape.cxx Diff File
mod - src/StdPrs/StdPrs_ToolShadedShape.cdl Diff File
mod - src/StdPrs/StdPrs_ToolShadedShape.cxx Diff File
mod - tests/bugs/vis/bug23227 Diff File