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 / Trouble with x files

Author
Message
arlo3d
17
Years of Service
User Offline
Joined: 23rd Sep 2007
Location:
Posted: 5th Oct 2007 09:53
After much work and heartache I've managed to export an x file from Blender with animation. The file loads and runs perfectly in the viewer that comes with the direct x 9 sdk. I used the first 3d example program that comes with dark basic to load and play the model. It stalls on line 17 saying the model won't animate. The model viewer that comes with dark basic just crashes. I am new to dark basic. Can you help me?
Latch
18
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 5th Oct 2007 14:49
@arlo3d

Hi arlo3d. When I started using DarkBASIC Classic (DBC), I wanted to use Blender. The X export that came with it was for DirectX 8.1 and above and DBC uses direct x 7. So I wrote my own export with animation. The animation that DBC uses does not use bone meshing - so no skeletons. It uses articulated structure animation. That means you have a series of meshes that you relate to one another as parents and children. You then position and rotate these whole meshes and record the key frames for the animation.

I haven't updated my export script pretty much since I wrote it, nor have I updated the website I put up originally, but the script should still be there. The docs are there too so you'll want to look at them to understand how the script is used. Someone wrote me a while back with a texture correction - I'll have to review that and add it. Right now I think in certain circumstances, the texture will be upside down.

http://www.anzwers.org/free/blenderdbc/

Enjoy your day.

Login to post a reply

Server time is: 2025-05-31 21:06:07
Your offset time is: 2025-05-31 21:06:07