1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/bugs/vis/bug349
duv b5ac8292b0 0024001: Stereographic rendering support
Deleted TODOs which were used when branch was built without OpenCL.
Modified test case bugs/vis/bug23747_2 (changed textured shape)
2014-01-23 14:46:06 +04:00

103 lines
2.3 KiB
Plaintext
Executable File

puts "========"
puts "OCC349"
puts "1. Hidden line removal algorithm works incorrect in the perspective view"
puts "========"
vinit
box b 100 900 300
set 3dviewer 1
vdisplay b
OCC280 1 0
vfit
set x1 135
set y1 170
set x2 314
set y2 97
set x3 172
set y3 184
set x4 32
set y4 241
set x5 156
set y5 263
set x6 305
set y6 186
set x7 186
set y7 280
set x8 54
set y8 342
set x9 32
set y9 286
set x10 295
set y10 142
set x11 322
set y11 153
set x12 56
set y12 305
#
# ___________2________________
# /| /|
# / | / |
# / | / |
# / | / |
# / | / |
# 1 | 3 |
# / | / |
# / | / |
# / | / |
# / | / |
# ----------------4------------ |
# | | | |
# | | | |
# | | | |
# | 10 | 11
# | | | |
# | | | |
# | | | |
# | | | |
# | | | |
# 9 | 12 |
# | |___________6____|__________|
# | / | /
# | / | /
# | / | /
# | / | /
# | 5 | /
# | / | 7
# | / | /
# | / | /
# | / | /
# |/ |/
# |--------------8------------|
#
#
checkcolor ${x1} ${y1} 1 1 0
checkcolor ${x2} ${y2} 1 1 0
checkcolor ${x3} ${y3} 1 1 0
checkcolor ${x4} ${y4} 1 1 0
checkcolor ${x7} ${y7} 1 1 0
checkcolor ${x8} ${y8} 1 1 0
checkcolor ${x9} ${y9} 1 1 0
checkcolor ${x11} ${y11} 1 1 0
checkcolor ${x12} ${y12} 1 1 0
checkcolor ${x5} ${y5} 0 0 0
checkcolor ${x6} ${y6} 0 0 0
checkcolor ${x10} ${y10} 0 0 0
set only_screen 1