0031478: Visualization, TKOpenGl - allow uploading Cubemap in compressed DDS format...
[occt.git] / tests / v3d / glsl / cubemap_dds
1 puts "============"
2 puts "0031478: Visualization, TKOpenGl - allow uploading Cubemap in compressed DDS format when supported by GPU"
3 puts "============"
4 puts ""
5
6 set aCubeMapPNG [locate_data_file cubemap_labels.png]
7 set aCubeMapDDS [locate_data_file cubemap_labels.dds]
8
9 box b 1 2 3
10 psphere s 1
11
12 vclear
13 vinit View1 -w 512 -h 512
14 vcamera -fovy 100
15 vzbufftrihedron
16 #vdisplay -dispMode 1 b
17 vdisplay -dispMode 1 s
18 vfit
19
20 vrenderparams -shadingModel pbr
21 vbackground -cubemap $aCubeMapPNG -invertedz
22 vdump $imagedir/${casename}_png.png
23
24 vbackground -cubemap $aCubeMapDDS -invertedz
25 vdump $imagedir/${casename}_dds.png