0032886: Visualization, V3d_View - introduce interface for creating a subview
[occt.git] / tests / opengl / data / general / multiview3
1 puts "========"
2 puts "0032886: Visualization, V3d_View - introduce interface for creating a subview"
3 puts "V1/RootView + V2/View + V2/ThumbView at corner"
4 puts "========"
5
6 pload MODELING VISUALIZATION
7 vinit V1/RootView -width 380 -height 520
8 vbackground GRAY20
9
10 vinit V2/View -parent V1/RootView -width 1.0  -height 1.0
11 vbackground GRAY30
12 vaxo
13 vcamera -persp
14 box b 1 2 3
15 vdisplay -dispMode 1 b
16 vaspects b -faceBoundaryDraw 1
17 vfit
18 vzbufftrihedron
19
20 vinit V2/ThumbView -parent V1/RootView -width 0.25 -height 0.25 -corner bottomRight -top 10 -left 10
21 vbackground GRAY40
22 vaxo
23 vfit
24
25 vactivate V1/RootView
26 vdump $::imagedir/${::casename}.png
27
28 vactivate V2/View
29 vdump $::imagedir/${::casename}_view.png
30
31 vactivate V2/ThumbView
32 vdump $::imagedir/${::casename}_thumb.png