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.

Newcomers DBPro Corner / animation in db!

Author
Message
kfoong
21
Years of Service
User Offline
Joined: 28th Jan 2003
Location: Australia
Posted: 12th Feb 2003 23:31
Is it possible to make an animation in db my loading still .3ds files?
--------
I HAVE NO IDEA HOW TO PROGRAM DARK BASIC!
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 13th Feb 2003 18:10
Yea, you can using the "set keyframe" and "rotate limb" commands. I posted a snippet or two about that in the Darkbasic Classic forum somewhere, although to find it you'll probably have to scroll back a few pages.

Whatever I did I didn't do it!
kfoong
21
Years of Service
User Offline
Joined: 28th Jan 2003
Location: Australia
Posted: 13th Feb 2003 22:52
im still new to db. how so i know what limb is which?

--------
I HAVE NO IDEA HOW TO PROGRAM DARK BASIC!
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 13th Feb 2003 23:48
Any easy way is to load the model untextured, paint it totally white, set a variable SelectedLimb, and paint the limb you want to animate a different colour, then change it back to white when you switch to another limb.

Whatever I did I didn't do it!
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 13th Feb 2003 23:50


This is an animator I made. It is made in DB Classic, but maybe it will help you.

Whatever I did I didn't do it!
kfoong
21
Years of Service
User Offline
Joined: 28th Jan 2003
Location: Australia
Posted: 15th Feb 2003 06:37
dont worry i only got dbc.

anyway how do i select the limbs?

--------
I HAVE SOME IDEA HOW TO PROGRAM DARK BASIC!
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 15th Feb 2003 17:30
Well, to rotate a limb you use
rotate limb LimbNumber, x, y, z
LimbNumber being the limb you want to rotate.
To select limbs you just change the value of LimbNumber, for example incrementing it using the + and - buttons.

Whatever I did I didn't do it!
kfoong
21
Years of Service
User Offline
Joined: 28th Jan 2003
Location: Australia
Posted: 15th Feb 2003 22:20
ok thanks

--------
I HAVE SOME IDEA HOW TO PROGRAM DARK BASIC!
kfoong
21
Years of Service
User Offline
Joined: 28th Jan 2003
Location: Australia
Posted: 15th Feb 2003 22:37
how do use the keyframer thingy?

--------
I HAVE SOME IDEA HOW TO PROGRAM DARK BASIC!
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 16th Feb 2003 22:44
I'm actually working on an improved version now, a few bug fixes and actually documented .
For now anyway, the keyframer works as follows. To enter the keyframer, you press F3, to return to the limb animator, press F2. In the keyframer, you can adjust the keyframe number with the + and - keys, and you can set a keyframe with the return key. Then, when you have all to the keyframes you want to set set, you press space and enter the name of the file you want to save the animation to, the extension .nm8 is automatically added. The problem here is, due to a programming error you cant see your own input , so you have to trust your typing skills, and look for the anim file after you're finished, to see its named correctly. Then, in the prog you want to use the animated model in, you just assign the animation to use it.
If there's any part of this you dont understand, feel free to ask

Whatever I did I didn't do it!
kfoong
21
Years of Service
User Offline
Joined: 28th Jan 2003
Location: Australia
Posted: 18th Feb 2003 23:33
please let me know when you finished the newer version

--------
I HAVE SOME IDEA HOW TO PROGRAM DARK BASIC!
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 21st Feb 2003 23:49
Ok, an updated and better documented version is now up in http://www.darkbasicpro.com/apollo/view.php?t=6296&b=6

Whatever I did I didn't do it!

Login to post a reply

Server time is: 2024-11-24 03:41:59
Your offset time is: 2024-11-24 03:41:59