changed: gcc8 base update
[opensg.git] / Source / Contrib / ComplexSceneManager / data / system.osg
blob481309dedc48080db45b98ccc4b800c0deb8762c
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 SolidBgGL SolidBackground
53     {
54       color 0.8 0.1 0.1
55     }
57     DEF PerspCamGL PerspectiveCamera
58     {
59       near   0.1
60       far    20000.0
61       fov    60.0
63       beacon USE CameraRoot
64     }
66   ]
68   drawManager DEF DrawManager CSMDrawManager
69   {
70     drawer
71     [
72       CSMDrawer
73       {
74         windows
75         [
76            DEF MainWindow CSMGLUTWindow
77            {
78              viewports
79              [
80                CSMViewport
81                {
82                  root       USE RootNode
83                  camera     USE PerspCamGL
84                  background USE SolidBgGL
86                  foregrounds
87                  [
88                  ]
89                }
90              ]
91            }
92         ]  
93       }
94     ]
95   }