md2 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. data/.document +5 -0
  2. data/.gitignore +26 -0
  3. data/LICENSE +20 -0
  4. data/README.rdoc +174 -0
  5. data/Rakefile +51 -0
  6. data/VERSION +1 -0
  7. data/bin/md2_to_json +33 -0
  8. data/ext/md2/extconf.rb +3 -0
  9. data/ext/md2/md2.c +95 -0
  10. data/lib/md2.rb +97 -0
  11. data/lib/md2/command.rb +63 -0
  12. data/lib/md2/errors.rb +13 -0
  13. data/lib/md2/frame.rb +61 -0
  14. data/lib/md2/header.rb +37 -0
  15. data/lib/md2/normals.rb +81 -0
  16. data/lib/md2/triangle.rb +9 -0
  17. data/lib/md2/vertex.rb +33 -0
  18. data/md2.gemspec +117 -0
  19. data/spec/lib/md2/frame_spec.rb +13 -0
  20. data/spec/lib/md2/header_spec.rb +21 -0
  21. data/spec/lib/md2_spec.rb +66 -0
  22. data/spec/spec_helper.rb +40 -0
  23. data/spec/support/crafty/Crafty.BMP +0 -0
  24. data/spec/support/crafty/Crafty.pcx +0 -0
  25. data/spec/support/crafty/Crafty.txt +113 -0
  26. data/spec/support/crafty/Weapon.md2 +0 -0
  27. data/spec/support/crafty/Weapon.pcx +0 -0
  28. data/spec/support/crafty/crafty.md2 +0 -0
  29. data/spec/support/laalaa/laalaa.md2 +0 -0
  30. data/spec/support/laalaa/laalaa24.BMP +0 -0
  31. data/spec/support/laalaa/laalaa8.BMP +0 -0
  32. data/spec/support/ogro/Ogro.txt +132 -0
  33. data/spec/support/ogro/Ogrobase.pcx +0 -0
  34. data/spec/support/ogro/Weapon.md2 +0 -0
  35. data/spec/support/ogro/Weapon.pcx +0 -0
  36. data/spec/support/ogro/ogro.md2 +0 -0
  37. data/spec/support/ogro/ogro.png +0 -0
  38. data/spec/support/pilot/CC_attribution_licence.txt +68 -0
  39. data/spec/support/pilot/GNU_licence.txt +340 -0
  40. data/spec/support/pilot/Readme.txt +30 -0
  41. data/spec/support/pilot/body.md2 +0 -0
  42. data/spec/support/pilot/body.obj +9331 -0
  43. data/spec/support/pilot/head.md2 +0 -0
  44. data/spec/support/pilot/head.obj +6145 -0
  45. data/spec/support/pilot/pilot.md2 +0 -0
  46. data/spec/support/pilot/pilot_body.3ds +0 -0
  47. data/spec/support/pilot/pilot_body.jpg +0 -0
  48. data/spec/support/pilot/pilot_body.obj +2264 -0
  49. data/spec/support/pilot/pilot_head.3ds +0 -0
  50. data/spec/support/pilot/pilot_head.jpg +0 -0
  51. data/spec/support/pilot/pilot_head.obj +1970 -0
  52. data/spec/support/pknight/pknight.BMP +0 -0
  53. data/spec/support/pknight/pknight.PCX +0 -0
  54. data/spec/support/pknight/pknight.md2 +0 -0
  55. data/spec/support/pknight/pknight_weapon.PCX +0 -0
  56. data/spec/support/pknight/pknight_weapon.bmp +0 -0
  57. data/spec/support/pknight/pknight_weapon.md2 +0 -0
  58. data/spec/support/sodf8/Abarlith.pcx +0 -0
  59. data/spec/support/sodf8/SFOD8.txt +108 -0
  60. data/spec/support/sodf8/Weapon.PCX +0 -0
  61. data/spec/support/sodf8/Weapon.md2 +0 -0
  62. data/spec/support/sodf8/sodf8.md2 +0 -0
  63. metadata +167 -0
@@ -0,0 +1,108 @@
1
+ 12-03-00 - metric
2
+
3
+ ***THIS MODEL IS NOT TO BE RATED OR REVIEWED*** (Just the skins) ***BUT NOT THE MODEL!!!****
4
+
5
+ ===========================================================================================
6
+
7
+ Model Name : SuperFlashOmegaDragon8 (SFOD8)
8
+
9
+ install dir : quake2/baseq2/players/SFOD8/
10
+
11
+ Authors : Burnt Kona, Crash, Firestarter, OgrO_FiX, Sgt. Science
12
+
13
+ Email : science@pathcom.com
14
+
15
+ Model Description : Gah. My nightmare. A project I started a long time ago and enlisted the help of some very
16
+ talented skinners to help me out. Things were going good, and I had high hopes for this
17
+ model, then I got distracted by some crap, like moving, left him to rot on my HD for ages.
18
+ Every time I came back to tweak him and finish it off, something fucked up. I can no
19
+ Longer edit the files cause of software version differences, the files are all over my HD,
20
+ and I can't even see him in Q2 since it doesn't like my new video card and won't load. The
21
+ last time I even saw this model was months ago. But I showed it to Firestarter cause I
22
+ felt like a flake, and he encouraged my to send it out anyways, and have faith that people
23
+ would look past his short comings. And even though the model has problems, you can still
24
+ check out the great skins, cause I owe the skinners that much at least. Read further to
25
+ see his problems.
26
+
27
+
28
+
29
+ Credits : FIRESTARTER! OgrO_FIX! BURNT KONA! CRASH!
30
+ Idsoftware
31
+ NST
32
+ Qtip
33
+
34
+ Thanks go out to : FIRESTARTER! OgrO_FIX! BURNT KONA! CRASH!
35
+ I gave them a nightmare of a skin map, and they all said "Ya! Painting on this segmented piece of
36
+ crap may be like having a rusty hook gouge my eyes out over a long period of time, but
37
+ hey! We love you Science! I'll do anything to skin your great model!" ok... they might
38
+ not have said that EXACTLY, but that's how I remember it, and I now that's how they were
39
+ feeling.
40
+ My sincerest apologies guys. You did great work.
41
+
42
+ (please don't kill me)
43
+ ===========================================================================================
44
+ * play Info *
45
+
46
+ New Sounds : I'm a flake, remember?
47
+
48
+ CTF Skins : I'm a flake, remember?
49
+
50
+ VWEP Support : I'm a flake, remember?
51
+
52
+ * Construction *
53
+
54
+ Poly Count:
55
+
56
+ Tris Weapon Total
57
+ 732 109 841
58
+
59
+
60
+
61
+ Vert Count:
62
+
63
+ Tris Weapon Total
64
+ 395 70 465
65
+
66
+
67
+
68
+
69
+ Skin Count : 4 DM
70
+ Reiger by Burnt Kona
71
+
72
+ Tengu by Firestarter
73
+
74
+ skin01cs by Crash
75
+
76
+ abarlith by OgrO_FiX
77
+
78
+
79
+
80
+
81
+ Editors Used :this model is crap! forget it! it doesn't count! Why do you care?
82
+
83
+ Other Rants:
84
+ on my failings:
85
+
86
+ 1. First! this started as a decent model! so construction and poly count are alright... still break
87
+ 800, but better than @'s count.
88
+
89
+ 2. Second! the big problems! If i remember right... uh... don't even bother looking at the wave
90
+ animation or you may go blind! really! and the sad part is, I was just messing with a new anim.
91
+ I had a fairly good flying spin kick in there before, and now I can't even change it back! It
92
+ could be a half decent model if not for that! dammit! and man... the crouch walk... *sigh* I was
93
+ doing some experimentation there too... I think the CRdeath is about 2 keyframes as well,,, 1
94
+ crouching at the first frame, then 1 dead at the last frame... *double sigh* The stand anim too..
95
+ it loops fairly poorly. I was editing that too, but thankfully I was almost done... I think the
96
+ only other problems are the pain anims 1 and 3... more experimentation, but pain 2 should be ok.
97
+
98
+ 3. this isn't really a problem since I took them out but... I even had like, 7 Vweps done, but they
99
+ would be floating all over the model trying to match animations that don't exist, So I got rid of
100
+ them. Man do I ever suck.
101
+
102
+ any questions, concerns, flames, send them my way... I don't know if the skinners want to be bothered, of if I
103
+ should put their addresses in here or not so.... if u have anything to say to them, just send it though me and
104
+ I'll pass it along
105
+
106
+ Jones, the Sergeant of Science
107
+
108
+ I REALLY hope these are the right files...
metadata ADDED
@@ -0,0 +1,167 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: md2
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 1
7
+ - 0
8
+ - 0
9
+ version: 1.0.0
10
+ platform: ruby
11
+ authors:
12
+ - Colin MacKenzie IV
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2010-10-28 00:00:00 -04:00
18
+ default_executable: md2_to_json
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: sizes
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 1
29
+ - 0
30
+ version: "1.0"
31
+ type: :runtime
32
+ version_requirements: *id001
33
+ - !ruby/object:Gem::Dependency
34
+ name: activesupport
35
+ prerelease: false
36
+ requirement: &id002 !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ segments:
41
+ - 2
42
+ - 3
43
+ - 5
44
+ version: 2.3.5
45
+ type: :runtime
46
+ version_requirements: *id002
47
+ - !ruby/object:Gem::Dependency
48
+ name: rspec
49
+ prerelease: false
50
+ requirement: &id003 !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ segments:
55
+ - 1
56
+ - 2
57
+ - 9
58
+ version: 1.2.9
59
+ type: :development
60
+ version_requirements: *id003
61
+ description: A Ruby library for loading MD2 3D model files.
62
+ email: sinisterchipmunk@gmail.com
63
+ executables:
64
+ - md2_to_json
65
+ extensions:
66
+ - ext/md2/extconf.rb
67
+ extra_rdoc_files:
68
+ - LICENSE
69
+ - README.rdoc
70
+ files:
71
+ - .document
72
+ - .gitignore
73
+ - LICENSE
74
+ - README.rdoc
75
+ - Rakefile
76
+ - VERSION
77
+ - bin/md2_to_json
78
+ - ext/md2/extconf.rb
79
+ - ext/md2/md2.c
80
+ - lib/md2.rb
81
+ - lib/md2/command.rb
82
+ - lib/md2/errors.rb
83
+ - lib/md2/frame.rb
84
+ - lib/md2/header.rb
85
+ - lib/md2/normals.rb
86
+ - lib/md2/triangle.rb
87
+ - lib/md2/vertex.rb
88
+ - md2.gemspec
89
+ - spec/lib/md2/frame_spec.rb
90
+ - spec/lib/md2/header_spec.rb
91
+ - spec/lib/md2_spec.rb
92
+ - spec/spec_helper.rb
93
+ - spec/support/crafty/Crafty.BMP
94
+ - spec/support/crafty/Crafty.pcx
95
+ - spec/support/crafty/Crafty.txt
96
+ - spec/support/crafty/Weapon.md2
97
+ - spec/support/crafty/Weapon.pcx
98
+ - spec/support/crafty/crafty.md2
99
+ - spec/support/laalaa/laalaa.md2
100
+ - spec/support/laalaa/laalaa24.BMP
101
+ - spec/support/laalaa/laalaa8.BMP
102
+ - spec/support/ogro/Ogro.txt
103
+ - spec/support/ogro/Ogrobase.pcx
104
+ - spec/support/ogro/Weapon.md2
105
+ - spec/support/ogro/Weapon.pcx
106
+ - spec/support/ogro/ogro.md2
107
+ - spec/support/ogro/ogro.png
108
+ - spec/support/pilot/CC_attribution_licence.txt
109
+ - spec/support/pilot/GNU_licence.txt
110
+ - spec/support/pilot/Readme.txt
111
+ - spec/support/pilot/body.md2
112
+ - spec/support/pilot/body.obj
113
+ - spec/support/pilot/head.md2
114
+ - spec/support/pilot/head.obj
115
+ - spec/support/pilot/pilot.md2
116
+ - spec/support/pilot/pilot_body.3ds
117
+ - spec/support/pilot/pilot_body.jpg
118
+ - spec/support/pilot/pilot_body.obj
119
+ - spec/support/pilot/pilot_head.3ds
120
+ - spec/support/pilot/pilot_head.jpg
121
+ - spec/support/pilot/pilot_head.obj
122
+ - spec/support/pknight/pknight.BMP
123
+ - spec/support/pknight/pknight.PCX
124
+ - spec/support/pknight/pknight.md2
125
+ - spec/support/pknight/pknight_weapon.PCX
126
+ - spec/support/pknight/pknight_weapon.bmp
127
+ - spec/support/pknight/pknight_weapon.md2
128
+ - spec/support/sodf8/Abarlith.pcx
129
+ - spec/support/sodf8/SFOD8.txt
130
+ - spec/support/sodf8/Weapon.PCX
131
+ - spec/support/sodf8/Weapon.md2
132
+ - spec/support/sodf8/sodf8.md2
133
+ has_rdoc: true
134
+ homepage: http://thoughtsincomputation.com
135
+ licenses: []
136
+
137
+ post_install_message:
138
+ rdoc_options:
139
+ - --charset=UTF-8
140
+ require_paths:
141
+ - lib
142
+ required_ruby_version: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - ">="
145
+ - !ruby/object:Gem::Version
146
+ segments:
147
+ - 0
148
+ version: "0"
149
+ required_rubygems_version: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - ">="
152
+ - !ruby/object:Gem::Version
153
+ segments:
154
+ - 0
155
+ version: "0"
156
+ requirements: []
157
+
158
+ rubyforge_project:
159
+ rubygems_version: 1.3.6
160
+ signing_key:
161
+ specification_version: 3
162
+ summary: A Ruby library for loading MD2 3D model files.
163
+ test_files:
164
+ - spec/lib/md2/frame_spec.rb
165
+ - spec/lib/md2/header_spec.rb
166
+ - spec/lib/md2_spec.rb
167
+ - spec/spec_helper.rb