0027958: Visualization, AIS_Trihedron - add shaded presentation option
[occt.git] / tests / bugs / vis / bug25624
CommitLineData
42b96b07 1puts "========"
2puts "OCC25624"
3puts "========"
4puts ""
5############################################################################
6puts "Visualization - selection is incorrect in perspective mode in a specific case"
7############################################################################
8
9pload MODELING VISUALIZATION
10box a 0.0 0.0 0.0 0.1 0.1 0.1
11box b 0.0 0.0 0.5 0.1 0.1 0.1
12box c 0.0 0.0 1.0 0.1 0.1 0.1
13
14vinit View1
15vautozfit 1
16vclear
17vtop
18vsetdispmode 0
19vcamera -persp
20vdisplay a b c
21vfit
22vselect 210 210
23
24# check if the closest box is selected
25checkcolor 170 10 0.8 0.8 0.8
26
27# check if the farthest box is displayed
28# without any highlighting
29checkcolor 210 184 1 1 0
8750c36a 30
5747059b 31checkview -screenshot -3d -path ${imagedir}/${test_image}.png