mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-07 18:30:55 +03:00
0024376: BMP image cannot be read
Test case for issues CR24376
This commit is contained in:
parent
bf4bf038c8
commit
86b03c9774
25
tests/bugs/vis/bug24376
Executable file
25
tests/bugs/vis/bug24376
Executable file
@ -0,0 +1,25 @@
|
|||||||
|
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
|
||||||
|
|
||||||
|
set only_screen 1
|
Loading…
x
Reference in New Issue
Block a user