]> OCCT Git - occt.git/commit
0031039: Visualization - add elliptical gradient background style
authorachesnok <achesnok@opencascade.com>
Tue, 21 Sep 2021 15:42:21 +0000 (18:42 +0300)
committerkgv <kgv@opencascade.com>
Sun, 26 Sep 2021 08:05:34 +0000 (11:05 +0300)
commit9af0d66b849ddce139dad856da170ce53db7b1e2
tree02951978d8e045a792704d4bc3ca2ba91f6144a2
parent3be25c11705b931ff623f372a24e3e1b2203899c
0031039: Visualization - add elliptical gradient background style

Added new elliptical gradient fill method and updated vbackground command.
Renamed enum values of Aspect_GradientFillMethod and defined aliases for old ones.
Changed draw mode in OpenGl_BackgroundArray from triangle-strip to GL_TRIANGLES.
src/Aspect/Aspect_GradientBackground.cxx
src/Aspect/Aspect_GradientBackground.hxx
src/Aspect/Aspect_GradientFillMethod.hxx
src/OpenGl/OpenGl_BackgroundArray.cxx
src/OpenGl/OpenGl_View.cxx
src/V3d/V3d_View.hxx
src/V3d/V3d_Viewer.hxx
src/ViewerTest/ViewerTest_OpenGlCommands.cxx
src/ViewerTest/ViewerTest_ViewerCommands.cxx
tests/opengl/data/background/bug25775
tests/opengl/data/background/elliptical [new file with mode: 0644]