0031304: Configuration - TKACIS building failure due to duplicated symbol GeomFillFus...
[occt.git] / tests / bugs / vis / bug23813
CommitLineData
6c7ddf00 1## It's impossible to make vdump with non-default parameters (width and height) on remote PC
6c7ddf00 2
74706083 3puts "============"
4puts "OCC23813"
5puts "============"
6puts ""
7#######################################################################
8# TKOpenGl, OpenGl_Texture ignores stride image property
9#######################################################################
10
11file delete -force ${imagedir}/texture_412.png
12file delete -force ${imagedir}/texture_409.png
13
14box b 1 2 3
15vinit
16vsetdispmode 1
17vdisplay b
18vfit
f978241f 19vdump ${imagedir}/texture_409.png -buffer rgb -width 409 -height 409
20vdump ${imagedir}/texture_412.png -buffer rgb -width 412 -height 412
74706083 21
22# texture loaded correctly
23vtexture b ${imagedir}/texture_412.png
24
25# texture is corrupted during uploading to OpenGL
26vtexture b ${imagedir}/texture_409.png
27
5747059b 28checkview -screenshot -3d -path ${imagedir}/${test_image}.png