0027986: Visualization - AIS_InteractiveContext::SetLocation() does not update dynami...
[occt.git] / tests / bugs / vis / bug25276
CommitLineData
7d9e854b 1puts "============"
2puts "OCC25276"
3puts "============"
4puts ""
5#######################################################################
6# Visualization - Lighting is broken if some kinds of transformation applied to a shape
7#######################################################################
8
9pload ALL
10vinit
11box b1 1 6 1
12vsetdispmode 1
13vdisplay b1
14vconnectto b2 6 0 0 b1
15box b3 7 1 1
16vdisplay b3
17vloctranslate b3 0 4 0
18vconnect z 0 0 0 b1 b2 b3
19
20vconnect z1 0 0 0 z
21vloctranslate z1 10 0 0
22
23vconnect z2 0 10 0 z
24vlocrotate z2 0 0 0 1 0 0 90
25
26vconnect z3 -10 0 0 z
27vlocscale z3 0 0 0 0.5
28
29vconnect z4 0 0 0 z
30vlocmove z4 z3
31
32psphere sp 3
33vdisplay sp
34vlocmove sp z3
35vlocreset sp
36
37vlocmirror z 0 -0.5 0 0 1 0
38vfit
39
40vdump $imagedir/${casename}.png