www.xbdev.net xbdev - software development
Friday December 14, 2018
home | about | contact | Donations

     
 

3D File Formats

The bits and bytes...

 

Animating MD2 - ~Quake 2 File Format~
Author bkenwright@xbdev.net

For some people who are new to the principle of animation and key frames I'll have to just outline the very basics of how it all works, then you can expand on this and learn more.

p(t) = p(0) + t ( p1 - p0 )

 

t - The current time with 0 being the start and 1 being the end.

p(t) - The result of the equation with time t.

p0 - The starting position.

p1 - The ending position.

 

Now I want you to write this out on a piece of paper a 100 times... until you know it like the back on your hand, as this is how nearly all animating is done in games... there are a couple of fancier methods but they are very similar in principle to the above one.

num keys: 16
start:0 end:39 name:stand
start:40 end:45 name:run
start:46 end:53 name:attack
start:54 end:65 name:pain
start:66 end:71 name:jump
start:72 end:83 name:flip
start:84 end:94 name:salute
start:95 end:111 name:taunt
start:112 end:122 name:wave
start:123 end:134 name:point
start:135 end:153 name:crstnd
start:154 end:159 name:crwalk
start:160 end:168 name:crattack
start:169 end:172 name:crpain
start:173 end:177 name:crdeath
start:178 end:197 name:death

 

stand01
stand02
stand03
stand04
stand05
stand06
stand07
stand08
stand09
stand10
stand11
stand12
stand13
stand14
stand15
stand16
stand17
stand18
stand19
stand20
stand21
stand22
stand23
stand24
stand25
stand26
stand27
stand28
stand29
stand30
stand31
stand32
stand33
stand34
stand35
stand36
stand37
stand38
stand39
stand40
run1
run2
run3
run4
run5
run6
attack1
attack2
attack3
attack4
attack5
attack6
attack7
attack8
pain101
pain102
pain103
pain104
pain204
pain203
pain202
pain201
pain301
pain302
pain303
pain304
jump1
jump2
jump3
jump4
jump5
jump6
flip01
flip02
flip03
flip04
flip05
flip06
flip07
flip08
flip09
flip10
flip11
flip12
salute01
salute02
salute03
salute04
salute05
salute06
salute07
salute08
salute09
salute10
salute11
taunt01
taunt02
taunt03
taunt04
taunt05
taunt06
taunt07
taunt08
taunt09
taunt10
taunt11
taunt12
taunt13
taunt14
taunt15
taunt16
taunt17
wave01
wave03
wave04
wave05
wave06
wave07
wave08
wave09
wave10
wave11
wave12
point01
point02
point03
point04
point05
point06
point07
point08
point09
point10
point11
point12
crstnd01
crstnd02
crstnd03
crstnd04
crstnd05
crstnd06
crstnd07
crstnd08
crstnd09
crstnd10
crstnd11
crstnd12
crstnd13
crstnd14
crstnd15
crstnd16
crstnd17
crstnd18
crstnd19
crwalk1
crwalk2
crwalk3
crwalk4
crwalk5
crwalk6
crattack1
crattack2
crattack3
crattack4
crattack5
crattack6
crattack7
crattack8
crattack9
crpain1
crpain2
crpain3
crpain4
crdeath2
crdeath2
crdeath3
crdeath4
crdeath5
death11
death12
death13
death14
death15
death16
death21
death22
death23
death24
death25
death26
death31
death32
death33
death34
death35
death36
death37
death38

 
 Visitor: 9534626  { 209.237.238.175 } Copyright (c) 2002-2017 xbdev.net - All rights reserved.
Designated tutorial and software are the property of their respective owners.