0032208: Tests - refactor visualization tests to cover several graphic drivers
[occt.git] / tests / opengl / data / shadows / double_precision
1 puts "========"
2 puts "0032129: Visualization, TKOpenGl - shadowmap is broken for ZLayer having non-zero origin"
3 puts "========"
4
5 pload MODELING VISUALIZATION
6 box b  0 0 1 100 200 300
7 box bb -500 -500 0 1000 1000 0 -preview
8 vinit View1
9 vrenderparams -shadingModel PHONG
10 vdisplay -dispMode 1 b bb
11 vaspects bb -material STONE
12 vfit
13 vlight -change 0 -castShadows 1 -head 0 -dir 1 1 -1
14 vdump $::imagedir/${::casename}_1.png
15 vzlayer DEFAULT -origin 200 0 0
16 vdump $::imagedir/${::casename}_2.png
17
18 vlocation b  -setLocation 1000000000 0 0
19 vlocation bb -setLocation 1000000000 0 0
20 vfit
21 vdump $::imagedir/${::casename}_3.png
22 vzlayer DEFAULT   -origin 1000000000 0 0
23 vdump $::imagedir/${::casename}_4.png