0029528: Visualization, TKOpenGl - allow defining sRGB textures
[occt.git] / tests / bugs / vis / bug25687_1
CommitLineData
5bffb882 1puts "============"
2puts "OCC25687"
3puts "AIS_ColoredShape should activate back-face culling for valid Solids."
4puts "============"
5puts ""
6
7set x_check_coord 225
8set y_check_coord 32
9
10box b 10 10 10
11explode b f
12
13vinit View1
14vclear
15vaxo
16vsetdispmode 1
17
18vdisplay b
19vviewparams -proj 0.5 0.3 0.1
20vfit
21
22vaspects b -subshapes b_1 -setcolor GREEN
23
24if {"[vreadpixel ${x_check_coord} ${y_check_coord} rgb name]" == "GREEN"} {
25 puts "Error: back-face culling should be turned ON, but back-face is still visible."
26}
27
5747059b 28checkview -screenshot -3d -path ${imagedir}/${test_image}.png