0030182: Visualization, Image_AlienPixMap - support reading encoded image from memory...
[occt.git] / tests / bugs / vis / bug25475
CommitLineData
0b0320e7 1puts "============"
88b12b7c 2puts "0025475: Visualization, TKOpenGl - draw background using primitive arrays"
3puts "Tests textured background"
0b0320e7 4puts "============"
5puts ""
0b0320e7 6
7set aTextureFile [locate_data_file hatch_1.png]
0b0320e7 8
9pload VISUALIZATION
88b12b7c 10vinit View1
0b0320e7 11
12vsetbg $aTextureFile STRETCH
88b12b7c 13vdump $imagedir/${casename}_1.png
0b0320e7 14
15vsetbg $aTextureFile NONE
16vsetbg $aTextureFile TILED
88b12b7c 17vdump $imagedir/${casename}_2.png
0b0320e7 18
19vsetgradientbg 255 0 0 0 0 255 1
20vsetbg $aTextureFile CENTERED
88b12b7c 21vdump $imagedir/${casename}_3.png
0b0320e7 22
23vsetbg $aTextureFile NONE
88b12b7c 24vdump $imagedir/${casename}_4.png