1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/vis/bug23385
ski 5747059b21 0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
2016-02-05 11:14:37 +03:00

31 lines
668 B
Plaintext
Executable File

puts "============"
puts "OCC23385"
puts "============"
puts ""
####################################################################################
# Bug in AIS_TexturedShape::Compute()
####################################################################################
set BugNumber OCC23385
vinit
restore [locate_data_file OCC23115-bottle.brep] b
explode b F
vdisplay b_16
vtexture b_16 [locate_data_file OCC23385-carrelage1.gif]
vtexrepeat b_16 3 2
vsetdispmode b_16 1
vfit
if { "[vreadpixel 85 73 rgb name]" != "BLACK" } {
puts "OK ${BugNumber}"
} else {
puts "Faulty ${BugNumber}"
}
checkview -screenshot -3d -path ${imagedir}/${test_image}.png