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 / I am having problems loading a .x model into dbpro......

Author
Message
BloodySaber
14
Years of Service
User Offline
Joined: 24th Aug 2011
Location:
Posted: 25th Aug 2011 00:20 Edited at: 25th Aug 2011 03:35
Hello, i am having problems loading a .x model (that I made in Milkshape) into dbpro. I made animation for it in milkshape and it was exported with the model in the .x file. Can anyone tell me what I am doing wrong.

Here is how the model looks in milkshape 3d :



Here is how it looks after I compile my code and run my program in dbpro:


Finally here is my code :




Any help would be greatly appreciated. I have no idea why it isnt working.

Thank you

[email protected]
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 25th Aug 2011 00:45
It could be down to how you export it - try checking out the settings shown in this thread: http://forum.thegamecreators.com/?m=forum_view&t=179118&b=3

DrReaper
23
Years of Service
User Offline
Joined: 5th Feb 2003
Location: United States
Posted: 3rd Sep 2011 20:41 Edited at: 3rd Sep 2011 20:42
I have had good luck exporting in the Direct X 8 format. You may want to try that. So far I have been able to use everything with animations.

Login to post a reply

Server time is: 2026-07-10 19:07:17
Your offset time is: 2026-07-10 19:07:17