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 / Incompatibility between old DB Pro and current 3ds format?

Author
Message
pythagoras
16
Years of Service
User Offline
Joined: 3rd Jul 2010
Location: London, England
Posted: 3rd Jul 2010 14:35
Hello

I’ve searched the forum for another example of this specific topic and couldn’t find one so here goes:

I’ve been experiencing problems loading 3ds models purchased from external sources into my Dark Basic program. The program I’ve written compiles okay (but does tax the processor quite heavily – at approximately 100% usage – it’s a relatively old machine) and doesn’t load the models. Instead what I get is a black screen.

I’ve used the same code to load 3ds models from the Dark Matter model pack and the models from here work just fine.

Admittedly, I’m using an old version of Dark Basic Professional (version 1.05) but is this a simple issue of incompatibility between the latest version of the 3ds format and an old version of Dark Basic or is it something else?

Many thanks for any suggestions
The Viking
17
Years of Service
User Offline
Joined: 21st Oct 2008
Location: Asgard
Posted: 3rd Jul 2010 18:17
I have always had issues with 3ds files. Instead I just make .x files. BUT, since you purchased them, maybe you could stick them into a 3D modeling program and convert them into .x files instead. As far as I know, DBPro always had issues with 3ds files, I don't know if they were fixed or not though.

www.myspace.com/norseblod
=PRoF=
23
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 4th Jul 2010 12:27
the 3DS standard, it's not really standard anymore; there are lots of variations between programs that use it. As a result, DBP is not really supporting 3DS format any more.

Prefered formats are .X or .DBO

Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 5th Jul 2010 13:14
Quote: "Admittedly, I’m using an old version of Dark Basic Professional (version 1.05) but is this a simple issue of incompatibility between the latest version of the 3ds format and an old version of Dark Basic or is it something else?"


Why not upgrade and see if the problem goes away? Alternatively, upload or email a typical model and we can test it for you.
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 15th Jul 2010 23:23 Edited at: 16th Jul 2010 01:16
I'm testing your model now.

I've already tested it on my laptop (XP, DBPro version 7.4) and it loads fine using your code. However, it did take a long time to load (with a black screen while I waited) - but once loaded it was fine.

I'm now upgrading to the latest official upgrade (U7.5) and then I'll test it again. If I have time I'll test it on my Vista machine as well.

I'll report again when I have more news.

Did you wait long enough for the object to load?

Edit

I've just upgraded my laptop to U7.5 and your model loads fine although it took a long time. Here's the code I used followed by a screenshot:





Edit2

Your model loads much quicker if you save it as a .dbo file and load that instead.

Login to post a reply

Server time is: 2026-07-25 07:54:39
Your offset time is: 2026-07-25 07:54:39