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/bug23813
bugmaster 6c7ddf00ce Adjusting test cases for current state of OCCT
1. Modified test cases to improve using of Japanese characters
bugs vis bug22149
bugs vis bug22796_2

2. Modified test case bugs vis bug23813 to avoid regression caused by using vdump command with non-default parameters on remote PCs
bugs vis bug23813

3. Behavior change of test case de iges_2 B1 in DEBUG mode on Linux and Windows platforms (OCC24442)
de iges_2 B1
2013-12-06 15:41:07 +04:00

31 lines
882 B
Plaintext

## It's impossible to make vdump with non-default parameters (width and height) on remote PC
puts "TODO ?OCC23813 Windows: Tcl Exception: Dumping failed!"
puts "TODO ?OCC23813 Windows: TEST INCOMPLETE"
puts "============"
puts "OCC23813"
puts "============"
puts ""
#######################################################################
# TKOpenGl, OpenGl_Texture ignores stride image property
#######################################################################
file delete -force ${imagedir}/texture_412.png
file delete -force ${imagedir}/texture_409.png
box b 1 2 3
vinit
vsetdispmode 1
vdisplay b
vfit
vdump ${imagedir}/texture_409.png rgb 409 409
vdump ${imagedir}/texture_412.png rgb 412 412
# texture loaded correctly
vtexture b ${imagedir}/texture_412.png
# texture is corrupted during uploading to OpenGL
vtexture b ${imagedir}/texture_409.png
set only_screen 1