0032237: Visualization, TKOpenGl - fix Gouraud shading within perspective camera...
[occt.git] / tests / bugs / vis / bug29020
CommitLineData
6997ff1c 1puts "========"
2puts "0029020: Visualization, V3d_View - workaround image dump issue on Intel OpenGL driver"
3puts "========"
4puts ""
5
6pload MODELING VISUALIZATION
7box b 1 1 1
8vclear
9vinit View1
10vdisplay -dispMode 1 b
11vtop
12vfit
13
14#Get max size of dumped image
15set anExpression {Max texture size: (\d+)}
16regexp $anExpression [vglinfo] _ match
17
18vdump $imagedir/${casename}_max_width.png -width $match -height 100
19
20vdump $imagedir/${casename}_max_height.png -width 100 -height $match