0032208: Tests - refactor visualization tests to cover several graphic drivers
[occt.git] / tests / opengl / data / background / bug26599
1 puts "============"
2 puts "CR26599: Visualization, TKOpenGl - gradient background should reset model transformation in Core profile"
3 puts "============"
4 puts ""
5
6 pload MODELING VISUALIZATION
7 vinit View1
8 vclear
9 vaxo
10
11 vbackground -gradient RED BLUE -gradientMode VERTICAL
12 box b 1 2 3
13 vdisplay b
14
15 vfit
16
17 vlocation b -rotate 0 0 0 0 0 1 50
18
19 vmoveto 380 50
20 checkcolor 380 50 0.87450981140136719 0 0.12156862765550613
21
22 vdump ${imagedir}/${casename}.png