1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-31 11:15:31 +03:00
occt/tests/bugs/vis/bug26599
kgv e43a4f2bd9 0026599: Visualization, TKOpenGl - gradient background should reset model transformation in Core profile
OpenGl_View::DrawBackground() - reset ModelWorldState as wellm not just WorldViewState.
Test case for issue CR26599
2015-08-27 15:30:14 +03:00

28 lines
586 B
Plaintext
Executable File

puts "============"
puts "CR26599"
puts "============"
puts ""
##########################################################################################
# Visualization, TKOpenGl - gradient background should reset model transformation in Core profile
##########################################################################################
vcaps -ffp 0
vinit View1
vclear
vaxo
vsetgradientbg 255 0 0 0 0 255 2
box b 1 2 3
vdisplay b
vfit
vlocrotate b 0 0 0 0 0 1 50
vmoveto 380 50
checkcolor 380 50 0.87450981140136719 0 0.12156862765550613
vdump ${imagedir}/${casename}.png