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