2 puts "Rendering resolution scale factor"
6 catch { set aFontFile [locate_data_file DejaVuSans.ttf] }
8 pload MODELING VISUALIZATION
10 set aLabelFont "Arial"
11 if { "$aFontFile" != "" } {
12 vfont add "$aFontFile" SansFont
13 set aLabelFont "SansFont"
23 vdrawtext t Text2d -font $aLabelFont
25 vdisplay -trsfPers zoom -trsfPersPos 1 0 0 tt
26 text2brep ttl "Top-Left" -font $aLabelFont -height 30 -pos 0 -30 0
27 vdisplay ttl -2d topLeft -dispMode 1
30 vrenderparams -rendScale 1
31 vdump $::imagedir/${::casename}_100.png
33 vrenderparams -rendScale 0.5
34 vdump $::imagedir/${::casename}_050.png
36 vrenderparams -rendScale 0.75
37 vdump $::imagedir/${::casename}_075.png
39 vrenderparams -rendScale 2
40 vdump $::imagedir/${::casename}_200.png