0029528: Visualization, TKOpenGl - allow defining sRGB textures
[occt.git] / tests / bugs / vis / bug23804
1 puts "============"
2 puts "CR23804"
3 puts "============"
4 puts ""
5
6 ############################################################
7 #  Unexpected color modulation during texture mapping
8 ############################################################
9
10 box b 100 100 100
11 vinit
12 vdisplay b
13 vfit
14 vsetdispmode b 1
15 vsetmaterial b plastic
16 vdump $imagedir/${casename}_1.png
17
18 vsetcolor b ANTIQUEWHITE
19 vdump $imagedir/${casename}_2.png
20
21 vunsetcolor b
22 vtexture b 3
23 vdump $imagedir/${casename}_3.png
24
25 vsetcolor b ANTIQUEWHITE
26 vdump $imagedir/${casename}_4.png