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 / morphing frames for smoother transitions - can it be done?

Author
Message
the architect
23
Years of Service
User Offline
Joined: 6th Jan 2003
Location: United Kingdom
Posted: 8th Sep 2003 23:21
Is there any way that I can make a normal frame smoothly morph into another frame from inside db.

for example:
A model is running and gets shot. No matter what frame it was originally in it smoothly moves into a keyframe starting the death animation.

It's enough to make you wonder if your on the right planet!!! or
Get it straight! War breaks out and nobody shows up!!!
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 9th Sep 2003 02:20
It would be too slow and complicated - it would be best to use another program for doing that, and just read the animation frames.


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester
Ian T
23
Years of Service
User Offline
Joined: 12th Sep 2002
Location: Around
Posted: 9th Sep 2003 03:14
Set Object Interpolation should help, right?

--Mouse: Famous (Avatarless) Fighting Furball
Read It: http://www.angryflower.com/itsits.gif
Learn It: http://www.angryflower.com/bobsqu.gif
flibX0r
23
Years of Service
User Offline
Joined: 14th Feb 2003
Location: Western Australia
Posted: 9th Sep 2003 05:42
To do that kind of thing you either need to do a hell of a lot of animations and an animation target system, or change engine. I don't recommend the second one, but you must understand that the DBPro engine does not support dynamic animation of models, meaning that the bones or skinning or whatever that you used to do the animation in your model in not used by DBPro. DBPro only uses the vertex animation data, which what most people want.

But if you really need to have this kind of animation in your game you could either divide you model into separate objects and make some kind of program that you can animate the model in and save the animation as movements of the objects. Then in your program when you change animations you would just calculate the translation between each movement. This of course would hurt your brain and most probably would have so many bugs that it would resemble the planet from "Starship Troopers"

My advice is to do some kind of camera trickery or have each of you animation return to some kind of neutral position and only change animation when you are in this state, butthat won't work for getting shot animation, so i think you're kind of stuffed

When you think of it though, Counter-Strike and Quake 3 don't have dynamic animations and they are still some of the most popular games in the world

I can't do that.
The king of he potato people won't let me.
Current Project: "Jelly Wars : Episode 2" entry for alienware compo

Login to post a reply

Server time is: 2026-07-25 09:38:40
Your offset time is: 2026-07-25 09:38:40