0025687: Visualization, XCAF - eliminate visual artifacts at the edges of faces
[occt.git] / tests / bugs / vis / bug25687_2
CommitLineData
5bffb882 1puts "============"
2puts "OCC25687"
3puts "AIS_ColoredShape should disable back-face culling for Solids with hidden Face"
4puts "============"
5puts ""
6
7set x_check_coord 200
8set y_check_coord 200
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
23vaspects b -subshapes b_2 -setvis 0
24
25if {"[vreadpixel ${x_check_coord} ${y_check_coord} rgb name]" != "GREEN"} {
26 puts "Error: back-face culling should be disabled, but seems to be not."
27}
28
29set only_screen 1