1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/vis/bug26599
kgv b8db9379fe 0032203: Draw Harness, ViewerTest - drop dependency from OpenGL
Added TKOpenGlTest and TKD3DHostTest Draw Harness plugins.
TKOpenGlTest is automatically loaded by ViewerTest::ViewerInit().

Commands vgldebug, vvbo, vcaps and vuserdraw have been moved to TKOpenGlTest.
New command vglshaders lists GLSL programs defined by OpenGl_GraphicDriver,
previously implemented by "vshaderprog -list".

Added new command vdriver for graphic driver selection.
Removed erroneous code from command vstereo.
2021-03-17 19:56:54 +03:00

22 lines
416 B
Plaintext
Executable File

puts "============"
puts "CR26599: Visualization, TKOpenGl - gradient background should reset model transformation in Core profile"
puts "============"
puts ""
vinit View1
vclear
vaxo
vbackground -gradient RED BLUE -gradientMode VERTICAL
box b 1 2 3
vdisplay b
vfit
vlocation b -rotate 0 0 0 0 0 1 50
vmoveto 380 50
checkcolor 380 50 0.87450981140136719 0 0.12156862765550613
vdump ${imagedir}/${casename}.png