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 Discussion / making people like half life 1

Author
Message
Gordon 1000
20
Years of Service
User Offline
Joined: 30th May 2004
Location:
Posted: 21st Sep 2004 11:33
Hi um I was wondering if there's a way to take multiple model poses and put into one model file
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 21st Sep 2004 11:58
depending on your version of Dark Basic (Standard / Enhanced) and your understanding of certain 3D aspects.
yes it is possible to create a skeletal animation system similar to Half-Life models.

The easiest way is to basically export the bone information, but have it only affect a single limb (using limbed model of-course).
Then you could use that data file as an animation .dat file, this i would suggest you read up on in the manual.

Unfortunately they took this out of Dark Basic Pro which is sad, because it did make things alot simpler in terms of animation for the end-user/developer.

Basically though it is just a list of positions and such for your limbs, that way you can have a single .dat file for each animation you wish to perform.

if i remember correctly what you can also do is specify each limb affected by number, so you can load up 1/2 animations and set the limbs for that frame then move on.

using the Enhanced version of Dark Basic though, you can have fun with Memblock Mesh. it comes out a little slower, but you can effectively make your own skeleton format which you can then use to affect given mesh that way.

if i find the time, i will dig out some old examples i was given by Bryce (a v.old db user) which show how to do both methods effectively. however time for me right now isn't exactly a luxury to waste, so don't hold your breath.


blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 22nd Sep 2004 05:14
I've never heard of a .dat file before. (in this context)

Is there some secret built-in commands in DarkBasic or something?

I thought animation data was stored inside the model file, and you could have loads of people in one model file and just use 'hide limb' and 'show limb'

ok, ill go now..

[img src=http://blanky.pt-web.net/ddd.gif] >::p
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 22nd Sep 2004 14:51
You use .dat files with APPEND OBJECT. You can get a .dat file by using DBC's SET KEYFRAME command.

Crazy Donut Productions, Current Project: Project Starbuks
Sony stole our name!

Login to post a reply

Server time is: 2025-05-25 16:11:46
Your offset time is: 2025-05-25 16:11:46