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