root / trunk / libraries / libGPE-OSG / src / main / resources / box.osg @ 21503
History | View | Annotate | Download (1.46 KB)
1 |
Group { |
---|---|
2 |
name "box.3ds" |
3 |
nodeMask 0xffffffff |
4 |
cullingActive TRUE |
5 |
num_children 1 |
6 |
Geode { |
7 |
name "Cube" |
8 |
nodeMask 0xffffffff |
9 |
cullingActive TRUE |
10 |
num_drawables 1 |
11 |
Geometry { |
12 |
DataVariance STATIC |
13 |
StateSet { |
14 |
DataVariance STATIC |
15 |
rendering_hint DEFAULT_BIN |
16 |
renderBinMode INHERIT |
17 |
Material { |
18 |
ColorMode OFF |
19 |
ambientColor 0.4 0.4 0.4 1 |
20 |
diffuseColor 0.8 0.8 0.8 1 |
21 |
specularColor 0 0 0 0 |
22 |
emissionColor 0 0 0 1 |
23 |
shininess 0 |
24 |
} |
25 |
} |
26 |
useDisplayList TRUE |
27 |
useVertexBufferObjects FALSE |
28 |
PrimitiveSets 1 |
29 |
{ |
30 |
DrawElementsUShort TRIANGLES 36 |
31 |
{ |
32 |
0 1 2 0 2 3 4 5 6 4 |
33 |
6 7 0 4 7 0 7 1 1 7 |
34 |
6 1 6 2 2 6 5 2 5 3 |
35 |
4 0 3 4 3 5 |
36 |
} |
37 |
} |
38 |
VertexArray Vec3Array 8 |
39 |
{ |
40 |
1 1 -1 |
41 |
1 -1 -1 |
42 |
-1 -1 -1 |
43 |
-1 1 -1 |
44 |
1 0.999999 1 |
45 |
-1 1 1 |
46 |
-1 -1 1 |
47 |
0.999999 -1 1 |
48 |
|
49 |
} |
50 |
NormalBinding PER_VERTEX |
51 |
NormalArray Vec3Array 8 |
52 |
{ |
53 |
0.666667 0.333333 -0.666667 |
54 |
0.408248 -0.816497 -0.408248 |
55 |
-0.666667 -0.333333 -0.666667 |
56 |
-0.408248 0.816497 -0.408248 |
57 |
0.333333 0.666667 0.666667 |
58 |
-0.816496 0.408248 0.408248 |
59 |
-0.333334 -0.666667 0.666667 |
60 |
0.816496 -0.408249 0.408248 |
61 |
|
62 |
} |
63 |
ColorBinding OVERALL |
64 |
ColorArray Vec4ubArray 1 { |
65 |
255 255 255 255 |
66 |
} |
67 |
} |
68 |
} |
69 |
} |