repo.or.cz
/
opensg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fixed: gcc8 compile issues
[opensg.git]
/
Source
/
Contrib
/
ComplexSceneManager
/
data
/
system-native.osg
blob
f97e1a6c264d5ee81748a6c64edb69137ae038bb
1
#OSG V1.0
2
3
ComplexSceneManager
4
{
5
globals
6
[
7
DEF RootNode Node
8
{
9
core Group {}
10
11
children
12
[
13
DEF CameraRoot Node
14
{
15
core Transform {}
16
17
children
18
[
19
]
20
},
21
22
23
Node
24
{
25
core Group {}
26
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
}
51
52
DEF SolidBgGL SolidBackground
53
{
54
color 0.8 0.1 0.1
55
}
56
57
DEF PerspCamGL PerspectiveCamera
58
{
59
near 0.1
60
far 20000.0
61
fov 60.0
62
63
beacon USE CameraRoot
64
}
65
66
]
67
68
drawManager DEF DrawManager CSMDrawManager
69
{
70
drawer
71
[
72
CSMDrawer
73
{
74
windows
75
[
76
DEF MainWindow CSMNativeWindow
77
{
78
size 300 300
79
position 200, 200
80
decorEnabled TRUE
81
82
viewports
83
[
84
CSMViewport
85
{
86
root USE RootNode
87
camera USE PerspCamGL
88
background USE SolidBgGL
89
90
foregrounds
91
[
92
]
93
}
94
]
95
}
96
]
97
}
98
]
99
}
100
}