0032237: Visualization, TKOpenGl - fix Gouraud shading within perspective camera...
[occt.git] / tests / bugs / vis / bug28205_2
1 puts "================================================================================================="
2 puts "0028205: Visualization - add functionality for dumping results of detection algorithms into image"
3 puts "Selection image from colors of selection modes."
4 puts "================================================================================================="
5
6 pload MODELING VISUALIZATION
7 vclear
8 vinit View1
9 box b0 0 0 0 1 1 1
10 box b1 2 2 2 1 1 1
11 box b2 4 4 4 1 1 1
12 box b3 6 6 6 1 1 1
13
14 vdisplay -dispMode 1 b0 b1 b2 b3
15 vfit
16
17 vselmode b0 1 1
18 vselmode b0 2 1
19 vselmode b1 4 1
20 vselmode b2 2 1
21 vselmode b3 3 1
22
23 vseldump $imagedir/${casename}_selmode.png -type selectionModeColor
24 vdump $imagedir/${casename}.png