fixed: osx without qt build
[opensg.git] / Examples / CSM / Common / system-native-cluster-sortfirst.osg
blobcff5863eba944932039e1fdc8b290817bc79ac1f
1 #OSG V1.0 
3 ComplexSceneManager
5   globals
6   [
7     DEF RootNode Node
8     { 
9       core Group {}
11       children
12       [ 
13         DEF CameraRoot Node
14         {
15           core Transform {}
17           children 
18           [ 
19           ]
20         },
23         Node 
24         {
25           core Group {}
27           children
28           [
29             DEF ZLight Node
30             {
31               core DirectionalLight
32               {
33                 ambient    0.24 0.24 0.24 1.0
34                 diffuse    0.80 0.80 0.80 1.0
35                 direction  0.0 0.0 1.0
36                 on         TRUE
37                 beacon     USE CameraRoot
38               }
39               children
40               [
41                 DEF ModelRoot Node
42                 {
43                   core Group {}
44                 }
45               ]
46             }
47           ]
48         }
49       ] 
50     }
52     DEF PerspCamGL CSMPerspectiveCamera
53     {
54       near   0.1
55       far    20000.0
56       fov    60.0
58       beacon USE CameraRoot
59     }
61   ]
63   drawManager DEF DrawManager CSMDrawManager
64   {
65     drawer
66     [
67       CSMDrawer
68       {
69         windows
70         [
71            CSMClusterWindow
72            {
73              clientWindow DEF MainWindow CSMGLUTWindow
74              {
75                size 300 300
76                position 200, 200
77                decorEnabled TRUE
78              }
80              servers    ["tile-0-0", "tile-1-0"]
81              serverRows 1
83              connectionType "Multicast"
84              clusterMode    "SortFirst"
86              options CSMSortFirstWinOptions     
87              {
88                compose TRUE
89              }
91              size 600 300
93              viewports
94              [
95                CSMViewport
96                {
97                  root       USE RootNode
98                  camera     USE PerspCamGL
99                  background USE BGnd
101                  foregrounds
102                  [
103                  ]
104                }
105              ]
106            }
107         ]  
108       }
109     ]
110   }