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
changed: gcc8 base update
[opensg.git]
/
Source
/
Contrib
/
ComplexSceneManager
/
data
/
system.osg
blob
481309dedc48080db45b98ccc4b800c0deb8762c
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 CSMGLUTWindow
77
{
78
viewports
79
[
80
CSMViewport
81
{
82
root USE RootNode
83
camera USE PerspCamGL
84
background USE SolidBgGL
85
86
foregrounds
87
[
88
]
89
}
90
]
91
}
92
]
93
}
94
]
95
}
96
}