0028107: Visualization - provide a flexible interface to set custom hatch styles
[occt.git] / tests / bugs / vis / bug23102
CommitLineData
3bea4c16 1puts "================"
2puts "OCC23102"
3puts "================"
4puts ""
5###################################################################################################
6# Change the algorithm of rendering the 3d viewer background using tiled texture
7###################################################################################################
8
9set BugNumber OCC23102
10
11vinit
12vsetbg [locate_data_file OCC23102.bmp] TILED
13
14set x1 58
15set y1 4
16set R_bg 0.70196002721786499
17set G_bg 0.78039199113845825
18set B_bg 0.86274499999999998
19
ccadc126 20set WrongColor "$R_bg $G_bg $B_bg"
21
22set Color [vreadpixel ${x1} ${y1} rgb]
3bea4c16 23
24#Resume
25puts ""
ccadc126 26if { "[vreadpixel ${x1} ${y1} rgb]" != "$WrongColor" } {
3bea4c16 27 puts "OK ${BugNumber}"
28} else {
29 puts "Faulty ${BugNumber}"
30}
31
5747059b 32checkview -screenshot -3d -path ${imagedir}/${test_image}.png
3bea4c16 33