OpenCores
URL https://opencores.org/ocsvn/orsoc_graphics_accelerator/orsoc_graphics_accelerator/trunk

Subversion Repositories orsoc_graphics_accelerator

[/] [orsoc_graphics_accelerator/] [trunk/] [sw/] [examples/] [bare/] [humanoid_tri.obj.h] - Blame information for rev 6

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 5 maiden
/* Mesh definition */
2
 
3
#ifndef humanoid_tri_H
4
#define humanoid_tri_H
5
#include "orgfx_3d.h"
6
 
7
// Call this function to get an initialized mesh:
8
orgfx_mesh init_humanoid_tri_mesh();
9
 
10
unsigned int humanoid_tri_nverts = 64;
11
 
12
unsigned int humanoid_tri_nuvs   = 0;
13
 
14
unsigned int humanoid_tri_nfaces = 96;
15
 
16
orgfx_point3 humanoid_tri_verts[] = {
17
{3.25, -2.48, 14},
18
{3.25, -2.48, 9.01},
19
{3.25, 2.48, 9.01},
20
{3.25, 2.48, 14},
21
{0.773, -2.48, 14},
22
{0.773, -2.48, 9.01},
23
{0.773, 2.48, 14},
24
{0.773, 2.48, 9.01},
25
{3.47, -1.29, 17.4},
26
{3.47, -1.29, 15},
27
{3.47, 1.19, 15},
28
{3.47, 1.19, 17.4},
29
{0.601, -1.29, 17.4},
30
{0.601, -1.29, 15},
31
{0.601, 1.19, 17.4},
32
{0.601, 1.19, 15},
33
{3.15, -2.47, 8.01},
34
{3.15, -2.47, 3.05},
35
{3.15, -0.486, 3.05},
36
{3.15, -0.486, 8.01},
37
{0.892, -2.47, 8.01},
38
{0.892, -2.47, 3.05},
39
{0.892, -0.486, 8.01},
40
{0.892, -0.486, 3.05},
41
{3.23, -3.96, 14},
42
{3.23, -3.96, 9.01},
43
{3.23, -2.48, 9.01},
44
{3.23, -2.48, 14},
45
{0.747, -3.96, 14},
46
{0.747, -3.96, 9.01},
47
{0.747, -2.48, 14},
48
{0.747, -2.48, 9.01},
49
{3.27, 2.46, 14},
50
{3.27, 2.46, 9.01},
51
{3.27, 3.95, 9.01},
52
{3.27, 3.95, 14},
53
{0.795, 2.46, 14},
54
{0.795, 2.46, 9.01},
55
{0.795, 3.95, 14},
56
{0.795, 3.95, 9.01},
57
{2.49, -0.498, 15},
58
{2.49, -0.498, 14},
59
{2.49, 0.493, 14},
60
{2.49, 0.493, 15},
61
{1.5, -0.498, 15},
62
{1.5, -0.498, 14},
63
{1.5, 0.493, 15},
64
{1.5, 0.493, 14},
65
{3.25, -2.5, 9.01},
66
{3.25, -2.5, 8.01},
67
{3.25, 2.45, 8.01},
68
{3.25, 2.45, 9.01},
69
{0.771, -2.5, 9.01},
70
{0.771, -2.5, 8.01},
71
{0.771, 2.45, 9.01},
72
{0.771, 2.45, 8.01},
73
{3.27, 0.465, 8.01},
74
{3.27, 0.465, 3.05},
75
{3.27, 2.45, 3.05},
76
{3.27, 2.45, 8.01},
77
{0.795, 0.465, 8.01},
78
{0.795, 0.465, 3.05},
79
{0.795, 2.45, 8.01},
80
{0.795, 2.45, 3.05},
81
};
82
 
83
orgfx_point2 humanoid_tri_uvs[] = {
84
};
85
 
86
orgfx_face humanoid_tri_faces[] = {
87
{0u, 1u, 2u, -1u, -1u, -1u, 8980u, 58201u, 37328u},
88
{0u, 2u, 3u, -1u, -1u, -1u, 53236u, 43800u, 61045u},
89
{4u, 5u, 1u, -1u, -1u, -1u, 38939u, 2488u, 36985u},
90
{4u, 1u, 0u, -1u, -1u, -1u, 40099u, 58799u, 36028u},
91
{6u, 7u, 5u, -1u, -1u, -1u, 20835u, 57251u, 32048u},
92
{6u, 5u, 4u, -1u, -1u, -1u, 17514u, 61770u, 51633u},
93
{3u, 2u, 7u, -1u, -1u, -1u, 36434u, 23301u, 29276u},
94
{3u, 7u, 6u, -1u, -1u, -1u, 63151u, 55637u, 63539u},
95
{6u, 4u, 0u, -1u, -1u, -1u, 7176u, 40506u, 60863u},
96
{6u, 0u, 3u, -1u, -1u, -1u, 15365u, 49279u, 23371u},
97
{1u, 5u, 7u, -1u, -1u, -1u, 34548u, 28303u, 58740u},
98
{1u, 7u, 2u, -1u, -1u, -1u, 36149u, 11749u, 27358u},
99
{8u, 9u, 10u, -1u, -1u, -1u, 16917u, 15333u, 27143u},
100
{8u, 10u, 11u, -1u, -1u, -1u, 25812u, 49424u, 25675u},
101
{12u, 13u, 9u, -1u, -1u, -1u, 58208u, 34773u, 12589u},
102
{12u, 9u, 8u, -1u, -1u, -1u, 25784u, 22176u, 144u},
103
{14u, 15u, 13u, -1u, -1u, -1u, 11256u, 28428u, 3376u},
104
{14u, 13u, 12u, -1u, -1u, -1u, 36929u, 61295u, 60334u},
105
{11u, 10u, 15u, -1u, -1u, -1u, 40243u, 38u, 51937u},
106
{11u, 15u, 14u, -1u, -1u, -1u, 51939u, 21587u, 8080u},
107
{14u, 12u, 8u, -1u, -1u, -1u, 32740u, 64645u, 995u},
108
{14u, 8u, 11u, -1u, -1u, -1u, 31569u, 61478u, 34919u},
109
{9u, 13u, 15u, -1u, -1u, -1u, 48819u, 52542u, 59344u},
110
{9u, 15u, 10u, -1u, -1u, -1u, 32910u, 1134u, 9280u},
111
{16u, 17u, 18u, -1u, -1u, -1u, 21615u, 28765u, 2046u},
112
{16u, 18u, 19u, -1u, -1u, -1u, 13407u, 29274u, 2190u},
113
{20u, 21u, 17u, -1u, -1u, -1u, 1997u, 35824u, 64513u},
114
{20u, 17u, 16u, -1u, -1u, -1u, 27954u, 28644u, 60293u},
115
{22u, 23u, 21u, -1u, -1u, -1u, 56197u, 52566u, 49407u},
116
{22u, 21u, 20u, -1u, -1u, -1u, 39265u, 2464u, 32240u},
117
{19u, 18u, 23u, -1u, -1u, -1u, 64928u, 2325u, 42133u},
118
{19u, 23u, 22u, -1u, -1u, -1u, 52227u, 62161u, 8454u},
119
{22u, 20u, 16u, -1u, -1u, -1u, 55114u, 52239u, 56470u},
120
{22u, 16u, 19u, -1u, -1u, -1u, 57453u, 24676u, 26825u},
121
{17u, 21u, 23u, -1u, -1u, -1u, 5659u, 48203u, 54262u},
122
{17u, 23u, 18u, -1u, -1u, -1u, 23802u, 37783u, 57831u},
123
{24u, 25u, 26u, -1u, -1u, -1u, 24793u, 6139u, 33565u},
124
{24u, 26u, 27u, -1u, -1u, -1u, 44640u, 63224u, 52425u},
125
{28u, 29u, 25u, -1u, -1u, -1u, 11129u, 56941u, 45819u},
126
{28u, 25u, 24u, -1u, -1u, -1u, 29155u, 46342u, 34182u},
127
{30u, 31u, 29u, -1u, -1u, -1u, 22963u, 20236u, 22152u},
128
{30u, 29u, 28u, -1u, -1u, -1u, 5403u, 26185u, 13635u},
129
{27u, 26u, 31u, -1u, -1u, -1u, 39662u, 32406u, 37898u},
130
{27u, 31u, 30u, -1u, -1u, -1u, 51201u, 64263u, 38243u},
131
{30u, 28u, 24u, -1u, -1u, -1u, 65534u, 14514u, 7115u},
132
{30u, 24u, 27u, -1u, -1u, -1u, 25921u, 31308u, 62982u},
133
{25u, 29u, 31u, -1u, -1u, -1u, 43671u, 247u, 2243u},
134
{25u, 31u, 26u, -1u, -1u, -1u, 19865u, 27993u, 24379u},
135
{32u, 33u, 34u, -1u, -1u, -1u, 59402u, 19264u, 22313u},
136
{32u, 34u, 35u, -1u, -1u, -1u, 48865u, 62507u, 44079u},
137
{36u, 37u, 33u, -1u, -1u, -1u, 27794u, 34504u, 21021u},
138
{36u, 33u, 32u, -1u, -1u, -1u, 7386u, 62554u, 20136u},
139
{38u, 39u, 37u, -1u, -1u, -1u, 18788u, 38752u, 40721u},
140
{38u, 37u, 36u, -1u, -1u, -1u, 64610u, 30644u, 1007u},
141
{35u, 34u, 39u, -1u, -1u, -1u, 20087u, 14154u, 3835u},
142
{35u, 39u, 38u, -1u, -1u, -1u, 57686u, 9148u, 18522u},
143
{38u, 36u, 32u, -1u, -1u, -1u, 21846u, 56615u, 59558u},
144
{38u, 32u, 35u, -1u, -1u, -1u, 35061u, 2863u, 50412u},
145
{33u, 37u, 39u, -1u, -1u, -1u, 7496u, 64653u, 46524u},
146
{33u, 39u, 34u, -1u, -1u, -1u, 36893u, 27283u, 6471u},
147
{40u, 41u, 42u, -1u, -1u, -1u, 20682u, 36142u, 15771u},
148
{40u, 42u, 43u, -1u, -1u, -1u, 45998u, 7300u, 23638u},
149
{44u, 45u, 41u, -1u, -1u, -1u, 51660u, 44684u, 39383u},
150
{44u, 41u, 40u, -1u, -1u, -1u, 12956u, 30047u, 49588u},
151
{46u, 47u, 45u, -1u, -1u, -1u, 13162u, 2361u, 33291u},
152
{46u, 45u, 44u, -1u, -1u, -1u, 42236u, 23363u, 49342u},
153
{43u, 42u, 47u, -1u, -1u, -1u, 11653u, 59183u, 49828u},
154
{43u, 47u, 46u, -1u, -1u, -1u, 49355u, 25241u, 47870u},
155
{46u, 44u, 40u, -1u, -1u, -1u, 34566u, 56409u, 50983u},
156
{46u, 40u, 43u, -1u, -1u, -1u, 56618u, 52832u, 64893u},
157
{41u, 45u, 47u, -1u, -1u, -1u, 29576u, 39307u, 64693u},
158
{41u, 47u, 42u, -1u, -1u, -1u, 49761u, 46749u, 58734u},
159
{48u, 49u, 50u, -1u, -1u, -1u, 45931u, 59968u, 16601u},
160
{48u, 50u, 51u, -1u, -1u, -1u, 16559u, 11358u, 26948u},
161
{52u, 53u, 49u, -1u, -1u, -1u, 51479u, 30528u, 34042u},
162
{52u, 49u, 48u, -1u, -1u, -1u, 27696u, 57821u, 14663u},
163
{54u, 55u, 53u, -1u, -1u, -1u, 17226u, 3437u, 36574u},
164
{54u, 53u, 52u, -1u, -1u, -1u, 31299u, 39079u, 21604u},
165
{51u, 50u, 55u, -1u, -1u, -1u, 22648u, 13257u, 45808u},
166
{51u, 55u, 54u, -1u, -1u, -1u, 42197u, 57026u, 14167u},
167
{54u, 52u, 48u, -1u, -1u, -1u, 39859u, 36764u, 44191u},
168
{54u, 48u, 51u, -1u, -1u, -1u, 59216u, 2610u, 54241u},
169
{49u, 53u, 55u, -1u, -1u, -1u, 6540u, 40640u, 17851u},
170
{49u, 55u, 50u, -1u, -1u, -1u, 24408u, 7207u, 45190u},
171
{56u, 57u, 58u, -1u, -1u, -1u, 40408u, 38165u, 7550u},
172
{56u, 58u, 59u, -1u, -1u, -1u, 44045u, 46292u, 6575u},
173
{60u, 61u, 57u, -1u, -1u, -1u, 9190u, 65187u, 51060u},
174
{60u, 57u, 56u, -1u, -1u, -1u, 1302u, 12750u, 63074u},
175
{62u, 63u, 61u, -1u, -1u, -1u, 42840u, 38056u, 603u},
176
{62u, 61u, 60u, -1u, -1u, -1u, 41794u, 9298u, 21548u},
177
{59u, 58u, 63u, -1u, -1u, -1u, 29258u, 4703u, 52198u},
178
{59u, 63u, 62u, -1u, -1u, -1u, 15232u, 18589u, 3375u},
179
{62u, 60u, 56u, -1u, -1u, -1u, 21849u, 10886u, 17303u},
180
{62u, 56u, 59u, -1u, -1u, -1u, 54824u, 14769u, 35419u},
181
{57u, 61u, 63u, -1u, -1u, -1u, 34954u, 47704u, 50363u},
182
{57u, 63u, 58u, -1u, -1u, -1u, 44336u, 12197u, 61743u},
183
};
184
 
185
orgfx_mesh init_humanoid_tri_mesh()
186
{
187
  return orgfx3d_make_mesh(humanoid_tri_faces,
188
                           humanoid_tri_nfaces,
189
                           humanoid_tri_verts,
190
                           humanoid_tri_nverts,
191
                           humanoid_tri_uvs,
192
                           humanoid_tri_nuvs);
193
}
194
 
195
#endif // humanoid_tri_H

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.