0027958: Visualization, AIS_Trihedron - add shaded presentation option
[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 vtexture b 3
22 vdump $imagedir/${casename}_3.png
23
24 vsetcolor b ANTIQUEWHITE
25 vdump $imagedir/${casename}_4.png