Correction of testing case for issue 24374
[occt.git] / tests / bugs / vis / bug349
CommitLineData
61c421bf 1puts "========"
2puts "OCC349"
3puts "1. Hidden line removal algorithm works incorrect in the perspective view"
4puts "========"
5
6vinit
7box b 100 900 300
8set 3dviewer 1
9vdisplay b
10
11OCC280 1 0
12
13vfit
14
15set x1 165
16set y1 109
17
18set x2 380
19set y2 26
20
21set x3 215
22set y3 130
23
24set x4 31
25set y4 199
26
27set x5 188
28set y5 254
29
30set x6 351
31set y6 177
32
33set x7 216
34set y7 287
35
36set x8 22
37set y8 373
38
39set x9 2
40set y9 249
41
42set x10 345
43set y10 92
44
45set x11 393
46set y11 109
47
48set x12 52
49set y12 284
50
51#
52# ___________2________________
53# /| /|
54# / | / |
55# / | / |
56# / | / |
57# / | / |
58# 1 | 3 |
59# / | / |
60# / | / |
61# / | / |
62# / | / |
63# ----------------4------------ |
64# | | | |
65# | | | |
66# | | | |
67# | 10 | 11
68# | | | |
69# | | | |
70# | | | |
71# | | | |
72# | | | |
73# 9 | 12 |
74# | |___________6____|__________|
75# | / | /
76# | / | /
77# | / | /
78# | / | /
79# | 5 | /
80# | / | 7
81# | / | /
82# | / | /
83# | / | /
84# |/ |/
85# |--------------8------------|
86#
87#
88
61c421bf 89checkcolor ${x1} ${y1} 1 1 0
90checkcolor ${x2} ${y2} 1 1 0
91checkcolor ${x3} ${y3} 1 1 0
92checkcolor ${x4} ${y4} 1 1 0
93checkcolor ${x7} ${y7} 1 1 0
94checkcolor ${x8} ${y8} 1 1 0
95checkcolor ${x9} ${y9} 1 1 0
96checkcolor ${x11} ${y11} 1 1 0
97checkcolor ${x12} ${y12} 1 1 0
98checkcolor ${x5} ${y5} 0 0 0
99checkcolor ${x6} ${y6} 0 0 0
100checkcolor ${x10} ${y10} 0 0 0
101
102set only_screen 1