2 puts "Texture 2D transformation (presentation trsf) on DDS texture"
5 set aTexture [locate_data_file bug31478_texture_trsf_ref_dxt3.dds]
7 pload MODELING VISUALIZATION
8 if { [vdriver -default] == "TKOpenGles" } {
9 puts "Skipping test case 'DDS texture': OpenGL ES does not support sRGB S3TC_DXT1 texture format"
16 for { set aPass 0 } { $aPass < 2 } { incr aPass } {
29 vinit View1 w=512 h=512
31 vdisplay -dispMode 1 b_6
34 vtexture b_6 $aTexture -modulate off
35 vdump $::imagedir/${::casename}_identity_${aSuffix}.png
37 vtexture b_6 $aTexture -trsfTranslate 0.0 0.0 -trsfScale 0.8 2.0 -trsfAngle 0
38 vdump $::imagedir/${::casename}_scale_${aSuffix}.png
40 vtexture b_6 $aTexture -trsfTranslate 0.25 -0.25 -trsfScale 1.0 1.0 -trsfAngle 0
41 vdump $::imagedir/${::casename}_translate_${aSuffix}.png
43 vtexture b_6 $aTexture -trsfTranslate 0.0 0.1 -trsfScale 1 1.1 -trsfAngle 30
44 vdump $::imagedir/${::casename}_rotate_${aSuffix}.png
46 vtexture b_6 $aTexture -trsfTranslate 0.25 -0.25 -trsfScale 1.1 0.8 -trsfAngle 0
47 vdump $::imagedir/${::casename}_${aSuffix}.png