0029516: Visualization - eliminate redundant property Graphic3d_MaterialAspect::Refle...
authorkgv <kgv@opencascade.com>
Fri, 30 Aug 2019 18:52:12 +0000 (21:52 +0300)
committerbugmaster <bugmaster@opencascade.com>
Wed, 4 Sep 2019 12:13:18 +0000 (15:13 +0300)
commit611684187de2a7b7c59c33f7da9ca51afa64a326
treed1baf2bf4e31eb583f33bebbe8554bb9c428c4fe
parentc8428cb3e456e42cbe875baf6a2b39be41fe0ff3
0029516: Visualization - eliminate redundant property Graphic3d_MaterialAspect::ReflectionMode()

Decomposition of Ambient, Diffuse, Specular and Emissive properties has been eliminated within *Graphic3d_MaterialAspect* definition,
so that following methods of *Graphic3d_MaterialAspect* class have been removed:
SetReflectionMode(), SetReflectionModeOn(), Ambient(), Diffuse(), Emissive(), Specular(), SetAmbient(), SetDiffuse(), SetSpecular(), SetEmissive().

Graphic3d_NOM_NEON_GNC non-physical material definition has been corrected
and define WHITE emission color coefficient instead of YELLOW.

Added method Graphic3d_ClipPlane::SetCappingColor() for more straight-forward modification of Capping color in case of non-physical material.
Prs3d_ShadingAspect::Color() has been fixed to return InteriorColor instead of material color coefficient in case of non-physical material.
29 files changed:
dox/dev_guides/upgrade/upgrade.md
samples/mfc/standard/Common/User_Cylinder.cxx
src/AIS/AIS_Dimension.cxx
src/AIS/AIS_Manipulator.cxx
src/AIS/AIS_Shape.cxx
src/AIS/AIS_Triangulation.cxx
src/AIS/AIS_ViewCube.cxx
src/Graphic3d/Graphic3d_ClipPlane.cxx
src/Graphic3d/Graphic3d_ClipPlane.hxx
src/Graphic3d/Graphic3d_MaterialAspect.cxx
src/Graphic3d/Graphic3d_MaterialAspect.hxx
src/MeshVS/MeshVS_ElementalColorPrsBuilder.cxx
src/MeshVS/MeshVS_MeshPrsBuilder.cxx
src/MeshVS/MeshVS_NodalColorPrsBuilder.cxx
src/OpenGl/OpenGl_Aspects.cxx
src/OpenGl/OpenGl_Material.hxx
src/OpenGl/OpenGl_SceneGeometry.cxx
src/OpenGl/OpenGl_SceneGeometry.hxx
src/OpenGl/OpenGl_View.hxx
src/OpenGl/OpenGl_View_Raytrace.cxx
src/OpenGl/OpenGl_Workspace.cxx
src/Prs3d/Prs3d_ShadingAspect.cxx
src/QABugs/QABugs_17.cxx
src/QABugs/QABugs_PresentableObject.cxx
src/V3d/V3d_Trihedron.cxx
src/ViewerTest/ViewerTest.cxx
src/ViewerTest/ViewerTest_ObjectCommands.cxx
src/ViewerTest/ViewerTest_OpenGlCommands.cxx
src/ViewerTest/ViewerTest_ViewerCommands.cxx