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 / Need exporting animation data, and playing the loop code...

Author
Message
YAURAH
19
Years of Service
User Offline
Joined: 12th Apr 2007
Location: Everywhere
Posted: 4th Mar 2014 19:53 Edited at: 4th Mar 2014 19:55
To the Dark Basic Pro Community:

I haven't been programming for a while and I used to know how to play a loop of animation stored in a direct.x file that was imported into Dark Basic Pro from 3DStudio Max. The animation plays fine in max, but it's either the way I exported it (based on options of the exporter (Axe)(KW)or(Pandasoft), Or its a mistake in my coding...Any way the model and code are in the attachment. Ive just began this project, and I can't continue until I get the walk cycle to play when the user presses "w" key. If all else fails, I with try to physically animate the robot via limb rotations (which I know looks better and is more ideal for this project, but I am not as good at that style of programming).

ANY HELP IS GREATLY APPRECIATED...



BTW:Feel free to use the model any way you want(I am better at creating 3d models than I am with coding...)

C.S.J
UNITUS - Holy Scientific
2014


[email protected]

CSJ 7000
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 4th Mar 2014 21:16
Hi there. Long time that I don't use 3DMax, but I remember this problem with pandasoft. It export an animation with lots of keyframes for each keyframe,when we think that our object have 50 frames, pandasoft export more than 5000 keyframes,but we can help this just speeding up the animation.

Here's your revised code.



I'm not a grumpy grandpa
YAURAH
19
Years of Service
User Offline
Joined: 12th Apr 2007
Location: Everywhere
Posted: 4th Mar 2014 23:08
Wow, I had no idea that was the problem, But now it all makes sense. I am very grateful for your help Chafari. Ive been fiddling with the code for like 3 days now, I probably would have never figured it out on my own, now I can alter the robot objects frame count before exporting it to make it easier and more organized. Plus I can add limb movements to provide for more interactions...

Your help was truly a blessing...Thanks again Chafari!

BTW: I am more of a 3d model designer, so let me know if you ever need any particular models...

CSJ 7000

Login to post a reply

Server time is: 2026-07-06 04:28:21
Your offset time is: 2026-07-06 04:28:21