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