Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Animation blending

Author
Message
Billj
22
Years of Service
User Offline
Joined: 20th Sep 2003
Location:
Posted: 23rd Sep 2003 00:26
Is it possible to blend animations like have certain limbs follow this animation and the others follow the other animation. This would be useful because lets say you have a running and a shooting animation, then if the person was running and shooting you could have the upper body use the shooting animation and the leggs and torso use the running animation.
Darclyte
23
Years of Service
User Offline
Joined: 13th Jun 2003
Location: Cydonia, Mars
Posted: 23rd Sep 2003 00:39
You could do it by splitting your model into 3 pieces. Like in Quake. ie: Head, Torso & Legs. That way you could easily run each components animation frames independantly, allowing running, shooting and looking all at once. Of course your model would no longer be a single mesh, but hey, we can't have everything can we.

The only other way I can think of doing it is to create all of those combinations in 1 file, but I guess thats what you're trying to avoid.

Strings are PChars ??????? What a World
M00NSHiNE
22
Years of Service
User Offline
Joined: 4th Aug 2003
Location: England, UK
Posted: 23rd Sep 2003 01:03
This is what I wanted. And what do you mean by avoiding it in 1 file?

"It's amazin' what you can do with a computer and access to t'internet"
Darclyte
23
Years of Service
User Offline
Joined: 13th Jun 2003
Location: Cydonia, Mars
Posted: 23rd Sep 2003 03:31 Edited at: 23rd Sep 2003 03:33
For example: If you have a single mesh model, you would need to create framesets for the following:

Stand&DontShoot&LookUP, Walk&DontShoot&LookUp, Run&DontShoot&LookUp
Stand&shoot&LookUp, Walk&shoot&LookUp, Run&shoot&LookUp
Stand&DontShoot&LookDown, Walk&DontShoot&LookDown, Run&DontShoot&LookDown
Stand&shoot&LookDown, Walk&shoot&LookDown, Run&shoot&LookDown

In other words, you'd need to animate every possible combination of movements all in one model file. The more possible actions you have, the more combinations you have to animate.

If you split your model into 3 different model files, you have less animation work to do, and could achieve the same result with just the following:

Head: LookUp, LookDown
Torso: DontShoot, Shoot
Legs: Stand, Walk, Run

All you have to do then in DB is keep them moving together and animate each section independently, depending on what combination of movements you want.

Strings are PChars ??????? What a World
M00NSHiNE
22
Years of Service
User Offline
Joined: 4th Aug 2003
Location: England, UK
Posted: 23rd Sep 2003 13:20
Thanks for that. Just on this subject, I started a thread about this in the 3d chat board called 'Help Quake 3 style models' and I got a good reply which sounded promising, but since
theres been no reply, I emailed the guy and no reply either.

"It's amazin' what you can do with a computer and access to t'internet"
M00NSHiNE
22
Years of Service
User Offline
Joined: 4th Aug 2003
Location: England, UK
Posted: 23rd Sep 2003 13:23
Posted: 14th Sep 2003 21:46

--------------------------------------------------------------------------------
If I were you i would make the model as one. Animate just the legs running, walking, strafing. animate the whole thing for falling over etc.

Then write a function in dbpro to move the limbs of the arms and head - ive done this and it doen't mess up or affect the animations you have pre made. This way you can move the aim of the character relative to mouse/other input movement.


Regards,
Dave Milton
Check out my games: Diode, Root, Binman & Skateboard Crazy

This was posted by Ravey, www.miltronec.com

"It's amazin' what you can do with a computer and access to t'internet"

Login to post a reply

Server time is: 2026-07-25 08:28:30
Your offset time is: 2026-07-25 08:28:30