]> OCCT Git - occt.git/commit
0033056: Visualization - add front face culling option
authorkgv <kgv@opencascade.com>
Wed, 6 Jul 2022 20:39:14 +0000 (23:39 +0300)
committersmoskvin <smoskvin@opencascade.com>
Thu, 7 Jul 2022 16:27:17 +0000 (19:27 +0300)
commit9db675b3d6833d18fee6187fee259d666bc048f8
treec410839e99be0a9e7284b8897bb77b0940a39b82
parente1d576bf3103060320b9d8b1fdf2608ac152230e
0033056: Visualization - add front face culling option

Added Graphic3d_TypeOfBackfacingModel_FrontCulled enumeration value.
OpenGl_Context::SetFaceCulling() now supports GL_FRONT in addition to GL_BACK.

Added -faceCulling option to vaspects Draw command.
src/BinMXCAFDoc/BinMXCAFDoc_VisMaterialDriver.cxx
src/Graphic3d/Graphic3d_TypeOfBackfacingModel.hxx
src/OpenGl/OpenGl_Context.cxx
src/OpenGl/OpenGl_Context.hxx
src/OpenGl/OpenGl_PrimitiveArray.cxx
src/OpenGl/OpenGl_Workspace.cxx
src/RWGltf/RWGltf_GltfMaterialMap.cxx
src/ViewerTest/ViewerTest.cxx
src/XDEDRAW/XDEDRAW_Colors.cxx
src/XmlMXCAFDoc/XmlMXCAFDoc_VisMaterialDriver.cxx
tests/opengl/data/general/cullface [new file with mode: 0644]