0030942: Draw Harness, ViewerTest - command vdefaults should abort script on unknown...
[occt.git] / tests / bugs / vis / bug24376
1 puts "============"
2 puts "OCC24376"
3 puts "============"
4 puts ""
5 #######################################################################
6 # BMP image cannot be read
7 #######################################################################
8
9 box b 1 1 1
10 explode b FACE
11
12 vinit
13 vdisplay b_1
14 vtexture b_1 [locate_data_file bug24376_Soap.bmp]
15 vfit
16
17 set x_coord 200
18 set y_coord 100
19 checkcolor $x_coord $y_coord 0 0 0
20
21 set x_coord 200
22 set y_coord 90
23 checkcolor $x_coord $y_coord 0.78039216995239258 0.55294120311737061 0.094117648899555206
24
25 checkview -screenshot -3d -path ${imagedir}/${test_image}.png