0030969: Coding Rules - refactor Quantity_Color.cxx color table definition
[occt.git] / tests / bugs / vis / bug26434
1 puts "============"
2 puts "CR26434"
3 puts "============"
4 puts ""
5
6 ##########################################################################################
7 puts "Visualization - Textured objects should have priority over the environment mapping"
8 ##########################################################################################
9
10 pload MODELING VISUALIZATION
11
12 vclear
13 vclose all
14
15 vinit View1
16
17 vsetdispmode 1
18
19 box b0 -1 -1 -1 1 2 3
20 box b1 1 1 1 1 2 3
21
22 vdisplay b0 b1
23 vzbufftrihedron
24
25 vfit
26
27 vdump $imagedir/${casename}_0.png
28
29 vtexture b1 0
30
31 vdump $imagedir/${casename}_1.png
32
33 puts "Checking that texture have priority over the environment mapping"
34 vtextureenv on 0
35
36 vdump $imagedir/${casename}_2.png
37
38 vcaps -ffp 0
39 vmoveto 100 300
40 vmoveto 0 0
41
42 vdump $imagedir/${casename}_3.png