File: cube.osgt

package info (click to toggle)
opensurgsim 0.7.0-11
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 23,744 kB
  • sloc: cpp: 135,363; ansic: 4,206; python: 3,934; makefile: 38
file content (162 lines) | stat: -rw-r--r-- 4,401 bytes parent folder | download | duplicates (3)
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
#Ascii Scene 
#Version 100 
#Generator OpenSceneGraph 3.2.1 

osg::Group {
  UniqueID 1 
  Name "cube.obj" 
  Children 1 {
    osg::Geode {
      UniqueID 2 
      Name "Cube" 
      Drawables 1 {
        osg::Geometry {
          UniqueID 3 
          DataVariance STATIC 
          StateSet TRUE {
            osg::StateSet {
              UniqueID 4 
              DataVariance STATIC 
              AttributeList 1 {
                osg::Material {
                  UniqueID 5 
                  Name "Material" 
                  Ambient TRUE Front 0 0 0 1 Back 0 0 0 1 
                  Diffuse TRUE Front 0.64 0.64 0.64 1 Back 0.64 0.64 0.64 1 
                  Specular TRUE Front 0.5 0.5 0.5 1 Back 0.5 0.5 0.5 1 
                  Emission TRUE Front 0 0 0 1 Back 0 0 0 1 
                  Shininess TRUE Front 12.288 Back 12.288 
                }
                Value OFF 
              }
            }
          }
          PrimitiveSetList 6 {
            DrawElementsUShort GL_TRIANGLE_STRIP 0 4 {
              1 2 0 3 
            }
            DrawElementsUShort GL_TRIANGLE_STRIP 0 4 {
              7 4 6 5 
            }
            DrawElementsUShort GL_TRIANGLE_STRIP 0 4 {
              23 20 22 21 
            }
            DrawElementsUShort GL_TRIANGLE_STRIP 0 4 {
              19 16 18 17 
            }
            DrawElementsUShort GL_TRIANGLE_STRIP 0 4 {
              13 14 12 15 
            }
            DrawElementsUShort GL_TRIANGLE_STRIP 0 4 {
              9 10 8 11 
            }
            
          }
          VertexData {
            Array TRUE ArrayID 1 Vec3fArray 24 {
              0.1 0.1 -0.1 
              0.1 -0.1 -0.1 
              -0.1 -0.1 -0.1 
              -0.1 0.1 -0.1 
              0.1 0.0999999 0.1 
              -0.1 0.1 0.1 
              -0.1 -0.1 0.1 
              0.0999999 -0.1 0.1 
              0.1 0.1 -0.1 
              0.1 0.0999999 0.1 
              0.0999999 -0.1 0.1 
              0.1 -0.1 -0.1 
              0.1 -0.1 -0.1 
              0.0999999 -0.1 0.1 
              -0.1 -0.1 0.1 
              -0.1 -0.1 -0.1 
              -0.1 -0.1 -0.1 
              -0.1 -0.1 0.1 
              -0.1 0.1 0.1 
              -0.1 0.1 -0.1 
              0.1 0.0999999 0.1 
              0.1 0.1 -0.1 
              -0.1 0.1 -0.1 
              -0.1 0.1 0.1 
            }
            Indices FALSE 
            Binding BIND_PER_VERTEX 
            Normalize 0 
          }
          NormalData {
            Array TRUE ArrayID 2 Vec3fArray 24 {
              0 -0 -1 
              0 -0 -1 
              0 -0 -1 
              0 -0 -1 
              0 -0 1 
              0 -0 1 
              0 -0 1 
              0 -0 1 
              1 -0 0 
              1 -0 0 
              1 -0 0 
              1 -0 0 
              -0 -1 -0 
              -0 -1 -0 
              -0 -1 -0 
              -0 -1 -0 
              -1 0 -0 
              -1 0 -0 
              -1 0 -0 
              -1 0 -0 
              0 1 0 
              0 1 0 
              0 1 0 
              0 1 0 
            }
            Indices FALSE 
            Binding BIND_PER_VERTEX 
            Normalize 0 
          }
          ColorData {
            Array TRUE ArrayID 3 Vec4fArray 1 {
              1 1 1 1 
            }
            Indices FALSE 
            Binding BIND_OVERALL 
            Normalize 0 
          }
          TexCoordData 1 {
            Data {
              Array TRUE ArrayID 4 Vec2fArray 24 {
                0.9999 0.9999 
                0.0001 0.9999 
                0.0001 0.0001 
                0.9999 0.0001 
                0.9999 0.9999 
                0.0001 0.9999 
                0.0001 0.0001 
                0.9999 0.0001 
                0.9999 0.0001 
                0.9999 0.9999 
                0.0001 0.9999 
                0.0001 0.0001 
                0.9999 0.0001 
                0.9999 0.9999 
                0.0001 0.9999 
                0.0001 0.0001 
                0.0001 0.9999 
                0.0001 0.0001 
                0.9999 0.0001 
                0.9999 0.9999 
                0.9999 0.0001 
                0.9999 0.9999 
                0.0001 0.9999 
                0.0001 0.0001 
              }
              Indices FALSE 
              Binding BIND_PER_VERTEX 
              Normalize 0 
            }
          }
        }
      }
    }
  }
}