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/bug24376
ski 5747059b21 0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
2016-02-05 11:14:37 +03:00

26 lines
591 B
Plaintext
Executable File

puts "============"
puts "OCC24376"
puts "============"
puts ""
#######################################################################
# BMP image cannot be read
#######################################################################
box b 1 1 1
explode b FACE
vinit
vdisplay b_1
vtexture b_1 [locate_data_file bug24376_Soap.bmp]
vfit
set x_coord 200
set y_coord 100
checkcolor $x_coord $y_coord 0 0 0
set x_coord 200
set y_coord 90
checkcolor $x_coord $y_coord 0.78039216995239258 0.55294120311737061 0.094117648899555206
checkview -screenshot -3d -path ${imagedir}/${test_image}.png