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 / Saving a Blitzterrain as a .x or .obj / Converting a .DBO to a .x or .obj

Author
Message
Flamertor
13
Years of Service
User Offline
Joined: 12th Oct 2011
Location:
Posted: 13th Apr 2013 15:12 Edited at: 13th Apr 2013 15:20
I've been searching the forums, downloading a lot of programs which have been suggested but it doesn't work. I've tried saving the mesh but the exe crashes half way through. I don't need the texture or anything just the terrain so I can position the buildings and stuff and get the cords from AC3D of the objects for the map instead of keep going in and out of dbpro programs and getting the cords.

I have saved it as a .dbo so if there's a way of converting it to a .x or a .obj then that would be just as good.

Edit:
If it helps the full scale from one end to the other is 245760x245760

Thanks
Brendy boy
19
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 13th Apr 2013 15:56
you will need to write your own x exporter or find an existing one.
You can't save to a mesh because it probably has to many polygons.
There'a limit of 22000 (I think) polys per mesh

Flamertor
13
Years of Service
User Offline
Joined: 12th Oct 2011
Location:
Posted: 13th Apr 2013 16:16
Okay thanks

Slight problem is I don't know how too
Chris Tate
DBPro Master
16
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 14th Apr 2013 13:50
Why do you need to save the terrain? What's the plan?

Flamertor
13
Years of Service
User Offline
Joined: 12th Oct 2011
Location:
Posted: 14th Apr 2013 13:56
My plan was to save the terrain and then load it up in AC3D and place where I want the buildings to be and copy the coordinates into dbpro but I worked around it by programming a editor in dbpro.
Sergey K
21
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 14th Apr 2013 14:11
my suggenstion, dont use .x format as your terrain. you must use Height Map to maximize your game fps and performance.

Advanced Updater for your games!
Flamertor
13
Years of Service
User Offline
Joined: 12th Oct 2011
Location:
Posted: 14th Apr 2013 14:36 Edited at: 14th Apr 2013 14:36
Ah good because I was thinking of using a .x instead; thinking it might be quicker so that got rid of testing that

Login to post a reply

Server time is: 2025-05-17 15:49:27
Your offset time is: 2025-05-17 15:49:27