0029528: Visualization, TKOpenGl - allow defining sRGB textures
[occt.git] / tests / bugs / vis / bug24867
CommitLineData
550f3b8b 1puts "============"
2puts "OCC24867"
3puts "============"
4puts ""
5#############################################################
6# [Regression] Visualization - polygon offsets look broken
7#############################################################
8
9restore [locate_data_file Top.brep] b
10vinit View1
11vdisplay b
12vfit
13vsetdispmode 1
ccadc126 14vaspects -setwidth 5
550f3b8b 15vmoveto 200 200
aaf8d6a9 16if { "[vreadpixel 264 288 rgb name]" != "CYAN" } {
550f3b8b 17 puts "Error : Highlighting of dimension with flipping in local context failed."
18}
19
aaf8d6a9 20if { "[vreadpixel 251 271 rgb name]" != "CYAN" } {
550f3b8b 21 puts "Error : Highlighting of dimension with flipping in local context failed."
22}
23
24vdump $::imagedir/${::casename}_highlighted.png
25
26vselect 200 200
27vdump $::imagedir/${::casename}_selected.png
28