forked from gwaldron/osgearth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathred_flag.osg
193 lines (193 loc) · 4.65 KB
/
red_flag.osg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
Group {
name "db"
nodeMask 0xffffffff
cullingActive TRUE
num_children 1
Group {
name "Default"
nodeMask 0xffffffff
cullingActive TRUE
num_children 2
Geode {
DataVariance STATIC
name "p21"
nodeMask 0xffffffff
cullingActive TRUE
StateSet {
DataVariance STATIC
rendering_hint DEFAULT_BIN
renderBinMode INHERIT
GL_CULL_FACE ON
GL_LIGHTING ON
Material {
ColorMode OFF
ambientColor 1 1 1 1
diffuseColor 1 1 1 1
specularColor 0 0 0 1
emissionColor 0 0 0 1
shininess 0
}
CullFace {
UniqueID CullFace_0
mode BACK
}
}
num_drawables 1
Geometry {
DataVariance STATIC
useDisplayList TRUE
useVertexBufferObjects FALSE
PrimitiveSets 2
{
DrawArrays QUADS 0 32
DrawElementsUByte TRIANGLE_FAN 8
{
32 33 34 35 36 37 38 39
}
}
VertexArray Vec3Array 40
{
-0.0353553 -0.0353553 0
-0.0353553 -0.0353553 1
-0.05 0 1
-0.05 0 0
-3.06152e-018 -0.05 0
-3.06152e-018 -0.05 1
-0.0353553 -0.0353553 1
-0.0353553 -0.0353553 0
0.0353553 -0.0353553 0
0.0353553 -0.0353553 1
-3.06152e-018 -0.05 1
-3.06152e-018 -0.05 0
0.05 -6.12303e-018 0
0.05 -6.12303e-018 1
0.0353553 -0.0353553 1
0.0353553 -0.0353553 0
0.0353553 0.0353553 0
0.0353553 0.0353553 1
0.05 -6.12303e-018 1
0.05 -6.12303e-018 0
9.18455e-018 0.05 0
9.18455e-018 0.05 1
0.0353553 0.0353553 1
0.0353553 0.0353553 0
-0.0353553 0.0353553 0
-0.0353553 0.0353553 1
9.18455e-018 0.05 1
9.18455e-018 0.05 0
-0.05 0 0
-0.05 0 1
-0.0353553 0.0353553 1
-0.0353553 0.0353553 0
-0.05 0 1
-0.0353553 -0.0353553 1
-3.06152e-018 -0.05 1
0.0353553 -0.0353553 1
0.05 -6.12303e-018 1
0.0353553 0.0353553 1
9.18455e-018 0.05 1
-0.0353553 0.0353553 1
}
NormalBinding PER_VERTEX
NormalArray Vec3Array 40
{
-0.92388 -0.382683 -0
-0.92388 -0.382683 -0
-0.92388 -0.382683 -0
-0.92388 -0.382683 -0
-0.382683 -0.92388 -0
-0.382683 -0.92388 -0
-0.382683 -0.92388 -0
-0.382683 -0.92388 -0
0.382683 -0.92388 0
0.382683 -0.92388 0
0.382683 -0.92388 0
0.382683 -0.92388 0
0.92388 -0.382683 0
0.92388 -0.382683 0
0.92388 -0.382683 0
0.92388 -0.382683 0
0.92388 0.382683 0
0.92388 0.382683 0
0.92388 0.382683 0
0.92388 0.382683 0
0.382683 0.92388 0
0.382683 0.92388 0
0.382683 0.92388 0
0.382683 0.92388 0
-0.382683 0.92388 0
-0.382683 0.92388 0
-0.382683 0.92388 0
-0.382683 0.92388 0
-0.92388 0.382683 0
-0.92388 0.382683 0
-0.92388 0.382683 0
-0.92388 0.382683 0
0 -0 1
0 -0 1
0 -0 1
0 -0 1
0 -0 1
0 -0 1
0 -0 1
0 -0 1
}
ColorBinding OVERALL
ColorArray Vec4Array 1
{
1 1 1 1
}
}
}
Geode {
DataVariance STATIC
name "p31"
nodeMask 0xffffffff
cullingActive TRUE
StateSet {
UniqueID StateSet_1
DataVariance STATIC
rendering_hint DEFAULT_BIN
renderBinMode INHERIT
GL_CULL_FACE OFF
GL_LIGHTING ON
Material {
ColorMode OFF
ambientColor 1 0 0 1
diffuseColor 1 0 0 1
specularColor 0 0 0 1
emissionColor 0 0 0 1
shininess 0
}
}
num_drawables 1
Geometry {
DataVariance STATIC
useDisplayList TRUE
useVertexBufferObjects FALSE
PrimitiveSets 1
{
DrawArrays TRIANGLES 0 3
}
VertexArray Vec3Array 3
{
0.05 -6.12303e-018 0.80159
0.3 0 0.9
0.05 -6.12303e-018 1
}
NormalBinding PER_VERTEX
NormalArray Vec3Array 3
{
2.44921e-017 -1 0
2.44921e-017 -1 0
2.44921e-017 -1 0
}
ColorBinding OVERALL
ColorArray Vec4Array 1
{
1 0 0 1
}
}
}
}
}